MPC5775B – Application to RAppID Bootloader transition

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

MPC5775B – Application to RAppID Bootloader transition

Jump to solution
412 Views
NXP_007
Contributor II

Hello NXP Team, I am using MPC5775B with RAppID Bootloader for CAN flashing.
I do not have the RAppID FBL source code, so I cannot modify the existing FBL.
Is there a supported mechanism for the running application to request the existing RAppID FBL to enter programming mode?
If yes, what is the required Application → FBL entry sequence for MPC5775B?
Does this require a specific reset/boot mechanism, or does RAppID provide another way to request FBL from the application?

Tags (1)
0 Kudos
Reply
1 Solution
392 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

There is no built-in, documented API in the RAppID FBL for the running application to programmatically request FBL entry. The RAppID bootloader for MPC57xx is a closed-binary, flash-resident bootloader (distributed as a pre-compiled .rbf file) with no source code provided and no modification possible.
The standard mechanism to trigger it is a reset + boot-time flag check, not a runtime call from the application.

Best regards,

Peter

View solution in original post

5 Replies
217 Views
NXP_007
Contributor II

@lukaszadrapa Can you help me out on this topic?

0 Kudos
Reply
201 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @NXP_007 

As Peter said, you can't request  to run the bootloader from your application. The bootloader starts after each reset and it waits pre-defined time if it gets a response from RAppidBL application running on PC. If not, it starts the application. 

The delay can be changed by user. See "2.7 RAppID Boot Loader Flash Algorithm (RBF)" in the user manual for details. 

Regards,

Lukas

255 Views
NXP_007
Contributor II

Please do let me know if you have any solution to the problem.

Thank you,

0 Kudos
Reply
393 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

There is no built-in, documented API in the RAppID FBL for the running application to programmatically request FBL entry. The RAppID bootloader for MPC57xx is a closed-binary, flash-resident bootloader (distributed as a pre-compiled .rbf file) with no source code provided and no modification possible.
The standard mechanism to trigger it is a reset + boot-time flag check, not a runtime call from the application.

Best regards,

Peter

363 Views
NXP_007
Contributor II
Thanks Peter. Understood that the mechanism is a reset followed by a boot-time flag check. Since we do not have the RAppID FBL source code, could you please clarify what boot-time flag/condition the RAppID FBL for MPC5775B checks, and how the application can set/request it before reset?

Is this a specific RAM address/magic value, reset-cause condition, configuration field, or another mechanism? If there is an application-side procedure or documentation for setting this flag, could you please share it?
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2412743%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMPC5775B%20%E2%80%93%20Application%20to%20RAppID%20Bootloader%20transition%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2412743%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20NXP%20Team%2C%20I%20am%20using%20%3CSTRONG%3EMPC5775B%20with%20RAppID%20Bootloader%3C%2FSTRONG%3E%20for%20CAN%20flashing.%3CBR%20%2F%3EI%20do%20not%20have%20the%20RAppID%20FBL%20source%20code%2C%20so%20I%20cannot%20modify%20the%20existing%20FBL.%3CBR%20%2F%3EIs%20there%20a%20%3CSTRONG%3Esupported%20mechanism%20for%20the%20running%20application%20to%20request%20the%20existing%20RAppID%20FBL%20to%20enter%20programming%20mode%3C%2FSTRONG%3E%3F%3CBR%20%2F%3EIf%20yes%2C%20what%20is%20the%20required%20Application%20%E2%86%92%20FBL%20entry%20sequence%20for%20MPC5775B%3F%3CBR%20%2F%3EDoes%20this%20require%20a%20specific%20reset%2Fboot%20mechanism%2C%20or%20does%20RAppID%20provide%20another%20way%20to%20request%20FBL%20from%20the%20application%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2412931%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MPC5775B%20%E2%80%93%20Application%20to%20RAppID%20Bootloader%20transition%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2412931%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EThere%20is%20no%20built-in%2C%20documented%20API%20in%20the%20RAppID%20FBL%20for%20the%20running%20application%20to%20programmatically%20request%20FBL%20entry.%20The%20RAppID%20bootloader%20for%20MPC57xx%20is%20a%20closed-binary%2C%20flash-resident%20bootloader%20(distributed%20as%20a%20pre-compiled%20.rbf%20file)%20with%20no%20source%20code%20provided%20and%20no%20modification%20possible.%20%3CBR%20%2F%3EThe%20standard%20mechanism%20to%20trigger%20it%20is%20a%20reset%20%2B%20boot-time%20flag%20check%2C%20not%20a%20runtime%20call%20from%20the%20application.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2413556%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MPC5775B%20%E2%80%93%20Application%20to%20RAppID%20Bootloader%20transition%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2413556%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThanks%20Peter.%20Understood%20that%20the%20mechanism%20is%20a%20reset%20followed%20by%20a%20boot-time%20flag%20check.%20Since%20we%20do%20not%20have%20the%20RAppID%20FBL%20source%20code%2C%20could%20you%20please%20clarify%20what%20boot-time%20flag%2Fcondition%20the%20RAppID%20FBL%20for%20MPC5775B%20checks%2C%20and%20how%20the%20application%20can%20set%2Frequest%20it%20before%20reset%3F%3CBR%20%2F%3E%3CBR%20%2F%3EIs%20this%20a%20specific%20RAM%20address%2Fmagic%20value%2C%20reset-cause%20condition%2C%20configuration%20field%2C%20or%20another%20mechanism%3F%20If%20there%20is%20an%20application-side%20procedure%20or%20documentation%20for%20setting%20this%20flag%2C%20could%20you%20please%20share%20it%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2414847%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MPC5775B%20%E2%80%93%20Application%20to%20RAppID%20Bootloader%20transition%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2414847%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EPlease%20do%20let%20me%20know%20if%20you%20have%20any%20solution%20to%20the%20problem.%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2415878%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MPC5775B%20%E2%80%93%20Application%20to%20RAppID%20Bootloader%20transition%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2415878%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F37795%22%20target%3D%22_blank%22%3E%40lukaszadrapa%3C%2FA%3E%26nbsp%3BCan%20you%20help%20me%20out%20on%20this%20topic%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2416362%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MPC5775B%20%E2%80%93%20Application%20to%20RAppID%20Bootloader%20transition%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2416362%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F265056%22%20target%3D%22_blank%22%3E%40NXP_007%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20Peter%20said%2C%20you%20can't%20request%26nbsp%3B%20to%20run%20the%20bootloader%20from%20your%20application.%20The%20bootloader%20starts%20after%20each%20reset%20and%20it%20waits%20pre-defined%20time%20if%20it%20gets%20a%20response%20from%20RAppidBL%20application%20running%20on%20PC.%20If%20not%2C%20it%20starts%20the%20application.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20delay%20can%20be%20changed%20by%20user.%20See%20%222.7%20RAppID%20Boot%20Loader%20Flash%20Algorithm%20(RBF)%22%20in%20the%20user%20manual%20for%20details.%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3ELukas%3C%2FP%3E%3C%2FLINGO-BODY%3E