Reading memory from mc9s08ac128

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Reading memory from mc9s08ac128

1,738件の閲覧回数
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?

ラベル(1)
0 件の賞賛
4 返答(返信)

1,272件の閲覧回数
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 件の賞賛

1,272件の閲覧回数
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 件の賞賛

1,272件の閲覧回数
hiphopbalance
Contributor I

What software did you use to read the MC9S08AC128 ?

0 件の賞賛

1,272件の閲覧回数
阳骏韩
Contributor II

Hello, Mark Parker.

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

0 件の賞賛