AnsweredAssumed Answered

MQX system reset vector: Change code in reset vector

Question asked by KS Rajath on Nov 22, 2018
Latest reply on Nov 23, 2018 by KS Rajath

I want to change the reset vector code for my application, I would like to know the procedure to change the code.  Map file indicates that the function is defined in twrmpc5125_d.a & boot.0.

In the provided path i found boot.s & boot.c, but changing the code in boot.c & boot.s doesnot change the output.

I dont know how to update twrmpc5125_d.a

 

 


  00000000 000008 00020000 00000240  1 .warm_start     twrmpc5125_d.a C:\Program Files (x86)\Freescale\Freescale MQX 3.7\mqx\source\bsp\twrmpc5125\cw\boot.o
  00000100 00006c 00020100 00000340  1 .vector0100     twrmpc5125_d.a C:\Program Files (x86)\Freescale\Freescale MQX 3.7\mqx\source\bsp\twrmpc5125\cw\boot.o
  00000100 00006c 00020100 00000340  4 __system_reset     twrmpc5125_d.a C:\Program Files (x86)\Freescale\Freescale MQX 3.7\mqx\source\bsp\twrmpc5125\cw\boot.o
  00000200 000004 00020200 00000440  1 .vector0200     twrmpc5125_d.a C:\Program Files (x86)\Freescale\Freescale MQX 3.7\mqx\source\bsp\twrmpc5125\cw\boot.o
  00000200 000004 00020200 00000440  4 __vector0200     twrmpc5125_d.a C:\Program Files (x86)\Freescale\Freescale MQX 3.7\mqx\source\bsp\twrmpc5125\cw\boot.o
  00000300 000020 00020300 00000540  1 .dsExcpt     mqx_d.a C:\Program Files (x86)\Freescale\Freescale MQX 3.7\mqx\source\psp\powerpc\dispatch.o
  00000400 000020 00020400 00000640  1 .isExcpt     mqx_d.a C:\Program Files (x86)\Freescale\Freescale MQX 3.7\mqx\source\psp\powerpc\dispatch.o

Outcomes