How to flash a elf(generated outside S32DS) on the MPC5748G Devkit over USB ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to flash a elf(generated outside S32DS) on the MPC5748G Devkit over USB ?

2,837 次查看
kishore_kumar_d
Contributor I

mpc5748g dev kit‌ 

I was successful in flashing this elf using the lauterbach + JTAG .

I am quite new to this Open SDA USB and seem to doing it wrong. I would like to know the procedure to flash a elf file over usb. 

My tools are 

Hardware 

  1. MPC5748G DEVKIT powered by 12V Supply 
  2. USB to Micro-B connector

Software 

  1. S32 Design Studio v2017.R1

With this above setup i would like to know what procedure or what tools i would need in order to flash the elf on the development kit ?

P.S : I have already tried the flash configuration in S32 DS with the Target and core selected but somehow the flash doesnt go through and just hangs in between.

标记 (1)
3 回复数

2,112 次查看
martin_kovar
NXP Employee
NXP Employee

Hello,

Some time ago, I created document, which seems to be the right one for your requirement. Please see the link below and eventually let me know, if it helps you.

https://community.nxp.com/docs/DOC-332252 

Regards,

Martin

2,112 次查看
sk4
Contributor II

Hi Martin,

This is a very useful document for flashing the binary to MPC target. This mainly uses S32DS for all the options listed.

Is this flashing of binary can be done without S32DS? I have binary (.elf file) generated for a project using S32DS.

Thanks in advance.

0 项奖励
回复

2,112 次查看
jfrey
Contributor IV

I wrote a short Python wrapper on the flash tool. I haven't tried it in a while. But it should work.

GitHub - jed-frey/opensda_flasher 

If not open an Issue.

0 项奖励
回复