Other Parts Discussed in Thread: C2000WARE
Iam currently working with requirement CAN flashable bootloader.I would like to know the flow of booting steps below
------------Un programmed device:
configuration of pins: GPIO34 = 1 and GPIO37 = 1 and TRST = 0
1)Once power is ON By default, get_mode will select the mode Boot to FLASH. I will write OTP_KEY and OTP_BMODE values to select CAN Boot mode .Once power cycle, now mode is CAN boot mode.
2)I will copy flash kernel to RAM by using CAN boot mode
3)Using the flash kernel, i will flash application(ex:led blinking) program.Once flashing is done,my application(led blinking program) is started running.
4)Now i will give power cycle/reset and i have not changed the GPIO34 and GPIO37 configuration still. i.e..GPIO34 =1 and GPIO37 = 1. In this case again i will enter into CAN boot mode by get_mode by reading OTP_KEY and OTP_BMODE values.Application program(led blinking) will not be executed. Is this my understanding correct? If yes how to come out from CAN boot mode and start executing application program?