 
					
				
		
Hi everyone!
I´m trying to relocate the IVT in order to use a Bootloader and I need to relocate the table to the start location 0x8080.
I found an instruction in the reference manual that let me change the location of the interrupt vector table but CW10 do not recognize the MQX command.
Do I need a library in order to use the command?
Is there an example of how to use it?
Can I put an hexadecimal number in the parameters?
How I use this function?
The command I found it is: _int_set_vector_tablee( _psp_code_addr new)
Thanks and regards! =)
 
					
				
		
 Carlos_Musich
		
			Carlos_Musich
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
do you need the vector table in that specific address? You can set MQX_ROM_VECTORS macro = 0 in user_config.h and rebuild bsp and psp. This will relocate vectors in RAMnad MQX will do ir for you.
#define MQX_ROM_VECTORS 0
You only need to move (set offset) of the the linker file segments to make space for your bootloader.
Regards,
Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
