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.

ccmSelfCheck() gets stuck if called after CPU reset

Dear all,

I have been observing the same behaviour as described in this forum thread. But a disconnection of the JTAG ribbon has not helped because my scenario and conditions are a bit different. Actually a following point 1) is successfully finished even if the JTAG is plugged in.

1) perform ccmSelfCheck() - successfully done,

2) force to a global system reset by writting into SYSECR register,

3) ccmSelfCheck() is called again but waits for finishing the selftest forever.

I suspect the point 2) is the reason of this behaviour, am I right? Between the points 2) and 3) there is further code executed - should I check another setting which could causes such issue?

Note: If the point 1) is omitted the behaviour does not change - still stuck.

Many thanks in advance,

best regards, Jiri