Other Parts Discussed in Thread: HALCOGEN
Thanks for your support.
Your project is working and was really like mine.
I've further investigated my issue. The two projects differ only in the system startup generated with HalCoGen.
I've enabled the safe initialization. Firstly I noticed that CPU hangs in CCM Self Test and in the forum I discovered that CCM cannot be run in Debug Mode.
I commented out the call to CCM test and my code seemed to be running fine except that I was not able to make printf over JTAG but only over SCI (and, I noticed only after, to place break points).
I think this may be related to the CPU reset during self tests. Am I right?
Is there a way I can keep safe init on and use the Jtag for debug? Or am I supposed to disable safe initialization during debug session? Is there a paper or an example that describes the CPU behavior in debug mode? I mean which features are badly affected by the debugger..
About the safe feature:
-
The self test example in the demo software cover all cases? Or can you suggest examples/docs?
During my tests I also got stuck in an infinite loop in memoryInit. Only way to get out of this condition apparently was to turn off the evaluation and restart CCS5.
Any Idea?
Thanks for your support and sorry for bothering you but I just the evaluation board and started to work with.
Regards,
Emanuele Cardani
