TC27x----After increasing the interrupt priority bootloader is going to trap

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
jayadeepika12
Level 1
Level 1
First reply posted First question asked Welcome!

In TC27x controller After increasing the interrupt priority bootloader is going to trap. what is the register setting after increasing interrupt priority and what is the connection between increasing interrupt priority and trap?

0 Likes
1 Solution
Prudhvi_E
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 25 likes received

Hello,

1. Please check the analyze the Trap reported with the Trap Class and TIN to know the cause of Trap.

2. Please check if it is due to a SW code issue or due to WDT overflow.

3. Since you mentioned that Interrupt priority increase caused the Trap please check if that ISR is blocking the tasks and/or not allowing the periodic servicing of the Internal/External WDG.

4. As mentioned in another comment, please refer to the Trap example on how to identify source of Trap and you could also monitor the call stack to see which function caused the Trap.

Regards,

Prudhvi.

View solution in original post

0 Likes
2 Replies
Nambi
Moderator
Moderator
Moderator
500 replies posted 50 likes received 5 likes given

Hi,

Could you provide more details?
1. Which interrupt's priority is updated, leading to this? Could you share the interrupt configuration?
2. Could you share the working code snippet and the modified code snippet and what registers are changed?
3. You can refer to the example CPU_Trap_Recognition_1_KIT_TC275_LK-TR in ADS to understand the Trap class, Trap number, and how to identify the source of the trap.
4. You can refer to the call stack to find the instruction/access leading to the trap.

Best Regards.

0 Likes
Prudhvi_E
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 25 likes received

Hello,

1. Please check the analyze the Trap reported with the Trap Class and TIN to know the cause of Trap.

2. Please check if it is due to a SW code issue or due to WDT overflow.

3. Since you mentioned that Interrupt priority increase caused the Trap please check if that ISR is blocking the tasks and/or not allowing the periodic servicing of the Internal/External WDG.

4. As mentioned in another comment, please refer to the Trap example on how to identify source of Trap and you could also monitor the call stack to see which function caused the Trap.

Regards,

Prudhvi.

0 Likes