AnsweredAssumed Answered

S12X flash memory copy

Question asked by michaelsarafidis on Nov 26, 2012
Latest reply on Nov 26, 2012 by michaelsarafidis

Hi there,

 

We are using mc9s12dg256 for our device and we are trying to migrate to mc9s12xdt256.

We have to copy manually flash area 0x4000 to 0x7FFF in order our software to run.

Thus, we coppied 0x4000 to 0x7FFF flash area from our old uC using command line "Save 0x4000 .. 0xFFFF dump.hex" and tried to write it to the new uC using command line "SREC dump.hex".

Although, the command seems to be executed no data where writen to that memory area.

The command was executed after the uc was programmed (during a breakpoint stop).

In debugging memory mapping we have set "access kind R/W" and checked "refresh memory when halting" for the specific area.

 

Any ideas?

 

Thanks in advance.

Outcomes