Hello,
I am attempting to program a TMS570LS1213 (NOT a TMS570LS1224) using a J-Link dongle. I am setting the device as a TMS570LS1224 because the J-Link does not officially support the LS1213 and the memory map is the same for the sections I am programming.
I am using the following command in Command Prompt:
"C:\Program Files\SEGGER\JLink\JLink.exe" -log "C:\path\to\log.log" -device TMS570LS1224 -if JTAG -jtagconf -1,-1 -speed 4000 -autoconnect 1 -CommanderScript "C:\path\to\CommanderScript.bat"
The CommanderScript.bat looks like below:
r
exec SetCompareMode=0
speed 25000
loadfile "C:\path\to\flash_file.s37"
loadfile "C:\path\to\flash_ecc_file.s37"
exit
When I do this, the FLASH section programs correctly; however, the FLASH ECC does not. Specifically, I have a data file that looks like this:
addr: 0xF0401800, data: 01 23 45 67 89 AB CD EF
addr: 0xF0401808, data: FE DC BA 98 76 54 32 10
But the programmed data looks like this:
addr: 0xF0401800, data: 01 23 01 23 89 AB 89 AB
addr: 0xF0801808, data: FE DC FE DC 76 54 76 54
Is there a setting in the J-Link software that might be causing this? Or is there some other software that may be more appropriate for programming the FLASH ECC?
Thank you for your help in the matter!