Other Parts Discussed in Thread: C2000WARE
My purpose: charge 280049 factory default boot mode(GPIO24,GPIO32 ad boot set pin),so that you can start from FLASH without using any pin.
Schemes given in the documentation:
Then I find the example in C2000_ware:(C:\ti\c2000\C2000Ware_3_04_00_00\driverlib\f28004x\examples\boot\boot_ex2_customBootConfig)
So I modify it like this:
The intent and function of this code as follows:
Set BOOTPIN_CONFIG.BMSP0 to 0xFF Set BOOTPIN_CONFIG.BMSP1 to 0xFF Set BOOTPIN_CONFIG.BMSP2 to 0xFF Set BOOTPIN_CONFIG.KEY to 0x5A Set BOOTDEF.BOOTDEF0 to 0x03
And then do the simulation
The pre-burned program in Flash (an EPWM program)was successfully run by resetting as show in the figure above.
The effect is as follows:
You can see that the program in Flash also runs successfully,but if you repower the borad,the program doesn't run,I don't know why.
Added: The default Boot pin (GPIO24 and GPIO32 on the board are 1 and 0)