How to connect debugger to a MC9S08DZ60ACLH without erasing it

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

How to connect debugger to a MC9S08DZ60ACLH without erasing it

Jump to solution
377 Views
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 Kudos
Reply
1 Solution
358 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
272 Views
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 Kudos
Reply
303 Views
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 Kudos
Reply
359 Views
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 Kudos
Reply
285 Views
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 Kudos
Reply