Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: RZ/T1: Program running out to 0x14(reserved handler)

$
0
0
CPU: RZ/T1 R7S910018 (ARMv7-R Cortex-R4 600MHz) Board: RSK+RZT1 Probe: I-jet IDE: IAR EWARM 7.4 Hi all,   I've met a problem puzzles me. When I press "Go" to run on full speed, the program runs out to the address 0x14(reserved handler).    The program had been running well until I implemented a MTU3 TGIA3 interrupt routine to the program, working together with other three SPI interrupts(SPI transmit/error/idle interrupts) used to interface the LCD.   Before I implemted the TGIA3 interrupt, the program with SPI interrupts went well. So it seems the interrupts interacting cause the problem. All the interrupts disable the nesting function(nested interrupt is disabled). I use the VIC to provide the ISR entrance address.   I used the ETM to trace the program and found that returning from the TGIA3 interrupt causes the PC to change to 0x14. But when I put a breakpoint at the interrupt exit point and the PC won't goes to 0x14 but goes back to the point before interrupted.   Here are the screenshots. Here are the ETM trace shots before it stops at 0x14.   I've trapped here for almost a week and greatly hope to obtain help. Thank you all very much!  

Viewing all articles
Browse latest Browse all 59170

Trending Articles