Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE, UNIFLASH, TMS320F28069
Tool/software: Code Composer Studio
Hi TI experts:
i have some questions about how to develop bootloader loading from can.
i want to develop a bootloader, which can start Stand-Alone Boot from CAN. i refer to spruh18f.pdf and get that the boot mode can be controlled by TRST, GPIO37 GPIO34, as well as below 4 data values in registers
EMU_KEY
EMU_BMODE
OTP_KEY
OTP_BMODE
then, i find a boot rom example from ti controlSUITE in the folder " ../2806x_boot_rom_v1_1", which show me an exact program flow in SelectMode_Boot.c.
my question is:
1. how to modify EMU_KEY, EMU_BMODE, OTP_KEY, OTP_BMODE to select which mode is loaded. and when to change them?
2. who will call the function SelectBootMode()? according to my understanding, it will be called by initboot after reset, am i right?
3. can the example be downloaded into the target?and how to do?
it is my first time to develop bootloader, so there may be lots of questions, please give me your kindly support if possible. many thanks.