Bootloader issues

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Bootloader issues

1,861 次查看
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!

标记 (1)
0 项奖励
回复
4 回复数

1,682 次查看
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 项奖励
回复

1,682 次查看
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 项奖励
回复

1,682 次查看
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,682 次查看
frankkong
Contributor III

Thanks,

  It works.

0 项奖励
回复