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
945 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
926 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
840 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
871 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
927 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
853 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
%3CLINGO-SUB%20id%3D%22lingo-sub-2139570%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20to%20connect%20debugger%20to%20a%20MC9S08DZ60ACLH%20without%20erasing%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2139570%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%20size%3D%224%22%3EHi%2C%20I'm%20an%20experienced%20Embedded%20guy%20but%20new%20to%20CodeWarrior.%20I%20am%20running%20CodeWarrior%20for%20MCU%20Version%2011.1%2C%26nbsp%3BBuild%20Id%3A181224%20because%20that%20is%20the%20latest%20version%20that%20supports%20this%20chip.%20My%20debug%20probe%20is%20the%26nbsp%3BPE%20Micro%20Multilink%20LC.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%20size%3D%224%22%3EA%20customer%20returned%20one%20of%20our%20products%20because%20it%20reported%20an%20internal%20error.%20I%20need%20to%20see%20what%20is%20stored%20in%20our%20parameter%20area%20of%20the%20processor's%20flash%20to%20figure%20out%20what%20went%20wrong.%20Is%20there%20a%20way%20to%20connect%20my%20debug%20probe%20to%20the%26nbsp%3BMC9S08DZ60ACLH%20without%20the%20IDE%20trying%20to%20erase%20the%20chip%20and%20load%20new%20code%20into%20it%3F%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%20size%3D%224%22%3EThanks%20for%20any%20help%2C%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%20size%3D%224%22%3ELloyd%20Slonim%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2144525%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20connect%20debugger%20to%20a%20MC9S08DZ60ACLH%20without%20erasing%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2144525%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20was%20able%20to%20turn%20on%20the%20%22Attach%22%20button%20by%20a%20different%20approach%2C%20finding%20the%20config%20and%20clicking%20%22Edit%22.%20It%20works%20great!%20I%20really%20appreciate%20your%20help%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13026%22%20target%3D%22_blank%22%3E%40ZhangJennie%3C%2FA%3E%26nbsp%3B!%3C%2FP%3E%3CP%3ELloyd%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2142654%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20connect%20debugger%20to%20a%20MC9S08DZ60ACLH%20without%20erasing%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2142654%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F249155%22%20target%3D%22_blank%22%3E%40lslonim%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20test%20purpose%2C%20please%20create%20a%20NEW%20project%20in%20a%20NEW%20workspace%2C%20how%20the%20%22connect%22%20option%20functions%3F%3C%2FP%3E%0A%3CP%3EIf%20%22connect%22%20option%20still%20gray%20out%20in%20this%20new%20project%2C%20please%20upload%20this%20new%20project%20here%2C%20I%20will%20check%20it%20directly%20on%20my%20side.%3C%2FP%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3EJun%20Zhang%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2141977%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20connect%20debugger%20to%20a%20MC9S08DZ60ACLH%20without%20erasing%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2141977%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%20size%3D%224%22%3EThanks%20for%20the%20suggestion%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13026%22%20target%3D%22_blank%22%3E%40ZhangJennie%3C%2FA%3E%26nbsp%3B.%26nbsp%3B%3C%2FFONT%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%20size%3D%224%22%3EI%20tried%20but%20the%20Attach%20button%20is%20not%20able%20to%20be%20turned%20on%2C%20see%20attached%20screenshot.%20The%20debug%20probe%20seems%20to%20be%20recognized%20because%20when%20I%20ask%20it%20to%20debug%20it%20tries%20to%20connect.%20I%20have%20not%20plugged%20it%20into%20the%20board%20yet%20because%20I%20cannot%20risk%20erasing%20the%20processor.%20Is%20there%20something%20else%20I%20have%20to%20do%20to%20enable%20Attach%3F%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%20size%3D%224%22%3ELloyd%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2139773%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20connect%20debugger%20to%20a%20MC9S08DZ60ACLH%20without%20erasing%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2139773%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F249155%22%20target%3D%22_blank%22%3E%40lslonim%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20set%20debug%20type%20as%20%22attached%22.%20It%20will%20allow%20to%20connect%20chip%20without%20erase%20Flash.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ZhangJennie_0-1753327086149.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22ZhangJennie_0-1753327086149.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349226iF1DF3C8969218988%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22ZhangJennie_0-1753327086149.png%22%20alt%3D%22ZhangJennie_0-1753327086149.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EHope%20this%20helps%2C%3C%2FP%3E%0A%3CP%3EJun%20Zhang%3C%2FP%3E%3C%2FLINGO-BODY%3E