Hello,
I performed the following steps in order to program a F2806 MCU by the serial port and C2Prog:
First I converted my *.out file into a .hex file using hex2000. Than I programmed the target with the c2prog tool. The tool detected the target and programmed it, but it seems that the operation wasn't successful.
I'm using a LED in the main program to indicate success but nothing happened.
I now have two assumptions about what went wrong:
1. Something went wrong during the converting process of the .hex file.
Can someone give me the right parameters for the hex2000 tool or indicate another way to convert the file? In this forum many users use the -i parameter but c2prog seems not to support the format so I used the -a parameter with the option romwidth 16.
2. For testing purposes I use the 'boot to ram modus' with a self written bootloader (for the sci interface and with a counter to boot in the flash mode if no sci programmer is detected). Is it possible that I can write my hex. file to flash but no sections to the RAM, as defined in the linker file?