Other Parts Discussed in Thread: SYSCONFIG,
Tool/software:
Hi experts,
I have a software project for AM243X R5F with
- CCS 12.6.0.00008
- TI Clang 3.2.1 LTS
- Industrial communications SDK 9.1.0.03
- SysConfig 1.19.0
- Blackhawk XDS-560v2 Debugger
The software is using two cores with each FreeRTOS running and some hard-realtime interrupts (both IRQ and FIQ) interrupting the system. We also use debug outputs via DebugP_log to UART
Sysconfig core #1 : Enable UART Log and Enable Shared Memory Log Reader
Sysconfig core #2 :Enable Shared Memory Log Writer
I found that the hard-realtime tasks (both IRQ and FIQ) are not running regularly, which causes timing faults in our system. This is only if I run the software from CCS Debugging AND Debug outputs are active. The problem is gone if the software is running from flash (but still the debug outputs to UART are visible). The problem is also gone if I remove all calls to DebugP_log.
Why would the debugging session halt the system in case of DebugP_log?
BR
Alexander
The debug configuration is:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">
<configuration XML_version="1.2" id="Blackhawk XDS560v2-USB System Trace Emulator_0">
<instance XML_version="1.2" desc="Blackhawk XDS560v2-USB System Trace Emulator_0" href="connections/BH-XDS560v2-USB_Connection.xml" id="Blackhawk XDS560v2-USB System Trace Emulator_0" xml="BH-XDS560v2-USB_Connection.xml" xmlpath="connections"/>
<connection XML_version="1.2" id="Blackhawk XDS560v2-USB System Trace Emulator_0">
<instance XML_version="1.2" href="drivers/tixds560cs_dap.xml" id="drivers" xml="tixds560cs_dap.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560cortexR.xml" id="drivers" xml="tixds560cortexR.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560cortexM.xml" id="drivers" xml="tixds560cortexM.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560pru.xml" id="drivers" xml="tixds560pru.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560csstm.xml" id="drivers" xml="tixds560csstm.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560ctset2.xml" id="drivers" xml="tixds560ctset2.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560etbcs.xml" id="drivers" xml="tixds560etbcs.xml" xmlpath="drivers"/>
<platform XML_version="1.2" id="platform_0">
<instance XML_version="1.2" desc="AM2432_ALV_0" href="devices/AM2432_ALV.xml" id="AM2432_ALV_0" xml="AM2432_ALV.xml" xmlpath="devices"/>
</platform>
</connection>
</configuration>
</configurations>