EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Help! BDM cannot communicate

Started by Sarah Skinner September 8, 2003

I bulk erased the flash memory on my 68HCS12DP256, which shouldn't be a problem because I have a BDM POD, but now I cannot communicate with the target. I have tried all the options that Debug12 allows but with no sucess. When I reset the micro I think it is jumpping to Flash but I cannot tell. I am using Image Craft C compiler, but I also have Tera Term Pro. Could anyone give me advice on where to go from here.

Thanks

Sarah ---------------------------------
Want to chat instantly with your online friends?Get the FREE Yahoo!Messenger




Sarah:

Did you program anything into your micro after bulk erasing it? If you
didn't, it is unlikely that you have secured the device. If you DID
program anything in, you may have accidentally secured the micro. If you
are using P&E's BDM interface, we do offer a utility called
"Unsecure_12" that will take care of this for you.

As Doron said, I'm sure other vendors offer a similar application.

Cheers,
Mark
P&E

Doron Fael wrote:

>Sarah,
>
>You have probably secured your DP256 part, which is the default condition
>when the entire Flash is bulk-erased. You would probably need to un-secure
>your DP256 by programming Flash byte FF0FH to the un-secure state.
>
>I don't know which BDM POD you are using, but most of the good BDMs have a
>method for you to ask the BDM to un-secure your DP256 part.
>
>Hope this helps,
>Doron
>Nohau Corporation
>HC12 In-Circuit Emulators
>www.nohau.com/emul12pc.html
>
>At 04:13 PM 9/8/03 +0100, you wrote: >
>>I bulk erased the flash memory on my 68HCS12DP256, which shouldn't be a
>>problem because I have a BDM POD, but now I cannot communicate with the
>>target. I have tried all the options that Debug12 allows but with no
>>sucess. When I reset the micro I think it is jumpping to Flash but I
>>cannot tell. I am using Image Craft C compiler, but I also have Tera Term
>>Pro. Could anyone give me advice on where to go from here.
>>
>>Thanks
>>
>>Sarah
>>
> >
>-------------------- >
>">http://docs.yahoo.com/info/terms/ >
>

--
________________________________
Mark L. Cukier, Design Engineer
P&E Microcomputer Systems
710 Commonwealth Avenue
Boston, MA 02215
______________________________
e-mail:
phone : (617) 353-9206 x19
fax : (617) 353-9205
______________________________

visit us on the web at: http://www.pemicro.com


Sarah,

You have probably secured your DP256 part, which is the default condition
when the entire Flash is bulk-erased. You would probably need to un-secure
your DP256 by programming Flash byte FF0FH to the un-secure state.

I don't know which BDM POD you are using, but most of the good BDMs have a
method for you to ask the BDM to un-secure your DP256 part.

Hope this helps,
Doron
Nohau Corporation
HC12 In-Circuit Emulators
www.nohau.com/emul12pc.html

At 04:13 PM 9/8/03 +0100, you wrote:

>I bulk erased the flash memory on my 68HCS12DP256, which shouldn't be a
>problem because I have a BDM POD, but now I cannot communicate with the
>target. I have tried all the options that Debug12 allows but with no
>sucess. When I reset the micro I think it is jumpping to Flash but I
>cannot tell. I am using Image Craft C compiler, but I also have Tera Term
>Pro. Could anyone give me advice on where to go from here.
>
>Thanks
>
>Sarah





Hi Sarah,

When you say that you can't communicate with the target, do you mean you can't communicate via Debug12? In this case you need to use the BDM to load debug12 back onto your target. You can do this from within CodeWarrior, but you'll need to know what version of debug12 was on your target board.

Please contact me directly off-list should you need more advice on this, and let me know what target board you have. It sounds like a Future Badge Board to me. KR,

Mark

*************************************************************
Mark Dunnett
Field Applications Engineer (8 & 16-bit MCU, and DSP)
Motorola SPS Channel Sales Division
Tel. 01296 380..
<mailto:>
*************************************************************
The information contained in this communication has been classified as:
( ) General Business Information
(X) Motorola & Distributor Internal Use Only
( ) Motorola Confidential Proprietary
-----Original Message-----
From: Sarah Skinner [mailto:]
Sent: 08 September 2003 16:13
To:
Subject: [68HC12] Help! BDM cannot communicate
I bulk erased the flash memory on my 68HCS12DP256, which shouldn't be a problem because I have a BDM POD, but now I cannot communicate with the target. I have tried all the options that Debug12 allows but with no sucess. When I reset the micro I think it is jumpping to Flash but I cannot tell. I am using Image Craft C compiler, but I also have Tera Term Pro. Could anyone give me advice on where to go from here.

Thanks

Sarah ---------------------------------
Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger
<http://ashnin.com/clk/muryutaitakenattogyo?YH707890&yhad95053>" target="_blank" rel="nofollow">http://rd.yahoo.com/M$4522.3707890.4968055.1261774/D=egroupweb/S06554205:HM/A95053/R=0/SIG4gf29oe/*http://ashnin.com/clk/muryutaitakenattogyo?YH707890&yhad95053> Click Here!
<http://us.adserver.yahoo.com/l?M$4522.3707890.4968055.1261774/D=egroupmail/S=:HM/A95053/rand6559960>

--------------------
<http://www.motorola.com/mcu ">http://docs.yahoo.com/info/terms/> .



The 2024 Embedded Online Conference