For SAF85xx Application code flashing using USB, how to switch between bmode1 and bmode2 using GUI

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

For SAF85xx Application code flashing using USB, how to switch between bmode1 and bmode2 using GUI

665 Views
AbdulKhader
Contributor II

Hi I'm new to this NXP- SAF85xx SOC, each time I code and flash I need to manually change the bmode1, can anyone help me to get the GUI which helps to control the bmode switch and reset board to flashing and booting.

0 Kudos
Reply
4 Replies

542 Views
AbdulKhader
Contributor II

Thanks @nxf59728 for the reply, I'm using the SAF85xx SoC and yes Flash tool for usb flash, recently I got to know that there is a script with the help of which the boot mode and flash mode con be changed. If so, please share it, also I want to know where I can get the network bootloader SW package.

0 Kudos
Reply

165 Views
nxf59728
NXP Employee
NXP Employee

Hello @AbdulKhader ,

I am pretty sure there is no such script to change the boot/flash mode, since these are bootstrap pins, that are read at boot-time. Please provide me the source for this information, since I believe there is some kind of misunderstanding.

Regarding the networkbootloader, you should be able to access it via your NXP Software Account. The direct link is https://freescaleesd.flexnetoperations.com/337170/701/13109701/SAF85xx_SAF86xx_Network_Bootloader_5....

but you need to be logged-in. If you dont have a NXP Software account, please let me know and I can (if all the legal parts are in), provide you access to it.

Also, can you tell me what actual project you are working ?

 

Hope this helps,

Kind regards,

Pedro

0 Kudos
Reply

102 Views
AbdulKhader
Contributor II

Thanks a lot for the info @nxf59728 , I'm
-try out IPCF communication of storing and retrieving a sample 200KB data between A53(bare-metal) and M7(NXP-RTOS) both direction, going through example codes,
-trying out configuration mex file, I'm generating single image using SlimBoot-loader but facing issues,
for which I was looking for a GUI / Script based SW-tool which can do Usb/uart mode to Boot-mode switch and vice-versa; without the need to manual changing the Bmode1. 

Tags (1)
0 Kudos
Reply

617 Views
nxf59728
NXP Employee
NXP Employee

Hello,

I am assuming you are using the NXP EVK and S32 Flasher Tool to flash the device via the UART.

The BMOD pins control the way the device boots from (either from FLASH or SERIAL/CAN) and can only be configured via bootstrap pins (DIP switches on the board) and not possible via any GUI.

The best way for development is for example:

1) To load the application into RAM and execute using a DEBUG probe. (No need to flash and change the BMOD pins every time.)
2) Use the Network Bootloader SW package that allows the customer to update the application via Ethernet every time it's required.

I don't know your requirements, so I am not sure what's best for you to go forward.

 

Let me know if this helps,

 

Kind regards,

Pedro Gomes

 

 

%3CLINGO-SUB%20id%3D%22lingo-sub-2248398%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFor%20SAF85xx%20Application%20code%20flashing%20using%20USB%2C%20how%20to%20switch%20between%20bmode1%20and%20bmode2%20using%20GUI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2248398%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20I'm%20new%20to%20this%20NXP-%20SAF85xx%20SOC%2C%20each%20time%20I%20code%20and%20flash%20I%20need%20to%20manually%20change%20the%20bmode1%2C%20can%20anyone%20help%20me%20to%20get%20the%20GUI%20which%20helps%20to%20control%20the%20bmode%20switch%20and%20reset%20board%20to%20flashing%20and%20booting.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2249136%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20For%20SAF85xx%20Application%20code%20flashing%20using%20USB%2C%20how%20to%20switch%20between%20bmode1%20and%20bmode2%20using%20G%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2249136%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EI%20am%20assuming%20you%20are%20using%20the%20NXP%20EVK%20and%20S32%20Flasher%20Tool%20to%20flash%20the%20device%20via%20the%20UART.%3C%2FP%3E%0A%3CP%3EThe%20BMOD%20pins%20control%20the%20way%20the%20device%20boots%20from%20(either%20from%20FLASH%20or%20SERIAL%2FCAN)%20and%20can%20only%20be%20configured%20via%20bootstrap%20pins%20(DIP%20switches%20on%20the%20board)%20and%20not%20possible%20via%20any%20GUI.%3C%2FP%3E%0A%3CP%3EThe%20best%20way%20for%20development%20is%20for%20example%3A%3C%2FP%3E%0A%3CP%3E1)%20To%20load%20the%20application%20into%20RAM%20and%20execute%20using%20a%20DEBUG%20probe.%20(No%20need%20to%20flash%20and%20change%20the%20BMOD%20pins%20every%20time.)%3CBR%20%2F%3E2)%20Use%20the%20Network%20Bootloader%20SW%20package%20that%20allows%20the%20customer%20to%20update%20the%20application%20via%20Ethernet%20every%20time%20it's%20required.%3C%2FP%3E%0A%3CP%3EI%20don't%20know%20your%20requirements%2C%20so%20I%20am%20not%20sure%20what's%20best%20for%20you%20to%20go%20forward.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ELet%20me%20know%20if%20this%20helps%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EKind%20regards%2C%3C%2FP%3E%0A%3CP%3EPedro%20Gomes%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2253362%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20For%20SAF85xx%20Application%20code%20flashing%20using%20USB%2C%20how%20to%20switch%20between%20bmode1%20and%20bmode2%20using%20G%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2253362%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F92490%22%20target%3D%22_blank%22%3E%40nxf59728%3C%2FA%3E%26nbsp%3Bfor%20the%20reply%2C%20I'm%20using%20the%20SAF85xx%20SoC%20and%20yes%20Flash%20tool%20for%20usb%20flash%2C%20recently%20I%20got%20to%20know%20that%20there%20is%20a%20script%20with%20the%20help%20of%20which%20the%20boot%20mode%20and%20flash%20mode%20con%20be%20changed.%20If%20so%2C%20please%20share%20it%2C%20also%20I%20want%20to%20know%20where%20I%20can%20get%20the%20network%20bootloader%20SW%20package.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2263960%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20For%20SAF85xx%20Application%20code%20flashing%20using%20USB%2C%20how%20to%20switch%20between%20bmode1%20and%20bmode2%20using%20G%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2263960%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F257037%22%20target%3D%22_blank%22%3E%40AbdulKhader%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EI%20am%20pretty%20sure%20there%20is%20no%20such%20script%20to%20change%20the%20boot%2Fflash%20mode%2C%20since%20these%20are%20bootstrap%20pins%2C%20that%20are%20read%20at%20boot-time.%20Please%20provide%20me%20the%20source%20for%20this%20information%2C%20since%20I%20believe%20there%20is%20some%20kind%20of%20misunderstanding.%3C%2FP%3E%0A%3CP%3ERegarding%20the%20networkbootloader%2C%20you%20should%20be%20able%20to%20access%20it%20via%20your%20NXP%20Software%20Account.%20The%20direct%20link%20is%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ffreescaleesd.flexnetoperations.com%2F337170%2F701%2F13109701%2FSAF85xx_SAF86xx_Network_Bootloader_5.0.0_D240930.zip%3FftpRequestID%3D4137346391%26amp%3Bserver%3Dfreescaleesd.flexnetoperations.com%26amp%3Bdtm%3DDTM20251216131554ODI2NzUyNTYy%26amp%3Bauthparam%3D1765919754_fb44ca01d852a595e146b5ac8d94e803%26amp%3Bext%3D.zip%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ffreescaleesd.flexnetoperations.com%2F337170%2F701%2F13109701%2FSAF85xx_SAF86xx_Network_Bootloader_5.0.0_D240930.zip%3FftpRequestID%3D4137346391%26amp%3Bserver%3Dfreescaleesd.flexnetoperations.com%26amp%3Bdtm%3DDTM20251216131554ODI2NzUyNTYy%26amp%3Bauthparam%3D1765919754_fb44ca01d852a595e146b5ac8d94e803%26amp%3Bext%3D.zip%3C%2FA%3E%3C%2FP%3E%0A%3CP%3Ebut%20you%20need%20to%20be%20logged-in.%20If%20you%20dont%20have%20a%20NXP%20Software%20account%2C%20please%20let%20me%20know%20and%20I%20can%20(if%20all%20the%20legal%20parts%20are%20in)%2C%20provide%20you%20access%20to%20it.%3C%2FP%3E%0A%3CP%3EAlso%2C%20can%20you%20tell%20me%20what%20actual%20project%20you%20are%20working%20%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EHope%20this%20helps%2C%3C%2FP%3E%0A%3CP%3EKind%20regards%2C%3C%2FP%3E%0A%3CP%3EPedro%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2265154%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20For%20SAF85xx%20Application%20code%20flashing%20using%20USB%2C%20how%20to%20switch%20between%20bmode1%20and%20bmode2%20using%20G%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2265154%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20a%20lot%20for%20the%20info%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F92490%22%20target%3D%22_blank%22%3E%40nxf59728%3C%2FA%3E%26nbsp%3B%2C%20I'm%3CBR%20%2F%3E-try%20out%20IPCF%20communication%20of%20storing%20and%20retrieving%20a%20sample%20200KB%20data%20between%20A53(bare-metal)%20and%20M7(NXP-RTOS)%20both%20direction%2C%20going%20through%20example%20codes%2C%3CBR%20%2F%3E-trying%20out%20configuration%20mex%20file%2C%20I'm%20generating%20single%20image%20using%20SlimBoot-loader%20but%20facing%20issues%2C%3CBR%20%2F%3Efor%20which%20I%20was%20looking%20for%20a%20GUI%20%2F%20Script%20based%20SW-tool%20which%20can%20do%20Usb%2Fuart%20mode%20to%20Boot-mode%20switch%20and%20vice-versa%3B%20without%20the%20need%20to%20manual%20changing%20the%20Bmode1.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E