AnsweredAssumed Answered

Memory Map Error during compilation - Vybrid Tower

Question asked by Jack Blather on Jan 13, 2014
Latest reply on Jan 22, 2014 by Petr Uhlir

I am able to compile my PEx project without errors and run it on the Vybrid tower under the DS-5 Debugger. I'm using MQX v4.0.2-GA

 

However, I just added the MQX component to my PEx project and now I get this compile error:

 

"../Generated_Code/IO_Map.h", line 49: Error:  #35: #error directive: MVF61NN151MK50 memory map: There is already included another memory map. Only one memory map can be included."

 

I don't know where I could have included another memory map or where I could begin looking for this 'rogue' memory map.

 

Can someone help?

 

Also, the online Help for the MQX component says "Vector table is not generated. All interrupt service routines (ISR) are installed through RTOS.", but the vector_table[] array is generated in Generated_Code/Vectors.c and is populated with the interrupt for the serial port I'm using. I found in AS1.c, that PEx is making the call to _int_install_isr() for the AS1 ISR installation into MQX. So that seems to be working ok, but it's generating the vector table, too. Is that a bug?

 

Thanks

 

OnEdit: I found that the PSP (Processor Support Package?) includes a file "MVF50GS10MK50.h". It's included in another include file, "vybrid.h". I think this is where the 'rogue' memory map is installed. How do I resolve this?

Outcomes