Flash MPC5748G

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

Flash MPC5748G

806 Views
william_yang
Contributor I

How to flash MPC5748G?

Could you help to share some documents on flashing chip?

How many ways to flash this chip?

0 Kudos
1 Reply

734 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi William,

do you mean production programming? Or for debugging only? Or do you want to program the flash in runtime by your code?

Production programming: the device can be programmed via JTAG interface. This is supported by third party JTAG programmers, like:

PEmicro | Experts in Embedded tools for Flash Programming and Development 

The 'Cyclone' devices are intended for production programming. Then I can recall other vendors like Segger, Xeltek, Elnec...

Some customers develop own JTAG programmer to meet their specific needs (note: high effort to do this). We have this application note:

https://www.nxp.com/docs/en/application-note/AN4365.pdf 

It's also possible to use serial boot mode which is implemented on this device. But this is not common solution. 

Debugging: if you use S32 Design Studio, you can use in-built OpenSDA interface on DEVKIT-MPC5748G evaluation board. If you have own design, then Multilink devices from Pemicro are supported (link above).

Runtime programming:

- You can use SDK drivers which are included in S32 Design Studio. Example can be found here:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.0\examples\MPC5748G\driver_examples\system\flash_program_erase\

- You can use these SSD flash drivers:

https://www.nxp.com/webapp/Download?colCode=C55_NVM_SSD 

or EEPROM emulation drivers:

https://www.nxp.com/webapp/Download?colCode=MPC5XXX_EEE_DRIVER 

- and the last option, you can write own code following "74.6.1 User Mode" section in the manual:

https://www.nxp.com/webapp/Download?colCode=MPC5748GRM 

Regards,

Lukas

0 Kudos