Flash application file without Flash Driver via S32k142 UDS Bootloader

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

Flash application file without Flash Driver via S32k142 UDS Bootloader

2,633 Views
Prasad7
Contributor I

I am using S32k142 Example code for UDS Bootloader so i am able to flash my application file through UDS Bootloader but before that I need to download Flash driver file in Ram Memory,

My Requirement is i need to download Application file without flash Driver file. So please guide me regarding this which steps i need to modify in S32k142 Example code.

Thank You

0 Kudos
Reply
8 Replies

2,447 Views
Prasad7
Contributor I

Hi NXP Team ,

Now my bootloader size become 46kb i want to optimize it up to 32kb is their any provision for it. I am using CANTP of Example code of S42k142 bootloader.

0 Kudos
Reply

2,394 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Prasad7

I don't quite understand what you are talking about, what is your specific problem?
Without details, I can't give you my advice

0 Kudos
Reply

2,587 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Prasad7

The flash driver makes some APIs related to operating flash into independent files(.bin or hex,s19 etc), and then writes them to the specified location in the MCU through CAN or LIN.

So you can directly attribute these APIs to the specified RAM address in the BOOT project.

But for the Unified Bootloader we provide, if you modify it, it will be a lot of work, which will also involve the

UDS protocol itself.

 

0 Kudos
Reply

2,563 Views
Prasad7
Contributor I

Please explain below Line in details:

So you can directly attribute these APIs to the specified RAM address in the BOOT project.

0 Kudos
Reply

2,574 Views
Prasad7
Contributor I

Can you please provide source code for flash driver so i can test and integrate with my bootloader code

or suggest me any other steps to resolve this issue.

0 Kudos
Reply

2,548 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Prasad7

In the link document I provided you, there is a method for using the keyword "attribute".

This means that you need to include FLASH APIs in the BOOTLOADER code and use the keyword

"attribute" to assign these APIs to the SRAM address during the compilation process.

0 Kudos
Reply

2,564 Views
Senlent
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

2,321 Views
Prasad7
Contributor I

Please share me the steps with example to generate .s37 file format in S32DS . 

0 Kudos
Reply