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.

IPNC RDK 3.5 - How to debug unhandled exceptions on M3?

Other Parts Discussed in Thread: DM385

Hi,

I am developing a custom use case on the DM385 using IPNC RDK 3.5. During start-up I get the following error:

[m3vpss ] Unhandled Exception:
[m3vpss ] Exception occurred in ThreadType_Task
[m3vpss ] handle: 0x8e58e938.
[m3vpss ] stack base: 0x8eda3320.
[m3vpss ] stack size: 0x4000.
[m3vpss ] R0 = 0x00000001 R8 = 0x00000000
[m3vpss ] R1 = 0x8e58e938 R9 = 0x00000000
[m3vpss ] R2 = 0x00000002 R10 = 0x8e584a40
[m3vpss ] R3 = 0x8de685fd R11 = 0xffffffff
[m3vpss ] R4 = 0xbebebebe R12 = 0x8ee27598
[m3vpss ] R5 = 0x00000000 SP(R13) = 0x8eda7338
[m3vpss ] R6 = 0x00000000 LR(R14) = 0x8de3c061
[m3vpss ] R7 = 0x00000000 PC(R15) = 0x00000000
[m3vpss ] PSR = 0x20000000
[m3vpss ] ICSR = 0x0440f803
[m3vpss ] MMFSR = 0x00
[m3vpss ] BFSR = 0x00
[m3vpss ] UFSR = 0x0002
[m3vpss ] HFSR = 0x40000000
[m3vpss ] DFSR = 0x00000000
[m3vpss ] MMAR = 0xe000ed34
[m3vpss ] BFAR = 0xe000ed38
[m3vpss ] AFSR = 0x00000000
[m3vpss ] Terminating Execution..

I have tried to trace the origin of the error using debug prints, but this has not yielded any useful results.

I have 2 questions:

1) Is it possible to further debug such errors? Can I somehow find out which task exactly is causing the exception?

I have seen solutions provided for DVRRDK but when I tried to follow them I've noticed that IPNC RDK doesn't have implementations of required functions to dump exception data to a log file.

2) Is it somehow possible to debug a MCFW use case using a real debugger, including M3 code?

Thanks,

Eli