Changing address of application code

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing address of application code

82 Views
Contributor III

I want to remove my bootloader so I can only upload the firmware using JTAG.

This means that when I power up, it should driectly run the application code.

How can I move up the application code to address 0000? Is there something I need to change in IDE settings or in build files?

folder where I get the bin file to upload on target

pastedImage_1.png

my systemconfig folder

pastedImage_2.png

ZhangJenniexiangjun.rong

Labels (1)
3 Replies

9 Views
NXP TechSupport
NXP TechSupport

Hi, Fasih,

Regarding your question, even if you have bootloader code in flash, after you download your application code to flash, and the Reset vector points to your application code, after Reset, only your application code is executed.

If you do want to remove your bootloader code, you can execute mass erase, which erase all flash.

BTW, can you tell us the part number?

BR

XiangJun Rong

9 Views
Contributor III

it is MC56F82748.

Can you tell me how to find and change the reset vector pointing to application code from code warrior or from linker/builder files?

I am new to this part of embedded :smileyhappy: 

xiangjun.rong

0 Kudos

9 Views
NXP TechSupport
NXP TechSupport

Hi, Fasih,

Pls refer to the following Figure, you can write the INTC_VBA to relocate the vector table.

BR

XiangJun Rong

pastedImage_1.png

0 Kudos