I am trying to get my App code to be loaded by the bootloader and C# program.
I am using XC8 and have found in the linker menu how to add an offset to the code.
I am still getting this error (see below) and my code does not run and the bootloader code no longer runs.
Is there a document that describes the process of getting app code to be "Bootloader" friendly ?
==========================
Check Device...
Open COM1 serial port at 9600bd
Software reseting Device
Found: 16F 1823(84W)
Open HEX file: C:\Pic Projects\Tiny-PIC-Bootloader\Tiny_Avr-Pic_Bootloader+ (v0.8.3)\gassy.x.hex
Warning: Config found just writing data
Warning: Config found just writing data
Warning: Config found just writing data
Warning: Config found just writing data
WARNING: GOTO not found in first 4 words!
If using a compiler, maybe you should write
some directive to enable the use of bootloaders,
or maybe you could fix it by adding an interrupt
handler to your program.
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 COM1 serial port
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to get my App code to be loaded by the bootloader and C# program.
I am using XC8 and have found in the linker menu how to add an offset to the code.
I am still getting this error (see below) and my code does not run and the bootloader code no longer runs.
Is there a document that describes the process of getting app code to be "Bootloader" friendly ?
==========================
Check Device...
Open COM1 serial port at 9600bd
Software reseting Device
Found: 16F 1823(84W)
Open HEX file: C:\Pic Projects\Tiny-PIC-Bootloader\Tiny_Avr-Pic_Bootloader+ (v0.8.3)\gassy.x.hex
Warning: Config found just writing data
Warning: Config found just writing data
Warning: Config found just writing data
Warning: Config found just writing data
WARNING: GOTO not found in first 4 words!
If using a compiler, maybe you should write
some directive to enable the use of bootloaders,
or maybe you could fix it by adding an interrupt
handler to your program.
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 COM1 serial port
Hi,donvukovic
http://tinypicbootload.sourceforge.net/tested_compilers_pic.html
and your
Tiny_Avr-Pic_Bootloader+ (v0.8.3)\docs\Fctmt_Bootloader_PIC_AVR.xls
and This one.
Last edit: Dan 2014-02-03