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

IRQ problem

Hello,
i used keil uvision 3. My program work correctly when in sactter file or in options for terget i set 0x100000, but when i put other then mentioned adress i.e. 0x110000 the irq does not work. I use __irq after function for interrupt routin and also --gnu in miscconttrol. Moreover i also use functions for interrupt routin wuithout __irq. I does not work. My question is how to make it work?

Thanks in advance
M

Parents
  • As i wrote when start adress is 0x100000 everythink works great, but when i change it in scatter file (load region adress) interrupt doesn't work.For example when i load usb program, after pullup attaching pc sends frame through usb to arm and it should go into interrupt service routin but if the load region adres is other then 0x100000 then it does not. and i dont know why? I believe startup should be change. I use startup from keil.
    Any sugestions?

Reply
  • As i wrote when start adress is 0x100000 everythink works great, but when i change it in scatter file (load region adress) interrupt doesn't work.For example when i load usb program, after pullup attaching pc sends frame through usb to arm and it should go into interrupt service routin but if the load region adres is other then 0x100000 then it does not. and i dont know why? I believe startup should be change. I use startup from keil.
    Any sugestions?

Children