Part Number: TMS320F280049
Other Parts Discussed in Thread: UNIFLASH
Tool/software: Code Composer Studio
OK,
So from my previous posts... I think I have it correct... but as soon as this is enabled, I can't do anything.
1. I am programming just the following (using XDS110 as debugger with Auto ECC generation) this is via the 28004x_dcsm_lnk.cmd file:
a. b0_dcsm_zsel_z1 with passwords and the request to move everything to zone 1 (0x555555555... etc)
b. b0_dcsm_zsel_z2 with the request to not move anything to zone 2 (0xAAAAAAAAA... etc)
c. b1_dcsm_zsel_z1 with request to move everything to zone 1 (0x555555555... etc)
d. b1_dcsm_zsel_z2 with the request to not move anything to zone 2 (0xAAAAAAAAA... etc)
2. It appears to program correctly and teh program runs correctly while in the debugger
3. Once I disconnect, I can never get the debugger to re-attach...
Debugger/UniFlash error:
Device may be operating in low-power mode. Do you want to bring it out of this mode? Choose 'Yes' to force the device to wake up and retry the operation. Choose 'No' to retry the operation without waking the device.
(Emulation package 8.4.0.00006)
a. Yes, the correct keys are in the debug settings.. the error says the processor is in low power mode and pulled out of it...
4. My boot loader (in my code) can also not errase any flash (I was told this shouldn't be an issue and I don't have to unlock anything to be able to make reads and writes to flash) see the following link (e2e.ti.com/support/microcontrollers/c2000/f/171/p/866630/3231903#3231903)
A. What am I doing wrong here?
B. Does my boot loader have to unlock the flash before a errase/write?
In my previous attemps I tried using your Flash Write API to write these sections of memory... They worked to at least get the keys in, but those are garbage for the ECC generation. So I now I am doing it the way I was told... and this is bricking processors as well.
Do you have a working example of this or should I just assume this isn't finished yet or if you use it's one time program and then done...