Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hello,
I am new in boot loader using, and I have some basic questions about it. In advance, sorry if they are stupid.
I read that I need to programm one of the OTP registers Zx_BOOTCTRL of the micro controller. This register contains the selection of the GPIO which determine the boot mode. Setting these GPIO at 0b11 makes the micro controller boot on the mode specified by the BMODE field.
BMODE == 0x07 makes the microcontroller boot on CAN (what I want) and the used protocol is defined in the Reference Manuel:
My questions are
1) Using this protocole allows me to directly programm the FLASH or simply transfer a kernel into the RAM. If there is no way to programm the FLASH directly, where can I find the protocol that I need to use to transfer the FLASH code of my application ?
2) Once the micro controller is programmed, is there a mean to boot the micro controller on Flash at the next reset, or do I need to transfer an invalid key (!=0x08AA) by the CAN bootloader to jump to the FLASH ?
Thank you for your Help.
Vincent.