I should have mentioned to make sure you have the latest library updates to V2.2.3.6
see User Module Wiki page
https://www.sfcompiler.co.uk/wiki/wiki- ... 2_2021.zip
Search found 1265 matches
- Sun Oct 31, 2021 11:52 am
- Forum: General
- Topic: Any thoughts on q41 parts?
- Replies: 18
- Views: 1291
- Sun Oct 31, 2021 11:31 am
- Forum: General
- Topic: Any thoughts on q41 parts?
- Replies: 18
- Views: 1291
Re: Any thoughts on q41 parts?
So far, my experience has been generally positive. whats the adc like ? does it have any offsets and is the noise ok when using 12 bits? I haven't done any in depth measurements, so I can't really comment on this one. does the PPS work with confidance ie can i design the board for best layout rather...
- Sat Sep 11, 2021 3:24 pm
- Forum: General
- Topic: new PIC CLCDesignerTool with simulator and PIC18F support
- Replies: 0
- Views: 543
new PIC CLCDesignerTool with simulator and PIC18F support
For those with an aversion to MPLABX, or who just want a simple, easy to use standalone tool there is a new, updated version of the old CLCDesignerTool available. CLCDesignerTool V4 adds features not available in the original version, including: * support for all PIC18 devices * support for up to 8 ...
- Sat Aug 07, 2021 4:27 pm
- Forum: User Modules
- Topic: arduino ToneLibrary and Ringtone RTTTL Player
- Replies: 2
- Views: 923
Re: arduino ToneLibrary and Ringtone RTTTL Player
I updated the library to add user-defined events that get called when a tone starts and stops playing.
This can be handy to add LED displays, etc. Examples included in the new v1.1 download.
This can be handy to add LED displays, etc. Examples included in the new v1.1 download.
- Sun Aug 01, 2021 1:53 pm
- Forum: User Modules
- Topic: arduino ToneLibrary and Ringtone RTTTL Player
- Replies: 2
- Views: 923
arduino ToneLibrary and Ringtone RTTTL Player
I've been playing around with generating tones lately, so I ported the arduino Tone library to SF and added a few enhancements like blocking/non-blocking mode, playing arrays, etc. There's also a RTTTL (RingTone Text Transfer Language)) player included I put it on the wiki... ToneLibraryAndRingtoneR...
- Wed Jul 21, 2021 12:43 pm
- Forum: Compiler
- Topic: recent compiler problems
- Replies: 10
- Views: 1348
Re: recent compiler problems
so i'm pretty sure something changed That's odd... I check USART.bas going all the way back to v2.2.3.0 ICC 1.2.0.0 and it's pretty much the same, so I don't think the baudrate settings should be any different. and on checking its back to ver 2.2.5 icc1.1.6.4 is this likely to my our it company rev...
- Wed Jul 21, 2021 10:25 am
- Forum: Compiler
- Topic: recent compiler problems
- Replies: 10
- Views: 1348
Re: recent compiler problems
There've been some changes to the usart modules to add support for new devices, so it's possible that has inadvertently changed something and it's not picking the right combination of settings anymore. Try adding this to your 'include' section: #option USART_BRG16 = true Include "usart.bas" With SF ...
- Tue Jul 20, 2021 11:48 am
- Forum: Compiler
- Topic: recent compiler problems
- Replies: 10
- Views: 1348
Re: recent compiler problems
Great, Rich.
Let us know if you still have issues
Let us know if you still have issues
- Tue Jul 20, 2021 9:40 am
- Forum: Compiler
- Topic: recent compiler problems
- Replies: 10
- Views: 1348
Re: recent compiler problems
The online update should get you V2.2.3.6. After that, download https://www.sfcompiler.co.uk/wiki/wiki-uploads/SwordfishUser/Modules/sf_update_2_22_2021.zip Unzip the file to a folder and run SF_UPDATE_2_22_2021.exe That will get you completely up to date with v2.2.3.6, ICC v1.2.0.7, and device files.
- Mon Jul 12, 2021 10:18 am
- Forum: General
- Topic: Assistance needed with 18F27Q10 Sector Writes
- Replies: 5
- Views: 894
Re: Assistance needed with 18F27Q10 Sector Writes
The datasheet is clearly very misleading, if not downright just incorrect, with its inclusion of the use of TBLPTR for the sector writes. I agree, it is confusing. I think if you're only writing a byte or two then using the TBLPTR method to load the write latches is probably simpler. The thing that...
- Sun Jul 11, 2021 3:47 pm
- Forum: Wiki Announcements
- Topic: PPS Tool v0.0.6.3
- Replies: 0
- Views: 1025
PPS Tool v0.0.6.3
There's a new version of the PPS Tool available, V0.0.6.3 https://www.sfcompiler.co.uk/wiki/pmwiki.php?n=SwordfishUser.PPSTool This version has code to deal with some of the errors/omissions in the MCC xml files for the 18FxxQ40 and Q41 family, enhancements for the J series, and adds support for 18F...
- Sun Jul 11, 2021 3:39 pm
- Forum: General
- Topic: Assistance needed with 18F27Q10 Sector Writes
- Replies: 5
- Views: 894
Re: Assistance needed with 18F27Q10 Sector Writes
Here's an example using the buffer ram to work with pfm sectors. Supposedly you can use the TABLEPTR to load the ram too, but it just seems to make more sense to me to use it as ram since that's where it's located. On the Q10 the buffer ram is a 256-byte block reserved for nvm sector operations. You...
- Sun Jul 11, 2021 12:01 am
- Forum: General
- Topic: Assistance needed with 18F27Q10 Sector Writes
- Replies: 5
- Views: 894
Re: Assistance needed with 18F27Q10 Sector Writes
Hi Bernard, I think in order to use the sector write commands you need to use the special Buffer Ram locations, which you can find the address of in the 18F27Q10.bas device file... #define _nvm_bufferram_start = $0D00 // nvm buffer ram start address #define _nvm_bufferram_end = $0DFF // nvm buffer r...
- Wed Apr 21, 2021 1:02 pm
- Forum: Modules
- Topic: I2C SCANNER
- Replies: 13
- Views: 2303
Re: I2C SCANNER
I had done the same thing and the compiler said error... The compiler hates me because of all the sloppy & incorrect code that I feed it.... But I would choose it again over the others! Here's a tip - when you get compilation errors they're listed in the results window "last to first". Scroll down ...
- Wed Apr 21, 2021 12:46 pm
- Forum: Modules
- Topic: I2C SCANNER
- Replies: 13
- Views: 2303
Re: I2C SCANNER
IS Z = Z >> 3 VALID Yes, it's valid. The following compiles fine for me: dim Z as byte Z = Z >> 3 Maybe there was something else it was really complaining about? DO #option DIGITALIO_INIT = true AND SetAllDigital() ACCOMPLISH THE SAME RESULT? If you look at the last page of the library file SetDigi...