Other Parts Discussed in Thread: UNIFLASH
Tool/software: Code Composer Studio
When I try flashing my costum RM57L843 Board I get the following error message:
CortexR5: GEL Output: Memory Map Setup for Flash @ Address 0x0
CortexR5: Error: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 6.0.504.1)
CortexR5: 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 6.0.504.1)
CortexR5: Unable to determine target status after 20 attempts
CortexR5: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
CortexR5: File Loader: Memory write failed: Could not read 0xFFFFFFC4: target is not connected
CortexR5: GEL: File: W:\SCU\scu_1\Debug\scu_1.out: Load failed.
This happens when i start the debug mode.
I can connect the icepick the dap and the Cortex directly.
I can see the registers and read the memory. I can't change the values in the memory
When I try erasing the flash with the tools in 'On-Chip Flash' I get the same error messages an CCS7 crashes.
Checked:
Voltages (VCC VCCIO, VCCP) (no voltages drops, voltage supply is larger than necessary)
Clock (16khz ext Oszi)
no nERROR LED
SW/HW:
CCS7
xds100v2 by spectrum