Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service
   Home P&E Customer Support FAQs - Frequently Asked Questions FAQ ID # 230
FAQ ID # 230
 
Question
Why do I see the Power Dialog warning when trying to debug or flash program my chip in PROG, ICD, UNIT, or 3rd party software like Codewarrior? How can I prevent this from happening?
 
Answer
The affected architectures are HCS08, RS08, and CFV1. Most customers that face this problem are using multilink universal or USB-ML-12 hardware interfaces on a blank HCS08 target. Also users that have the multilink universal FX, cyclone pro, cyclone universal, or cyclone universal FX may also see this dialog if they disabled the option to provide power to target.

The reason why you are getting the power dialog is because the PEmicro interface is facing difficulty entering debug mode. Typically the issue is due to factors in the following order:

1) You are trying to connect to a chip with no code written in flash, and as the chip boots up it gets stuck in a reset state forever. Typically this happens to users trying to program a fresh chip from the factory, or the chip has been recently erased and the chip was power toggled.

2) The chip has no dedicated RESET line so the PEmicro interface cannot prevent the chip from entering the reset state. Some chips have the RESET line shared with a GPIO pin and out of reset the GPIO may have priority. If the chip did have a dedicated RESET line, the PEmicro interface would be able to enter debug mode by using a software RESET while toggling the BKGD line.

3) Your PEmicro hardware interface does not have the ability, or is set to not have the ability, to provide power to your target. If the PEmicro interface was able to power cycle the chip, it would attempt to hold BKGD line low and use a hard RESET by power cycling the chip into power-on-reset (POR). This prevents the chip from entering the reset state. Users that have the multilink universal FX, cyclone pro, cyclone universal, or cyclone universal FX should enable the option to provide power to target to prevent this problem from happening.

When the power dialog shows up, the PEmicro interface is holding down the BKGD line and wants the user to manually power cycle the board which should prevent the chip to boot into the reset state. Even if all the factors are taken care of, the user may still see the power dialog if the first attempt to enter debug mode failed. This could be due to problems in hardware, software, or firmware. Please check your connections and make sure your software and firmware supports the chip you are trying to debug.

The power dialog can slow down your production line or the hassle to manually power cycle the board may be something you want to avoid. The first two factors is something that cannot be prevented. Fresh chips from the factory will always have this issue. The third factor could be avoided if you had the right hardware and set it up to provide power to target. Especially for users with multilinks trying to flash program on a production line, it would be ideal to switch to a cyclone hardware interface to not only get around this issue but also removes the need of a computer due to the cyclone's features of standalone programming. The best hardware interface for your needs is the cyclone universal:

http://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320165

 
Related Downloads
User Manual for CYCLONE FX Programmers - Covers CYCLONE_UNIVERSAL_FX & CYCLONE_ACP_FX.

User Manual For CYCLONE Programmers - Covers CYCLONE_UNIVERSAL & CYCLONE_ACP.

 
Architectures Categories Products
HCS08, 68HC16, CPU3xx, ColdFire V1 Development Board, Interface Hardware/Cable, IDE - Integrated Development Environment, Debugger, Flash Programming Software, Development Kit / Package ICD12Z, PKGHCS08, ICDHCS08, PROGHCS08, UNITHCS08, BDM MULTILINK, PKG12Z_MULTILINK, PROG12Z, UNIT12Z, UNIT12Z_DIST, ICD16Z, PROG16Z, UNIT16Z_DIST, ICD32Z, PROG32Z, UNIT32Z, UNIT32Z_DIST, UNIT16Z, UNITCFZ, UNITCFZ_DIST, UNITHCS08_DIST, PKG12Z_SW, PKG16Z_SW, PKG32Z_SW, PKGHCS08_CYCLONEPRO, PKG12Z_CYCLONEPRO, PKGHCS08_SW, PROGRS08, ICDRS08, UNITHCS08-LINUX, UNITHCS08-LINUX-DIST, UNIT12Z-LINUX, UNIT12Z-LINUX-DIST, UNIT32Z-LINUX, UNITCFZ-LINUX, UNIT32Z-LINUX-DIST, UNITCFZ-LINUX-DIST, PKGRS08_CYCLONEPRO, ICDCFV1, PROGCFV1, PKGCFV1_PRO, PKGCFV1_CYCLONEPRO, PKGCFV1_SW, UNITRS08, UNITRS08_DIST, USB-ML-UNIVERSAL, PKGRS08_SW, PKGCFV1_PRO_Starter, USB-ML-UNIVERSAL-FX, PKG12Z_USB_UNIVERSAL, PKG12Z_USB_UNIVERSAL_FX, PKG16Z-USB-UNIVERSAL-FX, PKG32Z-USB-UNIVERSAL-FX, PKGCFV1_USB_UNIVERSAL, PKGCFV1_USB_UNIVERSAL_FX, PKGHCS08-USB-UNIVERSAL, PKGHCS08_USB_UNIVERSAL_FX, PKGRS08-USB-UNIVERSAL, PKGRS08_USB_UNIVERSAL_FX, UNITS12Z, UNITS12Z_DIST, PROGS12ZZ, ICDS12ZZ, CYCLONE_UNIVERSAL_FX, CYCLONE_UNIVERSAL
 
Please rate this FAQ to help us improve our support
0 means "not helpful"
10 means "very helpful"
0 1 2 3 4 5 6 7 8 9 10

© 2017 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement