Hello
I am running SDK DA1468x_DA15xxx_SDK_1.0.14.1081 on a DA14683.
I am using ad_uart to communicate asynchronously with a peripheral on UART with DMA and circular buffer activated.
- When JTAG probe is attached (using Ozone), the ad_uart_read does not receive data while I can see data flowing using a scope in both directions (meaning that ad_uart_write is ok).
If I detach the probe and let the software goes, my software works ok.
Are there any setting to use so I can debug my software ? (disable DMA ? disable FIFO ?)
- I do not see RTS / CTS moving using a scope despite the "autoflow" setting at 1 ?
Thank you in advance
Device:
Hibobspam@free.fr,
My apologies for the delay. In fact that you have the debugger attached, all interrupt are disabled and the interrupt will be reenables if you push the “play” button. If you have the debugger attached, you will not have any kind of interrupts (like CTS/RTS) and the DMA controller uses interrupts. Could you please clarify what you are trying to accomplish? Is there any specific reason for doing that procedure? For your information, when the system is in debugging mode, the 68x will never go to sleep and the interrupts are disabled.
Thanks, PM_Dialog
Hello
Thank you for your answer
I am debugging AT command asynchronous exchanges with an external GSM modem.
When I do connect JTAG, no serial data reception occurs and my software get stuck waiting for modem answers.
When I do halt the cpu while stuck, DA68x is executing "pm_execute_active_wfi" function in sys_power_mgr.c (probably freertos idle tasks because all my other tasks are waiting for input data).
I am using JTAG RTT to collect my logs but it interfere badly with the software.
I suppose I need to move to RETARGET in order to collect my logs using a serial port.
Thank you for your help and please receive my best wishes for this new year !
Hibobspam@free.fr,
It would be good idea to remove the RETARGET and try to debug it again. Let me know if you have any other issues. Happy new year too. I wish you all the bests.
Thanks, PM_Dialog