Other Parts Discussed in Thread: C2000WARE, TMDSDOCK28035
Hello,
I have read numerous related articles regarding CAN Bootloader for 28035 and would like to confirm what I believe.
*** Starting with an unprogrammed 28035 ***
Leave GPIO37 and GPIO34 alone - defaulted it enables Get_Mode
Now I need to ensure 0x3D7BFE OTP_KEY == 0x55AA and 0x3D7BFF OTP_BMODE 0x0007
This is accomplished in the C2000Ware_3_04_00_00\device_support\f2803x\examples\c28\f2803x_can_flash_kernel example along with GPIO setup, mailbox setup, CAN setup, clocks etc.
Use the serial_flash_programmer (serial port) to copy over the kernel.txt file from the f2803x_can_flash_kernel example (Refer to SPRABV4D).
(I believe this is the ONLY way to get OTP values programmed without JTAG.)
Then the 28035 board should be power cycled.
The 28035 will now wait forever on the CAN bus until it reads the first CAN word.
If the 28035 requires application code load, send the hex file with proper key value 0x08AA via a CAN utility. (At this point there is a entry point address that the bootloader will jump to after the ExitBoot routine is called so therefore no additional reset or power cycle is required.)
If the 28035 already has application code loaded and we want it to start running, send a hex file with the incorrect key value, say 0xFFFF, and now F28035 boot from Flash.
Please feel free to critique my understanding.