MQX system reset vector: Change code in reset vector

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MQX system reset vector: Change code in reset vector

989 次查看
rajath1383
Contributor I

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

标记 (3)
1 回复

878 次查看
rajath1383
Contributor I

followed AN4287 and built the BSP !!