Reading memory from mc9s08ac128

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

Reading memory from mc9s08ac128

1,722 Views
albinaskanapins
Contributor I

Hello. 

 

Currently I have mc9s08ac128 microcontroller. What I'm trying to is to get full memory dump via USBDM, however with no luck. I've been searching the internet for exact memory addresses which should be read. I've tried many different cases but nothing seems to work.

 

My workflow looks like this:

  1. I reset mc9s08ac128 microcontroller to stock with my other programmer.
  2. I read some of the memory addresses with USBDM.
  3. Then I write the memory addresses back to the microcontroller.

But when I try out the microcontroller, it's not working. Reading and writing proccesses work, I don't get any errors.

 

So my question is: What exact memory addresses should read so that I would be able to flash it back after reading?

Labels (1)
0 Kudos
4 Replies

1,256 Views
galaxy_110
Contributor II

Open Usbdm memory dump.

Select hcs08.

Memory options = paged.

Write below

Page register address =78

1 Start=8000 end=bfff width=1.

2 start=18000 end=1bfff width=1

...

7 start = 68000 end = 6bfff width=1

8 start = 78000 end = 7bfff width=1

Then press read button.

0 Kudos

1,256 Views
tonyp
Senior Contributor II

Since this is a paged memory device (MMU) the 'safest' way to read the contents (in the sense of not forgetting any sections, and reading behind higher priority memory such as RAM) is to read the page window ($8000-$BFFF) for each page (PPAGE going from 0 to 7).

(You can also use linear addressing if your programmer supports it.)

0 Kudos

1,256 Views
hiphopbalance
Contributor I

What software did you use to read the MC9S08AC128 ?

0 Kudos

1,256 Views
阳骏韩
Contributor II

Hello, Mark Parker.

I want to use Mutillink universal to read the S12ZVMBA64 Flash data. Is there any good way?

0 Kudos