Part Number: AM3354
Tool/software: Code Composer Studio
Hello all,
I want to debug u-boot-spl with ccs10. The software load should be done via USB - Blackhawk XDS100v2.
After doing the "TargetConfiguration" the "Test Connetion" says "All of the values were scanned correctly. The JTAG DR Integrity scan-test has succeeded."
Connection to my board was established by right-clicking on the line "Texas Instruments XDS 100v2 USB Debug Probe_0/COrtexA8" and selecting "Connect Target" in the "Debug"-sub-window.
If I try to load the u-boot-spl via "Run → Load → Load Program" the call fails with:
CortxA8: Trouble Writing Memory Block at 0x402f0094 on Page 0 of Length 0x7ff0: (Error -1065 @ 0x3D5A) 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 9.1.0.00001)
CortxA8: File Loader: Verification failed: Target failed to write 0x402F0094
CortxA8: GEL: File: /home/ralph/Entwicklung/buildroot/buildroot-2019/buildroot-2019.02.9.6/output/build/uboot-2019.01+gitAUTOINC+8b90adfb16-g8b90adfb16/spl/u-boot-spl: Load failed.
CortxA8: Trouble Reading Memory Block at 0x233a4 on Page 0 of Length 0xc: (Error -1205 @ 0x233A4) Device memory bus has an error and may be hung. 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 9.1.0.00001)
CortxA8: Trouble Reading Memory Block at 0x233a4 on Page 0 of Length 0x8c: (Error -2130 @ 0x233A4) 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 9.1.0.00001)
CortxA8: 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 9.1.0.00001)
CortxA8: Unable to determine target status after 20 attempts
CortxA8: 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
If I load only the symbols from u-boot-spl via "Run → Load → Load Symbols" there is no error, I see valid values in the register-sub-window, can set "Core Register->CPSR->T to zero the PC to 0x402f0400,
nevertheless the last line in the "Debug"-sub-window says "0x000233F8 (no symbols are defined". If I try now to load the program I get the sam error as above.
Where is my mistake, what I have done wrong? Any help is appreciated.
Thanks,
Ralph