This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interrupt remapping for STR73x processor

Hi All, I am using STR73x (ARM 7 core)Processor for my application.
I am working on bootloader, I written a small program(consider as bootloader) which wait for the UART key press and as soon as any key is pressed program jumps to another location on which application software reside. My problem is that the interrupts are not working in my application software.
How can i remap the interrupt to the RAM location what changes i need to do in the startup file of application software. Can anyone help me to analyze or solve this problem.

Parents
  • I don't know about your specific processor, but a lot of processors has a configuration register to relocate the interrupt vector table into RAM.

    The datasheet will tell if and in such case how.

    If the processor do not support to remap the interrupt vector table, then the boot loader must hook all interrupt vectors, and implement stubs that calls a dummy function through a RAM pointer. This allows the application to update the RAM pointer to point at the applications own interrupt handlers.

Reply
  • I don't know about your specific processor, but a lot of processors has a configuration register to relocate the interrupt vector table into RAM.

    The datasheet will tell if and in such case how.

    If the processor do not support to remap the interrupt vector table, then the boot loader must hook all interrupt vectors, and implement stubs that calls a dummy function through a RAM pointer. This allows the application to update the RAM pointer to point at the applications own interrupt handlers.

Children
  • Hi Per, Thanks for response, My processor support remap feature and i am remapping it(copying content of 0x0 location to the RAM start address). I am first downlaoding my bootloader code with ulink and then i downlaod application code with ulink but at different location in flash. is there any problem in the way i am doing it ? my bootcode allows me to jump to the application code and i can debug my application code, but still i doesnt get interrupt in the application code(but when i burn it to default flash loaction interrupt works fine)

  • Thanks for your valuable time you spent on this query. I solved the problem and now my system is working