AnsweredAssumed Answered

RAM vector table? K60 and MQX 4.0

Question asked by gavroche123 on May 20, 2013
Latest reply on May 23, 2013 by gavroche123

I seem to have permanently bricked the K60 trying to get this to work, so I'm not in the happiest frame of mind right now...


I am not using a bootloader but was trying to follow the app notes AN4379 / 4368as well as other postings here in order to use a RAM vector table so I could use the kernel level ISRs.


I rebuilt the libs with the

#define MQX_ROM_VECTORS    0

 

 

in the icf I have the line:-

 

place at address mem:__ICFEDIT_region_RAM_start__ { readwrite section .vectors_ram };

 

 

However, my app fell over as soon as the scheduler started, presumably as a result of the vector table not actaully being present in RAM (looking at the map file, there was no evidence  of it being put at the start of RAM).

 

The porblem being that the icf examples posted bear little resemblance to the example ones

 

Can someone please elaborate on how to configure MQX to use the RAM vector table ?

Outcomes