Hello everyone,
I’m working with an MPC5675K microcontroller and currently have a bootloader built as an ELF file using CodeWarrior/S32DS. Until now, I have been flashing the device through the IDEs using the proprietary P&E flash tools (de.exe, TCL/MAC scripts, etc.). However, I need a fully automated, command‑line flashing solution that does not rely on launching an IDE.
My specific requirements are as follows:
I need to flash the existing bootloader ELF file (I cannot update or modify the bootloader) from the command line.
The solution must be based on open‑source or free‑of‑cost tools.
I’ve looked into using de.exe directly with command‑line switches (e.g., –uncensor, –script, –erase, –program, –verify), but my version of de.exe does not support these parameters.
I’m interested in either finding an open‑source command‑line flash tool that can process an ELF file for the MPC5675K or learning how to use the P&E GDI API for this purpose, if such access is available.
Has anyone successfully implemented a command‑line flashing solution (without relying on CodeWarrior or S32DS) for the MPC5675K? If so, could you share details or pointers regarding:
An open‑source tool (or combination of tools) that can flash an ELF file using, for example, the P&E GDI API, or
Any documentation or sample code that demonstrates how to develop such a tool?
Any guidance, resources, or experiences you can share would be greatly appreciated.
Thank you in advance!
Solved! Go to Solution.
PeMicro has a tool called PROGPPCNEXUS. It is flash programmer and with this you can do all these operations. In the attached screenshot you can see how to upload MCU memory content into s19 file (S-record) and with this tool you can also erase the chip and program it.
PeMicro offers their own debugger (called 64K Starter Edition of P&E's PKGPPCNEXUS. Trial version is free (it is needed to be registered and logged in), programmer is part of the package:
http://www.pemicro.com/downloads/download_file.cfm?download_id=194
For further detail I would recommend to contact PeMicro support:
PeMicro has a tool called PROGPPCNEXUS. It is flash programmer and with this you can do all these operations. In the attached screenshot you can see how to upload MCU memory content into s19 file (S-record) and with this tool you can also erase the chip and program it.
PeMicro offers their own debugger (called 64K Starter Edition of P&E's PKGPPCNEXUS. Trial version is free (it is needed to be registered and logged in), programmer is part of the package:
http://www.pemicro.com/downloads/download_file.cfm?download_id=194
For further detail I would recommend to contact PeMicro support: