I am attempting to read the flash memory of the MC9S12XET256
MCU for inspection and exploration purposes, using the following tools:
- CodeWarrior IDE
- PEmicro Debugger
Unfortunately, I have been unable to locate an option within CodeWarrior that allows me to read the flash without loading into it. Currently, there is only one option (Debug F5) that erases the flash, loads the newly compiled code, and then enters debugging mode.
I also discovered a tool on the official PEmicro website under the PKG Software Packages group, but it comes with a price tag of around $400.
Is there any method or workaround to read the flash memory without altering its contents using the mentioned setup?
Not familiar with your toolchain, but I would expect an ability to disable loading an executable on debugger start-up. Looking for such a capability on PEMicro suggests this (in red - the image is from a blog on a different issue on PEMicro site):
No doubt better information in the user manual, but requires an account to download, which I have no need for.