Memory Dump mc9s12xep100

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

Memory Dump mc9s12xep100

2,237 Views
emretunali
Contributor II

Hello PGO,

Unsecure mc9s12xep100

Flash

Dflash

Eeprom

start stop address and width

Thank you.

Best Regards.

7 Replies

1,621 Views
pgo
Senior Contributor V

Hi SM,

I'm unsure if you are saying it didn't work or that the above list is incorrect?

The list given agrees with the description of the device i.e. 64 x 16K pages.

Please use the version USBDM_4_12_1_120_Win_b.msi​ as some version had a problem with paged addresses,

I did a partial test based on the above and it agrees with what was programmed into the device.

bye

0 Kudos

1,621 Views
emretunali
Contributor II

I've read the mcu flash without any problems. I wanted to write the file i had read into a new mcu, but it wrote in the first time. After that it started to display the fault message 'target is secured'. Even though i did a mass erase, i can't write anything now. Why is this happening?

0 Kudos

1,621 Views
pgo
Senior Contributor V

Hi SM,

The security of the device is determined by the image and the security options selected in the programmer.  Did you select Unsecure before programming?

pastedImage_0.png

The Mass Erase Now button mass-erases the device.  A mass-erased XEP is secured since the security area is blank.  The Mass Erase Now button does not program the security area (to avoid wear on the chip).

You have to select the mass erase option for programming to a secured device:

pastedImage_0.png

I'm sorry the error dialogue is unclear.

pastedImage_2.png

Mass-erase is described here:

USBDM-Flash-Programmers: Flash Programmers Details

bye

0 Kudos

1,621 Views
pgo
Senior Contributor V

Hi Sm,

I don't believe it is possible to read the paged EEPROM (from memory - I haven't done HCS12 stuff for years) as paging of EEPROM is not supported by the Memory dump utility.

To read the Flash you would need to define the following memory ranges (based upon the Project.prm file from a Codewarrior project):

All of the following would be 1 byte accesses:

Unpaged

4000 7FFF

C000 FFFF

Paged

C08000 C0BFFF

C18000 C1BFFF

C28000 C2BFFF

C38000 C3BFFF

C48000 C4BFFF

C58000 C5BFFF

C68000 C6BFFF

C78000 C7BFFF

C88000 C8BFFF

C98000 C9BFFF

CA8000 CABFFF

CB8000 CBBFFF

CC8000 CCBFFF

CD8000 CDBFFF

CE8000 CEBFFF

CF8000 CFBFFF

D08000 D0BFFF

D18000 D1BFFF

D28000 D2BFFF

D38000 D3BFFF

D48000 D4BFFF

D58000 D5BFFF

D68000 D6BFFF

D78000 D7BFFF

D88000 D8BFFF

D98000 D9BFFF

DA8000 DABFFF

DB8000 DBBFFF

DC8000 DCBFFF

DD8000 DDBFFF

DE8000 DEBFFF

DF8000 DFBFFF

E08000 E0BFFF

E18000 E1BFFF

E28000 E2BFFF

E38000 E3BFFF

E48000 E4BFFF

E58000 E5BFFF

E68000 E6BFFF

E78000 E7BFFF

E88000 E8BFFF

E98000 E9BFFF

EA8000 EABFFF

EB8000 EBBFFF

EC8000 ECBFFF

ED8000 EDBFFF

EE8000 EEBFFF

EF8000 EFBFFF

F08000 F0BFFF

F18000 F1BFFF

F28000 F2BFFF

F38000 F3BFFF

F48000 F4BFFF

F58000 F5BFFF

F68000 F6BFFF

F78000 F7BFFF

F88000 F8BFFF

F98000 F9BFFF

FA8000 FABFFF

FB8000 FBBFFF

FC8000 FCBFFF

FE8000 FEBFFF

This is untested.

bye

1,621 Views
emretunali
Contributor II

Thank you pgo...

It has a total of 2x16l flash memory between the memory ranges, but the mc9s12xep100 is 1024 kb's. Doesn't it read the whole flash?

0 Kudos

1,621 Views
pgo
Senior Contributor V

I'm unsure if this is a question?

If so what is it asking?

bye

0 Kudos

1,621 Views
emretunali
Contributor II

I have a mc9s12xep100MAL unsecure processor. I want to read flash,dflash and eeprom using the usbdm memory dump program. How can i do this?

0 Kudos