mc9s12dp512 4l00m and big firmware

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

mc9s12dp512 4l00m and big firmware

2,140 Views
domenico_petruzzelli
Contributor I

hi

im new and it is the fist comment.

never i have used the mcu mc9s12dp512.

i have a pcb dongle whit this mcu, and a boy give me a master firmware. it is 4mb and start to 0x000000 to 0xFFFFFF.

i downloading a datasheet and manual and i see the memory block (0x008000 to 0x1FBFFF).

If i open with xprog my firmware i have differnt block (0x208800 to 0x36B630).

now my question is:

what programmer if clone mc9s12dp512 firmware have the 4mb result?

tnx

0 Kudos
Reply
7 Replies

1,935 Views
domenico_petruzzelli
Contributor I

hi tnx..

my problem is a flash area, in the datashet i dont find a hex area  for all page., i find only a hex for registers.

0 Kudos
Reply

2,070 Views
domenico_petruzzelli
Contributor I

ok i send you the firmware

 

0 Kudos
Reply

2,046 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

I am sorry but I am not able to do anything with the bin file.

Could you please send me the S19 record?

Best regards,

Ladislav

 

0 Kudos
Reply

2,103 Views
domenico_petruzzelli
Contributor I

nx

i use SRECCVTSW i convert the in linear i have message success but don t save a file..

i finf the different eeprom flash position on document xprog tell me

FLASH 512kB RD/WR
block3
page $20 0x008000 - 0x00BFFF to ......

blocl 0 page $3F 0x1F8000 - 0x1FBFFF

and in most document i find 0x20 to 0x3F what is correct?

tnx

0 Kudos
Reply

2,107 Views
domenico_petruzzelli
Contributor I

tnx

i use SRECCVTSW i convert the in linear i have message success but don t save a file..

i finf the different eeprom flash position on document xprog tell me

FLASH 512kB RD/WR
block3
page $20 0x008000 - 0x00BFFF to ......

blocl 0 page $3F 0x1F8000 - 0x1FBFFF

and in most document i find 0x20 to 0x3F what is correct?

tnx

0 Kudos
Reply

2,090 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

can you please share with me your original S record. If you do not want to share it here you can create a Ticket into our support system system at

lama_0-1697185861008.png

 

However....some example, linearization of my file ....

lama_1-1697186373504.png

Input and output files are attached...

Note, if you use CodeWarrior and want to debug the code then no linearization is necessary.

Input
S2 24 20_8000 CCC30137180BFF0003C73736C66737C6014A80B3201B83CC094D3BCE000234C78D

Output
S2 24 08_0000 CCC30137180BFF0003C73736C66737C6014A80B3201B83CC094D3BCE000234C725

Best regards,

Ladislav

0 Kudos
Reply

2,113 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

Programmers usually use input file in linear address format .

Internal physical addressing uses a logical address PPAGE_OFFSET …. (00-3F)_(8000-BFFF).

So it is necessary to transform generated SRecord to the linear address if the programmer requires this format.

You can use SrecCvt program for this purpose. Of course the CW is able also to generate a linear format…its extension is *.glo.

The SrecCvt is for example here.

However, you can find the SRECCVTSW in the application note for bootloader for S12Z AN12086SW.zip

Best regards,

Ladislav

0 Kudos
Reply