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
The scatter file may place your application anywhere where you have memory to receive the program.
But depending on processor, you may have specific limitations where the processor can configure the interrupt vector table. If you don't store your interrupt vectors where the processor tries to look for them, your program will not work as intended.