Trying to implement serial port download on RAppID, but encountered an error

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

Trying to implement serial port download on RAppID, but encountered an error

337 Views
103
Contributor II

Using the UART0 of the S32K144, I had previously downloaded the s32k144.rbf file provided by Rappid from the S32DS v2018.

I wonder if there are any other points that need attention?Are there any specific requirements for the hardware? Or is the "Rappid" software still usable now? Thank you for your answer.2.png

0 Kudos
Reply
1 Reply

205 Views
stanish
NXP Employee
NXP Employee

Hi,

Yes, rappid software should be still usable for S32K144.

There are several issues that may end-up with the error message you posted.

1) make sure the rbf file is programmed in the target system (over jtag)

if the device is erased with only rappid bootloader and there is no Application loaded the bootloader waits infinite time waiting for data over SCI/CAN.

If you already programed an app with bootloader header there is typically few second timeout (this is configurable). So if you do not initiate s-record transfer before timeout you get this error message.

2) The Rappid botlader firmware (.rbf) uses specific pinmux configuration so it works typically with NXP EVBs (e.g. S32K144EVB)

If you have a custom board with different pins used to communicate via SCI you cannot use existing rbf. You might try to use an alternative if it is available:

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/RAppID-Bootloader-custom-rbf-files/ta-...

 

Hope it helps.

Stan

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2194113%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ETrying%20to%20implement%20serial%20port%20download%20on%20RAppID%2C%20but%20encountered%20an%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2194113%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EUsing%20the%20UART0%20of%20the%20S32K144%2C%20I%20had%20previously%20downloaded%20the%20s32k144.rbf%20file%20provided%20by%20Rappid%20from%20the%20S32DS%20v2018.%3C%2FP%3E%3CP%3EI%20wonder%20if%20there%20are%20any%20other%20points%20that%20need%20attention%3FAre%20there%20any%20specific%20requirements%20for%20the%20hardware%3F%20Or%20is%20the%20%22Rappid%22%20software%20still%20usable%20now%3F%20Thank%20you%20for%20your%20answer.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222.png%22%20style%3D%22width%3A%20653px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222.png%22%20style%3D%22width%3A%20653px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F362843i685AA5AE66307D8E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222.png%22%20alt%3D%222.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2197486%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Trying%20to%20implement%20serial%20port%20download%20on%20RAppID%2C%20but%20encountered%20an%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2197486%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3EYes%2C%20rappid%20software%20should%20be%20still%20usable%20for%20S32K144.%3C%2FP%3E%0A%3CP%3EThere%20are%20several%20issues%20that%20may%20end-up%20with%20the%20error%20message%20you%20posted.%3C%2FP%3E%0A%3CP%3E1)%20make%20sure%20the%20rbf%20file%20is%20programmed%20in%20the%20target%20system%20(over%20jtag)%3C%2FP%3E%0A%3CP%3Eif%20the%20device%20is%20erased%20with%20only%20rappid%20bootloader%20and%20there%20is%20no%20Application%20loaded%20the%20bootloader%20waits%20infinite%20time%20waiting%20for%20data%20over%20SCI%2FCAN.%3C%2FP%3E%0A%3CP%3EIf%20you%20already%20programed%20an%20app%20with%20bootloader%20header%20there%20is%20typically%20few%20second%20timeout%20(this%20is%20configurable).%20So%20if%20you%20do%20not%20initiate%20s-record%20transfer%20before%20timeout%20you%20get%20this%20error%20message.%3C%2FP%3E%0A%3CP%3E2)%20The%20Rappid%20botlader%20firmware%20(.rbf)%20uses%20specific%20pinmux%20configuration%20so%20it%20works%20typically%20with%20NXP%20EVBs%20(e.g.%20S32K144EVB)%3C%2FP%3E%0A%3CP%3EIf%20you%20have%20a%20custom%20board%20with%20different%20pins%20used%20to%20communicate%20via%20SCI%20you%20cannot%20use%20existing%20rbf.%20You%20might%20try%20to%20use%20an%20alternative%20if%20it%20is%20available%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FRAppID-Bootloader-custom-rbf-files%2Fta-p%2F1115140%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FRAppID-Bootloader-custom-rbf-files%2Fta-p%2F1115140%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EHope%20it%20helps.%3C%2FP%3E%0A%3CP%3EStan%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E