Hi,
I am working on a custom CAN bootloader for 28069 MCU,
I have managed to flash the application using the bootloader and have verified that the flash passes CRC check.
I am calling to the application by using the jump instruction which should be stored in sector A (address 0x3F7FF6), which calls c_init00.
The application then loads, but acts strangely (sometimes no CAN comm, or ADC gives inaccurate readings).
When loading the application directly by JTAG, everything is fine.
Is it ok to call c_init00 twice after MCU power-up (once for bootloader and once for application startup)?
Do I need same addresses for stack and RAM for bootloader and application in the command file (i.e different flash sectors, but RAM location = same)?
Any suggestions would be great.
thanks,
Ben.