Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Power cycle error when trying to program/debug HCS08 MCU

Status
Not open for further replies.

OMID-313

Junior Member level 2
Joined
Dec 27, 2008
Messages
24
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Solar System
Activity points
1,448
Hi everyone,

I'm trying to program a Freescale MC12311 transceiver IC, which has a 9S08QE32 MCU embedded in it:

MC12311: Sub-1 GHz RF and 8-bit HCS08 MCU

I'm using a Background Debug Module (BDM) from P&E Micro (USB Multilink Universal); and also the Codewarrior 10.4 software as IDE.
However, the following error occurs each time I try to program/debug/flash/erase the target:

Dzh8w.jpg


Power Cycle Dialog: The target MCU is not responding. Please turn MCU power off (Under 0.1v), turn MCU power on, and then click OK. This will attempt to enter debug mode through a power on reset sequence (BKGD is currently driven low).​

I've tried to power off/on the MCU, but there's no success, and it fails to connect to the target board.

I have checked the pins and connections, and everything seems OK. Also, I have checked the BKGD and RESET pins of the 2x3 BDM header, and some activities (high-to-low and low-to-high) are monitored on oscilloscope.

Besides, I have tried different versions of Codewarrior (10.5, 10.4, 6.3, etc.) and also on different platforms (Win7-64bit, WinXP-32bit, etc.), but the result is always the same: it fails to connect to the target board.

By the way, the following is the schematic of my circuit, with BDM header and pins in red circles:



What should I do now? What's the problem?
Your help is highly appreciated.
 

I have already seen this problem the FIRST time I try to program some HCS08 Freescale micros:
I solved it turning OFF/ON the power supply to the micro. Be certain your micro is not powered by the BDM.
Once programmed for the first time, this behavior will not happen anymore.
 
I have already seen this problem the FIRST time I try to program some HCS08 Freescale micros:
I solved it turning OFF/ON the power supply to the micro. Be certain your micro is not powered by the BDM.
Once programmed for the first time, this behavior will not happen anymore.

Thanks bepobalote for your response.

Actually, I turn off/on the MCU, but it doesn't help; it fails to connect to the target board.
Besides, MCU is powered by an external power supply, and not the BDM.

Any other suggestions?
 

unfortunately no: I was able to solve my problems doing what I have described (it was needed ONLY for the first programming)
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top