View previous topic :: View next topic |
Author |
Message |
hayee
Joined: 05 Sep 2007 Posts: 252
|
ICD and zigbee |
Posted: Thu Mar 19, 2009 1:51 am |
|
|
Hi,
I am using CCS Ember ZigBee development kit.
When I program the sensor board (having PIC16F886) using ICD it generates two error. These error are
Quote: |
1.
**WARNING**
Code protect fuses can only be erased by using bulk erase command.
Bulk erase command only operates on target with 5v VDD.
There may be problems erasing fuses if target VDD is less than 4.5v
2.
**WARNING**
The current program mode is set to fast.
fast mode only works with 5v devices.if you don't change it to normal mode there may be problems programming target devices if you don't change it to normal mode.
use the program mode option from the advance screen to change it to normal mode." |
But when i change the program mode from fast mode to normal mode it again generates an error
Quote: | "This program mode is not supported for this chip". |
How I solve this problem? |
|
![](templates/subSilver/images/spacer.gif) |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Mar 19, 2009 12:44 pm |
|
|
Quote: | 1.
**WARNING**
Code protect fuses can only be erased by using bulk erase command.
Bulk erase command only operates on target with 5v VDD.
There may be problems erasing fuses if target VDD is less than 4.5v |
This means your Ember Zigbee board is probably running at +3.3v.
The solution is, don't enable the PROTECT fuse in your program.
It's not needed during development. Change it to NOPROTECT.
Also, there is an issue regarding a jumper inside the ICD-U40 case,
with respect to using it with a +3.3v target board. See this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=34399
You may have to remove the jumper. I don't have the ICD-U40, so
I can't help any more on this. |
|
![](templates/subSilver/images/spacer.gif) |
hayee
Joined: 05 Sep 2007 Posts: 252
|
|
Posted: Fri Mar 20, 2009 2:19 am |
|
|
Ya Ember Zigbee board running at 3.3v
i have used NOPROTECT
I have also check the ICD jumper setting.The jumper is already removed
but there is still the same problem.
Now tell me how to solve it. |
|
![](templates/subSilver/images/spacer.gif) |
Tom-H-PIC
Joined: 08 Sep 2003 Posts: 105 Location: New Castle, DE
|
Firs warning help |
Posted: Fri Mar 20, 2009 6:02 am |
|
|
In your first post the first warning is coming from the PC icd software.
This is an option that can be turned on and off and if on you will get this any time VDD is not 5V.
I think that this option check mark is under the file menu at the top left of the window.
I don’t have my ICD-U40 here to check this. But look for this option in the main window menu at the top left.
I don’t know about the second one though I have used the 16F887 a lot and don’t remember this warning.
Tom |
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah Guest
|
|
Posted: Fri Mar 20, 2009 6:30 am |
|
|
One thought, would be that at some point code has been loaded, with 'protect' enabled. If so, the chip will need reprogramming at 5v, to get rid of it, and will keep giving warning messages, so long as the system is running at 3.3v.
Best Wishes |
|
![](templates/subSilver/images/spacer.gif) |
hayee
Joined: 05 Sep 2007 Posts: 252
|
|
Posted: Sat Mar 21, 2009 5:25 am |
|
|
Ttelmah I am not getting your point. Is there any other way to solve this problem. |
|
![](templates/subSilver/images/spacer.gif) |
|