Hello I'm testing this on my system,
bootloader seems to be working.
What do I need to do to my APP code, I understand I need to to adjust the program store range. I'm using MPLAB X IDE.
Check Device...
Open COM4 serial port at 115200bd
Found: 16F w/8Kw flash & 256B EEPROM (Blk32)
Open HEX file: C:\Mark\Pic_bootloader\System_PIC.X.production.hex
Hex file verified, OK
WARNING: pclath not fully initialised before GOTO! ...
WARNING: first 4 words of code could not be fixed
Maybe you should use some directive in your compiler
to enable the use of bootloaders
Transferring flash...
Transferring program memory...
Transferring HEX successfull :-)
Close COM4 serial port
Mark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
The bootloader is working
I'm getting these warnings
WARNING: pclath not fully initialised before GOTO! ...
WARNING: first 4 words of code could not be fixed
Maybe you should use some directive in your compiler
to enable the use of bootloaders
What do these warnings mean?
And if any what directives do I need to remove these warnings?
Mark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The latest Great Cow BASIC compiler now has a new compiler command to support TBL+.
If you add #OPTION TBL to the user program the messages 'WARNING: pclath not fully initialised before GOTO! ... and WARNING: first 4 words of code could not be fixed' are not issued as the goto meets the required specification.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
//;********************************************************************************
//;Start of program memory page 0
asm("ORG 5");
asm("BASPROGRAMSTART");
Any info on this would be great
Thank you
Mark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This compiles without error - BORV is now correct. I will test.
Hello, I'll try this on my system tomorrow, when I return.
Thanks
Mark
Tests completed - all good!
Hello I'm testing this on my system,
bootloader seems to be working.
What do I need to do to my APP code, I understand I need to to adjust the program store range. I'm using MPLAB X IDE.
Check Device...
Open COM4 serial port at 115200bd
Found: 16F w/8Kw flash & 256B EEPROM (Blk32)
Open HEX file: C:\Mark\Pic_bootloader\System_PIC.X.production.hex
Hex file verified, OK
WARNING: pclath not fully initialised before GOTO! ...
WARNING: first 4 words of code could not be fixed
Maybe you should use some directive in your compiler
to enable the use of bootloaders
Transferring flash...
Transferring program memory...
Transferring HEX successfull :-)
Close COM4 serial port
Mark
@Mark. For Great Cow BASIC no changes to the code are required.
Hello,
The bootloader is working
I'm getting these warnings
WARNING: pclath not fully initialised before GOTO! ...
WARNING: first 4 words of code could not be fixed
Maybe you should use some directive in your compiler
to enable the use of bootloaders
What do these warnings mean?
And if any what directives do I need to remove these warnings?
Mark
Hi,Mark
It does not affect the operation of either of the warning.
reference
https://sourceforge.net/p/tinypicbootload/discussion/help/thread/a9a6d71f/
The latest Great Cow BASIC compiler now has a new compiler command to support TBL+.
If you add #OPTION TBL to the user program the messages 'WARNING: pclath not fully initialised before GOTO! ... and WARNING: first 4 words of code could not be fixed' are not issued as the goto meets the required specification.
Hi
Do I need to add the following to my user program at the beginning ?
I'm writting my program in C, using XC8 compiler, so i.e.
Any info on this would be great
Thank you
Mark
Hi Guyes
Is this bootloader actualy working on the PIC16F18855?
THANKS
Yes Pop over to Great Cow BASIC on Source forge and grab the latest hex and tool.