Search found 1473 matches
- Sun Mar 26, 2023 10:44 pm
- Forum: Wiki Announcements
- Topic: New article: Interrupt Context Saving
- Replies: 0
- Views: 28914
New article: Interrupt Context Saving
There's a new wiki article on Interrupt Context Saving in an ISR where I go into depth on the subject.
- Sun Mar 26, 2023 10:41 pm
- Forum: Compiler
- Topic: Interrupts and variable saving
- Replies: 13
- Views: 12253
Re: Interrupts and variable saving
I finally got around to writing something up.
See the wiki article on Interrupt context saving
I think I may try my hand at developing an app to aid in all this, sort of an "ISR Adivsor" tool...
See the wiki article on Interrupt context saving
I think I may try my hand at developing an app to aid in all this, sort of an "ISR Adivsor" tool...
- Fri Mar 24, 2023 10:02 pm
- Forum: Announcements
- Topic: Swordfish ICC V1.2.1.0, Library and Device File Update 3_1_2023 for Swordfish 2.2.3.8
- Replies: 1
- Views: 1743
Re: Swordfish ICC V1.2.1.0, Library and Device File Update 3_1_2023 for Swordfish 2.2.3.8
NOTE: to anyone who downloaded the update prior to today (Mar 24), the zip file for the full version contained the wrong update... it was for the SE version. I have updated the links. It should now download sf_update_3_1_2023b.zip, which contains the proper update file for the full version SF_UPDATE...
- Thu Mar 23, 2023 5:27 pm
- Forum: General
- Topic: Programmer for 18FxxQxx parts
- Replies: 12
- Views: 3325
Re: Programmer for 18FxxQxx parts
You have to have a "clock =" statement so that the compiler knows what freq you're running at, otherwise it assumes 20MHz. Intosc.bas will use the "clock=' and do all the setup and config to match. As long as you don't have the config statements after the "include intosc.bas", it can override any co...
- Thu Mar 23, 2023 11:26 am
- Forum: General
- Topic: Programmer for 18FxxQxx parts
- Replies: 12
- Views: 3325
Re: Programmer for 18FxxQxx parts
I have another idea... Try and resize the "Setting" column. If you hover the mouse cursor in the top line between "Setting" and just before "Description", you should get a resize control that you can drag to the right and make the "Setting" column larger. Maybe that'll help it show all 8 entries. If...
- Thu Mar 23, 2023 10:57 am
- Forum: General
- Topic: Programmer for 18FxxQxx parts
- Replies: 12
- Views: 3325
Re: Programmer for 18FxxQxx parts
That's odd. There should be 8 entries in that list box... it looks like the program isn't populating that control correctly (it's a third-party add-on control, and I've seen issues with it before). Of course, it works ok for me. Just to make sure everything's ok with the asm database file, edit your...
- Wed Mar 22, 2023 11:24 pm
- Forum: General
- Topic: Programmer for 18FxxQxx parts
- Replies: 12
- Views: 3325
Re: Programmer for 18FxxQxx parts
If you open up the listbox (click the down arrow), you should see there are 2 entries for the RSTOSC HFINTOSC selection... 64MHz and 1MHz
You're showing the FEXTOSC settings, not the RSTOSC settings in the datasheet.
If you're using the intosc then set FEXTOSC OFF
You're showing the FEXTOSC settings, not the RSTOSC settings in the datasheet.
If you're using the intosc then set FEXTOSC OFF
- Wed Mar 22, 2023 8:58 pm
- Forum: General
- Topic: Programmer for 18FxxQxx parts
- Replies: 12
- Views: 3325
Re: Programmer for 18FxxQxx parts
For instance, MCLRE(MCLRE) = [EXTMCLR, INTMCLR], is one of the options. How can I change this? That section in the device include file shows all the possible settings for each of the config registers for that device. You can add your settings to your main program .bas file. When you compile it'll p...
- Fri Mar 10, 2023 4:53 pm
- Forum: General
- Topic: Programmer for 18FxxQxx parts
- Replies: 12
- Views: 3325
Re: Programmer for 18FxxQxx parts
A pickit2 or pickit3 clone along with the pickitminus software would work. There's also the NSDSP-2-X from Northern Software, which has its own programming utilities. The Microchip pickit4 or Snap is an option, but those require MPLABX so it's hard to recommend them. The nice thing about those (if y...
- Sat Mar 04, 2023 2:27 pm
- Forum: Compiler
- Topic: **IMPORTANT** Optimizations in v2.2.3.8
- Replies: 4
- Views: 1706
Re: **IMPORTANT** Optimizations in v2.2.3.8
This issue has been addressed in the latest ICC v1.2.1.0 included in SF UPDATE 3_1_2023
It rolls back the 'bit test' optimizations to match previous ICC v1.2.0.8
It rolls back the 'bit test' optimizations to match previous ICC v1.2.0.8
- Sat Mar 04, 2023 2:22 pm
- Forum: Modules
- Topic: SD Card, PPS and the 18f26K40
- Replies: 17
- Views: 10254
Re: SD Card, PPS and the 18f26K40
just to follow up... SDFileSystem (SDFS) 4.1.9 is included in the latest SF UPDATE 3_1_2023, so no need to download the 418 zip file
See using SDFileSystem with PPS (18FxxQ71 example) for details.
See using SDFileSystem with PPS (18FxxQ71 example) for details.
- Sat Mar 04, 2023 2:06 pm
- Forum: Modules
- Topic: using SDFileSystem with PPS (18FxxQ71 example)
- Replies: 0
- Views: 10451
using SDFileSystem with PPS (18FxxQ71 example)
SDFileSystem (SDFS) 4.1.9 now includes a feature to help support devices which use PPS to map the SPI peripheral. Usually for most modules you can map PPS settings outside of the module in your main program. However, for the SDFileSystem this poses a problem. To initialize the SD card, the SD.Init()...
- Fri Mar 03, 2023 4:43 pm
- Forum: Announcements
- Topic: Swordfish ICC V1.2.1.0, Library and Device File Update 3_1_2023 for Swordfish 2.2.3.8
- Replies: 1
- Views: 1743
Swordfish ICC V1.2.1.0, Library and Device File Update 3_1_2023 for Swordfish 2.2.3.8
This update for SF V2.2.3.8 has various compiler, device file, and library updates including: ICC V1.2.1.0 - rollback default setting for 'optimize bit test' change made in ICC v1209 to match v1208 setting (sb_tgoto=0)...was causing bank select issues - bugfix: byte = -byte, where src == dest ignore...
- Mon Feb 27, 2023 2:34 pm
- Forum: User Modules
- Topic: arduino millis() and micros() functions
- Replies: 2
- Views: 1723
arduino millis() and micros() functions
I did a port of the arduino millis() and micros() library functions that uses a 16-bit TMR along with a CCP module to produce msec and usec delays with 1us resolution. See the wiki page millis() and micros() timer routines These are improved versions that do not suffer from the same inaccuracies/lac...
- Sat Feb 25, 2023 12:48 pm
- Forum: Compiler
- Topic: clock settings for 18F24k22 do not work for 18F14k22 ?
- Replies: 5
- Views: 2099
Re: clock settings for 18F24k22 do not work for 18F14k22 ?
Yeah, you would think a "K22 is a K22", but sadly that's not the case... there are at least three different datasheets for the "K22 family".
One thing I've learned is to never assume ANYTHING with Microchip!
One thing I've learned is to never assume ANYTHING with Microchip!