Read Flash Memory using PEmicro and CodeWarrior IDE (MC9S12XET256 MCU)

170 views Asked by At

I am attempting to read the flash memory of the MC9S12XET256 MCU for inspection and exploration purposes, using the following tools:

  1. CodeWarrior IDE
  2. 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?

enter image description here enter image description here

1

There are 1 answers

3
Clifford On BEST ANSWER

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):

enter image description here

enter image description here

No doubt better information in the user manual, but requires an account to download, which I have no need for.