Part Number: TMS320F280037C
Tool/software:
Hello,
I've been debugging our CAN application for a while because we encountered the following problem. In the communication loop, there is a bug that appears very rarely and totally random. It seems that one of our messages is sent with an identifier of 0x00 instear of the corresponding identifier. I am quite positive that the message is being wiritten to the MCAN Message RAM with the desired identifier but at some point it changes its value. I would like to discard that anyone is writting in the memory another value and I thought of using conditional watchpoints to point to that specific addres and see if it is written with a value of 0x00.
The problem I encountered is that I am not able to trigger watchpoint if they are pointing to microcontroller registers. I tried with the GPIO DAT registers and tryiying to enable a GPIO in a controlled way, but I was not able to catch it. If the watchpoint points to any variable in our code I can catch the trgger without problems. However, when I try to use the watchpoint for memory locations or registers or RAM I am not able to catch the trigger.
I've been looking for some more information but I have not found anything that could help me. Can you please provide me some help? Also, I would like to try GEL scripts for that watchpoint but I have not found either any tutorial on that matter with examples.
Regards,
David

