Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2634: Error -1170 After Warm Reset and Debug Access Restored Only After Hardware Reset

Part Number: AM2634

Hi TI Team,
 
I am working on an AM2634 EVM and triggering a software warm reset using:
 
SOC_generateSwWarmReset();
 
The API is called from Cortex_R5_3.
 
When the API is executed, CCS reports the following error:
 
Cortex_R5_3: 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 12.7.0.00105)
 
Initially, I thought the reset was working correctly. However, after further testing using a separate serial terminal (Tera Term), I observed that the device does not appear to complete the reboot sequence. After calling SOC_generateSwWarmReset(), the application stops executing and no further boot logs are seen.
 
Observed Behavior:
 
1. Application runs normally.
2. SOC_generateSwWarmReset() is called from Cortex_R5_3.
3. CCS reports Error -1170 and loses DAP access.
4. No further UART logs are observed after the reset request.
5. The device appears to be stuck and does not restart the application.
6. CCS is unable to reconnect to the target.
7. Pressing the RESET button on the EVM restores Debug access.
8. After the hardware reset, the device boots and debugs normally.
 
Expected Behavior:
 
- The device should perform a Warm Reset.
- Boot ROM should restart.
- SBL/Application should execute again.
- CCS may temporarily lose connection during reset, but the device should complete the reboot sequence.
 
Questions:
 
1. Is there any known limitation when calling SOC_generateSwWarmReset() from Cortex_R5_3?
2. Are there any prerequisites before issuing a software Warm Reset on AM2634?
3. Is the Loss of DAP/JTAG access expected during Warm Reset?
4. Are there any recommended methods to debug a Warm Reset event on AM2634?
5. Is additional reset controller or boot configuration required for SOC_generateSwWarmReset() to function correctly?
 
Environment:
 
- Device: AM2634
- Board: [AM263x Control Card / Custom Board]
- MCU+ SDK Version: [SDK Version] 
MCU+ SDK AM263x 09.02.00.55
- CCS Version: 12.7.0.00007
- Debug Probe: XDS110 (on-board)
- Core: Cortex_R5_3
 
I have attached:
- CCS console log
- Error screenshot
- UART/Tera Term logs
 
Thank you for your support.
Console.PNGErrors.PNG
Regards,
Nived Karun