CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

ICD and zigbee

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
hayee



Joined: 05 Sep 2007
Posts: 252

View user's profile Send private message

ICD and zigbee
PostPosted: Thu Mar 19, 2009 1:51 am     Reply with quote

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?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Mar 19, 2009 12:44 pm     Reply with quote

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.
hayee



Joined: 05 Sep 2007
Posts: 252

View user's profile Send private message

PostPosted: Fri Mar 20, 2009 2:19 am     Reply with quote

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.
Tom-H-PIC



Joined: 08 Sep 2003
Posts: 105
Location: New Castle, DE

View user's profile Send private message

Firs warning help
PostPosted: Fri Mar 20, 2009 6:02 am     Reply with quote

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
Ttelmah
Guest







PostPosted: Fri Mar 20, 2009 6:30 am     Reply with quote

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
hayee



Joined: 05 Sep 2007
Posts: 252

View user's profile Send private message

PostPosted: Sat Mar 21, 2009 5:25 am     Reply with quote

Ttelmah I am not getting your point. Is there any other way to solve this problem.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group