Bootloader issues

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

Bootloader issues

1,210 Views
frankkong
Contributor III

Hi,

    I,m using the bootloader on S12ZVML31. The example is AN4723. I can't configure the CPMU now.  All the redisters will become 0xee after CPMUOSC_OSCE = 1;(CPMUOSC_OSCE = 0).

What is wrong in my code? S12ZVM_Bootloader is my own code, AN4723 is the example from nxp.com

pastedImage_4.png

Thanks!

Tags (1)
0 Kudos
Reply
4 Replies

1,031 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The S12ZVM_Bootloader.rar file seems to be damaged, I can't open it.

The BDM module returns 0xEE for each data byte as a response to an illegal access.

Do you lose connection with the board?  

Regards,

Daniel

0 Kudos
Reply

1,031 Views
frankkong
Contributor III

Hi,

   The connection is not lose. I had test the other project , it works well. Can you test the new code? My board isS12ZVMx12EVB, using the OSBDM on the board.

Thanks!

0 Kudos
Reply

1,031 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Please disable the Use Bus Clock as Debug Controller clock option.

pastedImage_2.png

pastedImage_3.png

Regards,

Daniel

1,031 Views
frankkong
Contributor III

Thanks,

  It works.

0 Kudos
Reply