Forum Discussion
Altera_Forum
Honored Contributor
12 years agoC code freezes/Pauses while execution
I have a C application in which I have two adjacent print statements. But only the top one is printed and not the second one. What could be reason. My C code is quiet bigger and complex in size. I...
Altera_Forum
Honored Contributor
12 years agoMy general suggestion would be to further reduce your application(s) to the minimum needed to reliably reproduce the problem, and then debug it.
For example, you ought to be able to (eventually) find a breakpoint in the slave that as soon as you resume execution causes the master to fail. Then it is simply a matter of single-stepping through a relatively small section of code to learn what is the root of the problem. From your description, I would be suspicious of a resource having been accidentally shared between the cores (the JTAG UART, some RAM, etc. etc. etc.)