What is the best method of flashing code onto S32K148?

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

What is the best method of flashing code onto S32K148?

828 Views
Poley
Contributor V

Hi all,

Sorry if this is a stupid question, I am used to using PIC's with PicKit so this is new to me.

I have been using the S32K148EVB and am now in the process of making a PCB with the S32K148 uC. I have a CAN bootloader that I flash onto the board and then use RAppID bootloader to flash the application code.

For the EVB I have been using OpenSDA in S32DS to program my .rbf bootloader file. I ideally don't want to have all of the OpenSDA stuff on the board so I was wondering what the easiest application would be for me to implement to flash my .rbf bootloader code to the onboard chip.

Thank you!

0 Kudos
5 Replies

823 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Poley,

The rbf file in s19 format can be flashed with any programmer (PE Micro Multilink, Segger J-link, Lauterbach, ...) via the JTAG/SWD port. (J10 on the EVB).

 

Regards,

Daniel

 

0 Kudos

818 Views
Poley
Contributor V

Hi @danielmartynek 

Probably a stupid question but how do I get the .rbf into s19 format?

Thanks!

0 Kudos

814 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Poley,

Sorry for the confusion.

It is in S19 format and it can be loaded like this from the S32DS.

danielmartynek_0-1623248910499.png

Instead of PE Micro OpenSDA you can use PE Micro Multilink.

 

Regards,

Daniel

 

 

0 Kudos

811 Views
Poley
Contributor V

Hi @danielmartynek 

That's perfect, thank you!

So as long as my design has the same JTAG pinout to the dev board (Will just copy it fully so it works the same):

Poley_0-1623249843611.png

 

Then I should be able to flash my .rbf using a JTAG tool in S32DS?

Thanks for the help!

0 Kudos

804 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Yes, that is correct,

I tested it with a PE Micro Multilink probe on S32K144 EVB.

 

BR, Daniel

0 Kudos