Search found 10 matches

by bernardj
Mon Dec 09, 2019 8:55 am
Forum: Compiler
Topic: Indirect memory access to read ports
Replies: 1
Views: 1123

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: 1645

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: 1645

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: 1404

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: 1404

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: 1157

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: 21684

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: 1282

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: 2069

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: 2069

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...