Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service
   Home P&E Customer Support FAQs - Frequently Asked Questions FAQ ID # 199
FAQ ID # 199
 
Question
Do you have any guidelines or troubleshooting tips for programming HCS08/CFV1/RS08 targets with the Cyclone Pro in stand alone mode?
 
Answer
1) Make sure that the ribbon cable is oriented correctly on the BDM header on both sides - the target and Cyclone Pro. The position of pin 1 (BKGD) on the connector is indicated by a triangle and the red stripe on the ribbon cable.

2) The Background, Reset, Power (Vdd), and Ground pins should be connected to the 6 pin header. Measure the voltages on Background (pin 1), Reset (pin 4), and Power (pin 6) pins on the BDM 6-pin header against Ground (pin 2). Both background and reset pin voltages should match closely to the power voltage. If not, you may have a load on background or reset that is causing an issue. They may need to be pulled up to Vdd with a 10k ohm resistor. If there are in series resistors or caps on background or reset, run a test with them removed.

3) Many HCS08/CFV1/RS08 microcontrollers do not have a dedicated reset pin. The pin defaults to a GPIO. If an application already exists on the device, the application could be using it as a GPIO. As a result, the PEmicro interface cannot issue a soft reset command as we normally do for other architectures to bring the device into the proper state to enter back ground mode.

Entering Background Mode

The first attempt of the PEmicro debug interface involves sending a background command to halt the part. If that is not successful, the second attempt require a special power sequence called Power On Reset (POR).

As long as the MCU responds to our initial background commands, we can bring it into debug mode and reprogram it. In certain scenarios, the background command will not work:

- If the device is blank and constantly in reset, it may not respond to those commands.

- If your device is in a low voltage mode, the Background Debug (BDC) module may be disabled.

In both these scenarios, the Cyclone Pro must have the ability to cycle the target power when required to reset the target into debug mode. There are a few ways to accomplish this:

The first method is to connect your power supply output to the Target Power In Jack and then connect the Target Power Out Jack to the power input of your board. This setup allows the Cyclone Pro to use its relay for power cycling. Configure the Cyclone Pro's jumper to Power IN Jack -> Power OUT Jack. Position 5 should be set on the jumper.

The second method is to power the target through the Cyclone Pro's Vdd pin. If you use this method, leave your target unpowered. Configure the Cyclone Pro's jumper to Cyclone Pro Internal Power -> BDM Pin 6. Positions 2,3, and 4 should be set on the jumper.

The final step is to create a new image with the options "Use Cyclone Pro Relays" and "Turn target power off after SAP operations" checked. Enter the voltage of your target in the Target Voltage box so the Cyclone will generate the right voltages.

 
Related Downloads
Cyclone Pro Single File Installation -
This package installs all the of the software for the Cyclone Pro. It includes the PEmicro Cyclone USB Drivers, Image Creation Utility, Image Manager, and all supported flash programming algorithms. This is the same software as what you get on the CD.

Please uninstall the previous version before installing the latest version.

 
Architectures Categories Products
HCS08, RS08, ColdFire V1 Stand-Alone Programmer CYCLONEPRO
 
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