Other Parts Discussed in Thread: UNIFLASH
Tool/software: Code Composer Studio
Hello,
I am using TMS570LS3137 for my project. The controller was working fine till now. But now I am unable to erase the flash. The JTAG DR Integrity scan-test is successful using Texas Instruments XDS100v2 USB Debug Probe_0.
But I am getting following error while loading my code:
CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0 due to System Reset
CortexR4: Trouble Writing Memory Block at 0xfff87008 on Page 0 of Length 0x4: (Error -2130 @ 0xFFF87008) 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.641.0)
Dap: Error: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 0.0.0.0)
CortexR4: File Loader: Memory write failed: Target failed to write 0xFFF87008
CortexR4: GEL: File: F:\General Share\AT SHARE\AT-DAS-Software final_for I2C\Debug\AT-DAS-Software-Final.out: Load failed.
CortexR4: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.641.0)
I tried running with slower JTAG CLCK frequency but still getting the same error.
I tried to erase the flash using UniFlash but unsuccessful. I am getting following error: