Hi,
When I burn my application in internal flash
at address 0x0, and copy vector table in
internal SRAM (address 0x20000000), timer
interrupt works fine.
Code:
void initialize_exceptions(void){ // Memory map definitions from linker command files used by mcf5xxx_startup register uint32 n; //* Copy the vector table to RAM for (n = 0; n < 256; n++) __VECTOR_RAM[n] = (uint32)VECTOR_TABLE[n]; // __VECTOR_RAM is set to 0x20000000 mcf5xxx_wr_vbr((uint32)__VECTOR_RAM); }
When I burn the same application in internal flash
at address 0x8000, and copy vector table in
internal SRAM (address 0x20000000), timer
interrupt does NOT work.
Any clue?
Thanks,
Simon