Writing ELF binary into MPC5748G Flash

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Writing ELF binary into MPC5748G Flash

565件の閲覧回数
bix010
Contributor III

Hi,

I'm using S32 with PEMicro debugger to write my compiled ELF into the flash of a MPC5748G LCEVB.

For debugging reasons, I also dumped out the full 6MB contents of user application flash. However, I can't find my ELF file in the dumped binary. The ELF magic number can't even be found.

How does S32 copy ELF binaries into flash?

Thanks!

0 件の賞賛
3 返答(返信)

438件の閲覧回数
bix010
Contributor III

Hi Jiri,

Thanks for your reply. Am I correct to say that S32DS discards the ELF headers and only copies the necessary binary sections into their respective physical memory addresses?

0 件の賞賛

438件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

yes, you are right. 

Jiri

0 件の賞賛

438件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

S32DS gets from elf raw binary data and write it into flash memory. Elf file is used for symbols and source code location.

Jiri 

0 件の賞賛