Tool/software:
When debugging my project based on the Sensor/Collector TI project examples I am unable to debug when I enter the Sensor_process or Collector_process functions. What could be happening that would cause this?
Thanks,
Kevin
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.
Tool/software:
When debugging my project based on the Sensor/Collector TI project examples I am unable to debug when I enter the Sensor_process or Collector_process functions. What could be happening that would cause this?
Thanks,
Kevin
Hi Kevin,
It works on the default project, as far as I can see. Do you mean that the debug session is stopping?
Regards,
Arthur
Arthur,
I was seeing it lock up when it was running one of the functions, but I am currently not seeing it do that on the sensor side. I think it may have been due to the JTAG connection. Sometimes the connection is not always solid. The SmartRF Flash Programmer will always program the part, but when I use CCS in debug mode it sometimes doesn't program (memory write failed - Timed out waiting for target flashloader to execute command! (Block 0). However, on the receiver side it can get stuck here SysCtrlAonUpdate(void) and it seems it is before the Collector_process() call maybe related to the power_standby mode. I think it happens in the startup of the radio code process when BIOS_start() runs.
Kevin
Hi Kevin,
If you find the connection to be unreliable, it often helps to lower the JTAG frequency in the target configuration:
Regards,
Arthur
Arthor,
I tried at 5.5,5 & 2MHz and get the same error:
Cortex_M4_0: File Loader: Memory write failed: Timed out waiting for target flashloader to execute command! (Block 0)
Cortex_M4_0: GEL: File: C:\Users\khalberg\OneDrive - Lincoln Electric Company\Documents\GIT Repository\wireless-remote-based-on-cc1312psip\WTBProto2\Release\WTBProto2.out: Load failed.
Is there a speed you would suggest? Right after I tried the three speeds, I used SmartRF Flash Programmer 2, and it programmed it immediately. Also, I was able to program it in CCS right after that. It seems there is another issue that may be causing it.
Kevin