S32G EVB SD card Boot with M7 as Boot Target

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

S32G EVB SD card Boot with M7 as Boot Target

1,364 Views
jjysekm
Contributor I

Dear NXP Team,

We are working for developing a simple led glow application using S32G IDE 3.4 and S32G2 Beta SDK 0.9.0. Boot target is M7 and run in SRAM memory in S32G EVB VNP.

Application code is successfully verified using S32 Debugger. However binary image generated (IVT + DCD + Application code header + Application Code) for SD card boot is not working.

Below is image layout

============================

IVT offset @ 0x1000

DCD offset @ 0x1200 (Added SRAMC and SRAMC_1 initialize)

Application Boot Header @ 0x3200

Application Code @ 0x3240

=============================

Binary image is flashed to SD card using dd command

sudo dd if=sdimage.bin of=${DEVSD} conv=notrunc bs=256 count=1 seek=0
sudo dd if=sdimage.bin of=${DEVSD} conv=notrunc bs=512 seek=1 skip=1

1. Do we need to add any additional configuration in DCD (apart from SRAM and SRAMC_1) for SD card booting?

2. Are we missing any steps in IVT/Application code generation?

Request for support as we are currently blocked.

 

Thanks

Jeffin

0 Kudos
2 Replies

612 Views
longtengqiufeng
Contributor I

Hello,has the problem been solved? I had the same problem.

0 Kudos

1,345 Views
bpe
NXP Employee
NXP Employee

There is a good document on NXP public Website explaining in great details how
to run a simple M7 core application from an SD card. Follow the document as
close as possible to get a workable application image. Note that the versions of
the software you are working with are obsolete and require an upgrade. The
document mentioned above explains how to obtain more recent.

Hope this helps,
Platon

 

0 Kudos