How to connect debugger to a MC9S08DZ60ACLH without erasing it

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

How to connect debugger to a MC9S08DZ60ACLH without erasing it

跳至解决方案
372 次查看
lslonim
Contributor II

Hi, I'm an experienced Embedded guy but new to CodeWarrior. I am running CodeWarrior for MCU Version 11.1, Build Id:181224 because that is the latest version that supports this chip. My debug probe is the PE Micro Multilink LC.

A customer returned one of our products because it reported an internal error. I need to see what is stored in our parameter area of the processor's flash to figure out what went wrong. Is there a way to connect my debug probe to the MC9S08DZ60ACLH without the IDE trying to erase the chip and load new code into it?

Thanks for any help,

Lloyd Slonim

0 项奖励
回复
1 解答
353 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi @lslonim 

Please set debug type as "attached". It will allow to connect chip without erase Flash.

ZhangJennie_0-1753327086149.png

 

Hope this helps,

Jun Zhang

在原帖中查看解决方案

0 项奖励
回复
4 回复数
267 次查看
lslonim
Contributor II

I was able to turn on the "Attach" button by a different approach, finding the config and clicking "Edit". It works great! I really appreciate your help @ZhangJennie !

Lloyd

0 项奖励
回复
298 次查看
lslonim
Contributor II

Thanks for the suggestion @ZhangJennie . I tried but the Attach button is not able to be turned on, see attached screenshot. The debug probe seems to be recognized because when I ask it to debug it tries to connect. I have not plugged it into the board yet because I cannot risk erasing the processor. Is there something else I have to do to enable Attach?

Lloyd

0 项奖励
回复
354 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi @lslonim 

Please set debug type as "attached". It will allow to connect chip without erase Flash.

ZhangJennie_0-1753327086149.png

 

Hope this helps,

Jun Zhang

0 项奖励
回复
280 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi @lslonim 

For test purpose, please create a NEW project in a NEW workspace, how the "connect" option functions?

If "connect" option still gray out in this new project, please upload this new project here, I will check it directly on my side.

Thanks,

Jun Zhang

0 项奖励
回复