Hi,
We are using SYS/BIOS with default setting in M3.
When the exception occurs in M3, how the progrom is going?
(Going out of control?, going to busy loop?, etc.)
Can we insert any function for exception happen?
Best regards,
Ito
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.
Hi,
We are using SYS/BIOS with default setting in M3.
When the exception occurs in M3, how the progrom is going?
(Going out of control?, going to busy loop?, etc.)
Can we insert any function for exception happen?
Best regards,
Ito
Hi Ito,
Yes, you can install your own exception hook. You will need to open the config file and go to the Hwi module's device specific support page to add your hook function:
Since you are using the default configuration, exception handling should be enabled.
Can you also provide the following information about your project ?
- SYS/BIOS version
- Device/Board you are using
- CCS version
Thanks,
Ashish
Hi Ashish,
Thank you for explaining the detail.
I understand how to implement the exception hook.
And we use versions is as follows:
- SYS/BIOS version : bios_6_34_03_19
- Device/Board you are using : DRA814 / Customer board.
- CCS version : 5.2.1.
And our one more concern is as below.
After exception happen, will M3 go to assert?.
Best regards,
Ito
Hi Ito,
After an exception occurs on an M3 device, the BIOS exception handler will print a register dump and then call the user's exception hook function (if one is installed). After that the program will exit.
For known exception types like HardFault, MemFault, etc. BIOS will also print an error message identifying the type of exception that occurred.
Best,
Ashish
Hi Ashish,
Thank you very much for your information.
W'll discuss it with my customer how to handle the exception.
Best regards,
Ito