Search found 14 matches

by bernardj
Thu Jan 05, 2023 5:38 pm
Forum: General
Topic: pickitminus (and PICKitPlus) - programming apps for PICKIT2/PICKIT3
Replies: 2
Views: 1594

Re: pickitminus (and PICKitPlus) - programming apps for PICKIT2/PICKIT3

Thanks very much for this info, Jerry.

I downloaded the Pickitminus app and has been using it for some weeks now with my trusty PicKit2, without problems. It works easy and quick! It does indeed the newer chips like the PIC18F27Q10 which I am using.
by bernardj
Sun Jul 11, 2021 10:16 pm
Forum: General
Topic: Assistance needed with 18F27Q10 Sector Writes
Replies: 5
Views: 2744

Re: Assistance needed with 18F27Q10 Sector Writes

Hi Jerry Again, I bestow onto thee tons of gratitude and appreciation! Thanks very much for the example. Your experience and aptitude shows clearly again. Your interpretation of the datasheet is exceptional. The datasheet is clearly very misleading, if not downright just incorrect, with its inclusio...
by bernardj
Sun Jul 11, 2021 7:35 am
Forum: General
Topic: Assistance needed with 18F27Q10 Sector Writes
Replies: 5
Views: 2744

Re: Assistance needed with 18F27Q10 Sector Writes

Thanks very much, sir. My understanding is that using TBLPTR is used for program memory access. If one must use a special RAM area for sector writes, how do I access that RAM address - with TBLPTR as well? I would love to see your approach to the solution - I am sure I am going to learn something ne...
by bernardj
Sat Jul 10, 2021 7:34 pm
Forum: General
Topic: Assistance needed with 18F27Q10 Sector Writes
Replies: 5
Views: 2744

Assistance needed with 18F27Q10 Sector Writes

Hi I have been battling to get the PFM sector write functionality going on the 18F27Q10. The chip supports writing to program memory using either words or sectors. I successfully managed the writing to PFM using words (2 bytes) without hassles. Different story though with writing by sector. Simplify...
by bernardj
Mon Dec 09, 2019 8:55 am
Forum: Compiler
Topic: Indirect memory access to read ports
Replies: 1
Views: 3277

Indirect memory access to read ports

Hi Some assistance pls: For the first time I have tried to obtain the value of registers PORTA and PORTB using indirect memory access, but I do not get the values back which I expect. I am using an 18F27K40. Dim portNumber, res as byte portNumber = 1 FSR2 = $0F8D + portNumber '$0F8D is the register ...
by bernardj
Tue Nov 05, 2019 11:59 am
Forum: Compiler
Topic: Request for SF support for new chip 18F27Q10
Replies: 8
Views: 5807

Re: Request for SF support for new chip 18F27Q10

Thank you very much, Jerry for the massive effort that has gone into this update. I downloaded and installed it - works beautifully!! There are many features of Swordfish that I like a lot - this update allows SF users to continue using the product for long time to come, using some of the latest chi...
by bernardj
Mon Oct 14, 2019 12:36 pm
Forum: Compiler
Topic: Request for SF support for new chip 18F27Q10
Replies: 8
Views: 5807

Request for SF support for new chip 18F27Q10

Good afternoon David

I managed to land a few units of the relatively new chip, 18F27Q10.

Is it possible please to indicate if and when we can expect Swordfish to support these chips? They seem to be pretty feature rich at a very decent price.

Thanks

Bernard
by bernardj
Wed Apr 24, 2019 4:47 pm
Forum: Compiler
Topic: Return value of function might be undefined
Replies: 3
Views: 3916

Re: Return value of function might be undefined

Hi

Thanks for the reply.

Source code files attached as requested

Regards

Bernard
by bernardj
Mon Apr 22, 2019 8:29 pm
Forum: Compiler
Topic: Return value of function might be undefined
Replies: 3
Views: 3916

Return value of function might be undefined

Good day esteemed forum members I have tried everything I can think of to get rid of the compiler warning from this function: Function waitForMatchingCharCount(matchChar As Byte, matchCount As Byte = 1) As Byte Dim c as byte Dim charCount As Byte charCount = 0 PIE3.7 = 0 PIR3.7 = 0 TMR3CLK = %000001...
by bernardj
Sat Apr 06, 2019 10:09 am
Forum: IDE
Topic: Command line compiler usage
Replies: 1
Views: 3288

Command line compiler usage

Good day Can you please point me to a document which contains information on using the Swordfish command line compiler, i.e. information on parameters and switches to be passed? The aim is to still use the Swordfish compiler, but with another IDE (not MPLAB). I can not locate such info on the forum....
by bernardj
Sun Nov 05, 2017 8:16 pm
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 112921

Re: MPLAB-X Plugin...

Apologies for whipping up a stale thread again ... Pardon the ignorance as well, please. I came across this thread regarding the MPLABX plugin, which I have downloaded, installed (using MPLAB 3.2) and then hit the same "Editor Library" version problem as described earlier in this thread. Has this is...
by bernardj
Mon May 22, 2017 8:20 pm
Forum: Compiler
Topic: Neat little trick to easily copy structures
Replies: 1
Views: 2418

Neat little trick to easily copy structures

I hope this trick will help someone at some stage in copying structures: Explanation: Sample of a structure (old way): Structure ClientStruct ClientID As String(21) IPAddress As String(17) PortNumber As String(7) LastConnectDate As String(18) Reserved(35) As Byte End Structure To copy the structure ...
by bernardj
Tue Apr 18, 2017 8:00 am
Forum: General
Topic: Bootloader/Self write updates via WiFi
Replies: 4
Views: 4810

Re: Bootloader/Self write updates via WiFi

Hi Jerry, thanks for the reply. I appreciate the consequences of a failed over-the-air update with the risk of an non-usable PIC thereafter. The risk for this undertaking is very limited: I am developing this functionality purely for own use in my home environment - nothing commercial at all. I will...
by bernardj
Mon Apr 17, 2017 12:14 pm
Forum: General
Topic: Bootloader/Self write updates via WiFi
Replies: 4
Views: 4810

Bootloader/Self write updates via WiFi

Hi I would like to perform over-the-air updates of my various home automation boards via WiFi. The boards run on 18F26K22 and connect to my Wifi SSID using ESP8266 modules. It all works well. Before the bootloader can start, I need to establish the TCP connection via WiFi link, then connect to the P...