AartiG recommended that I move this question here. This is actually a problem with the ARM side of the Concerto, but there is no category for Concerto, just Stellaris. Should it go there as well?
I would simply like to know if this chip is now dead and I need to replace it?
2867.flash error showing lock code.docx
I cannot seem to override the lock code in flash. I have entered the data shown in the memory view for adds. 0x200000 to 0x20001a and tried to unlock, but it did not work. I tried to lock and unlock - no luck. I tried to load code into all but sector N, but still no success. Here is the error output:
Cortex_M3_0: Trouble Reading Memory Block at 0x200008 on Page 0 of Length 0x4: (Error -2130 @ 0x200008) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.207.0)
Cortex_M3_0: GEL: Error while executing OnReset(0): target access failed at R1=*(0x200008) [f28m35h52c1_m3.gel:241] at Unlock_CSMZ1() [f28m35h52c1_m3.gel:50] at OnReset(0) .
Cortex_M3_0: Trouble Reading Memory Block at 0x200008 on Page 0 of Length 0x4: (Error -2130 @ 0x200008) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.207.0)
Cortex_M3_0: GEL: Error while executing OnReset(0): target access failed at R1=*(0x200008) [f28m35h52c1_m3.gel:241] at Unlock_CSMZ1() [f28m35h52c1_m3.gel:50] at OnReset(0) .
Cortex_M3_0: Trouble Reading Memory Block at 0x200008 on Page 0 of Length 0x4: (Error -2130 @ 0x200008) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.207.0)
Cortex_M3_0: Trouble Reading Memory Block at 0x20000c on Page 0 of Length 0x4: (Error -2130 @ 0x20000C) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.207.0)
Cortex_M3_0: Error during Flash verification (Flash algorithm returned error condition). Operation cancelled.
Cortex_M3_0: Flash verification returned error condition. Operation cancelled.
Cortex_M3_0: Error during Flash verification (Flash algorithm returned error condition). Operation cancelled.
Cortex_M3_0: Flash verification returned error condition. Operation cancelled.
Cortex_M3_0: Please make sure the memory location you are programming have not already been programmed.
Cortex_M3_0: GEL: File: C:\Texas Instruments\PLUS_CCU_V6_2\plus_ccu_cm3\PLUS_CCU\Debug\PLUS_CCU.out: Load failed.
Any ideas / help, please.
Thanks,
Pat
Thanks for the reply, Igor.
Uniflash appears to unlock the flash, but then will not let me erase. This is not a case where I have all zeros programmed in zone 1 at location 0x200000. My actual code is:
5A480301 05035847 02001439 C0000B03 FFFFFFFF FFFFFFFF
Any ideas? Have I lost the chip?
Thanks,
Pat
Igor,
I am using a Concerto chip. Using Uniflash, it appears that I can unlock the flash after putting in the code that I found at memory locations 0x200000 to 0x200020 into the Zone 1 registers. Having to first "lock", then "unlock", It seemed that the device did unlock as I got no errors. When I then tried to erase my flash, the process failed, saying that the device was locked. I can erase all sectors except sector N, where Zone 1 data resides.
Is there anything else I can do?
Pat