Other Parts Discussed in Thread: SYSBIOS, AM3358, OMAP3530, AM4379
Tool/software: Code Composer Studio
Hi,
I would like to debug Cortex-A8 using CCS after AM335x wakes up from DeepSleep1.
I have confirmed already that AM335x can be placed in DeepSleep1 and wake up by GPIO. (using BBB and Starterware demo app)
This app has no problem, it works as expected.
However, after AM335x wakes up from DeepSleep1, I cannot connect to Cortex-A8 using CCS.
Before AM335x is placed in DeepSleep1, both cores(Cortex-A8/Cortex-M3) can be connected using CCS.
Cortex-M3 can be connected and debugged after wakeup.
Using JTAG emulators are XDS100v2 and Blackhowk USB560v2, they are the same results.
Error messages are as follows.
At first,
--------
Error connecting to the target:
(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 7.0.100.1)
--------
then, the connection will succeed if it retry, but when I try debugging,
--------
CortxA8: Error connecting to the target: (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 7.0.100.1)
CortxA8: Can't Single Step Target Program: (Error -2134 @ 0x0) Unable to control device execution state. 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 7.0.100.1)
CortxA8: Trouble Reading Register CP15_Registers.CP15_CONTROL_REGISTER: (Error -2131 @ 0x20013F00) Unable to access device register. 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 7.0.100.1)
CortxA8: Trouble Reading Register CP15_Registers.CP15_MMU_XLATION_TABLE_BASE_CONTROL: (Error -2131 @ 0x20023F40) Unable to access device register. 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 7.0.100.1)
CortxA8: Trouble Reading Register CP15_Registers.CP15_CONTROL_REGISTER: (Error -2131 @ 0x20013F00) Unable to access device register. 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 7.0.100.1)
CortxA8: Trouble Reading Register CP15_Registers.CP15_MMU_XLATION_TABLE_BASE_0: (Error -2131 @ 0x20023F00) Unable to access device register. 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 7.0.100.1)
CortxA8: Trouble Reading Register CP15_Registers.CP15_MMU_XLATION_TABLE_BASE_1: (Error -2131 @ 0x20023F20) Unable to access device register. 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 7.0.100.1)
CortxA8: Trouble Reading Register CP15_Registers.CP15_MMU_DOMAIN_ACCESS_CONTROL: (Error -2131 @ 0x20033F00) Unable to access device register. 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 7.0.100.1)
....
--------
after that, CortexA8 will be in uncontrollable state.
Best Regards,
Yasun