mpc5744P_CAN_BootLoader

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mpc5744P_CAN_BootLoader

4,861 Views
陈简陈
Contributor III

This is a mpc5744P_CAN_BootLoader demo. There are two program source codes: 1.MPC5744P_CAN_Bootloader_and_APP_two_in_one_package_DEKIT-MPC5744P(bootloader Project and APP Project). 2.VC_Example_USB-CAN.

Hardware: DEKIT-MPC5744P and GY8507-USBtoCAN. Software: S32DS IDE and Microsoft Visual Studio.

programming language:C and C++. PC platform: windows7 or windows10.

note: you can see the picture folder.

Thanks the NXP engineer(Enwei Hu) for technical support.

You can download the source code directly.

GitHub - cishudian/mpc5744P_CAN_BootLoader: mpc5744P_CAN_BootLoader 

8 Replies

3,472 Views
Narudol-T
Contributor III

Dear @陈简陈 @lukaszadrapa ,

 

I am trying to use this bootloader as recommended from openTicket Support team.

> Flashing the "MPC5744P_CAN_Bootloader.elf" file to board

> Open device of GY8507 by Demo_CAN app successfully

> Send "MPC5744P_CAN_Bootloader_APP_LED_Toggle_Align_8.s19" file by GUI application.

> CAN Communication stopped.

> Reset Hardware devkit

> Send file again, No communication RX back from board.

 

Could you help advise what settings I should fix to up-running this demo ?

 

Best regards,

Narudol T.

 

0 Kudos

4,285 Views
CCandido
Contributor V

Hi,

mpc55xx and mpc56xx, bootloader runnig ?

with modifier code.

thanks,

Carlos. 

0 Kudos

4,285 Views
陈简陈
Contributor III

Hi,MPC5744P is runing ,if you modifier the CAN driver and startup codes, the mpc55xx and mpc56xx, bootloader can runing.Thanks!

0 Kudos

4,285 Views
陈简陈
Contributor III

Yes,0x00FB0004 is defined in the app-project

0 Kudos

4,285 Views
qm1013
Contributor III

Thank you very much !

0 Kudos

4,285 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

thanks for sharing!

Regards,

Lukas

0 Kudos

4,285 Views
qm1013
Contributor III

Hello, I have find some problems. About the flash boot loader-project.

/* get the content(reset/start function address) of the user application project from its boot_reset_vector address*/
#define APP_StartAddr (*(uint32_t*)0x00FA0004)

I think the value is wrong . Because in the flashbootloader-project, 0x00FA004 means the cpu0_reset_vec of the bootloader not app. 

It should be 0x00FB0004 defined in the app-project . The app-project has defined it in its link file.

Could you help me check it ? Thank you very much.

4,255 Views
wglqrs
Contributor I

I have the same question, did you solve your confusion?

0 Kudos