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

18f452

 
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go
View previous topic :: View next topic  
Author Message
cgorbet
Guest







18f452
PostPosted: Sat Oct 29, 2005 5:12 pm     Reply with quote

I am trying to use the ICD-2 to program an 18f452 part. I can program the part, but it does not run the same as in debug mode. When I program the part and leave the ICD connected, the unit runs fine. Even when I program it, release reset and unplug the ICD, it runs ok. Then when I turn the unit off, and back on, it runs differently. Differently means, I am using the A/D channels to monitor voltages and produce tones associated with different levels. These levels are at lease 200mv apart. It runs great in debug mode, but when programmed the tones are different for the scaled voltages. I have asked Microchip, and tried all they have offered. I noticed in the examples of CCS, the fuses can be set for NOLVP, however the CCS compiler does not recogize the command. Can anyone help???
cgorbet
asmallri



Joined: 12 Aug 2004
Posts: 1635
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: 18f452
PostPosted: Tue Nov 01, 2005 10:18 am     Reply with quote

cgorbet wrote:
I am trying to use the ICD-2 to program an 18f452 part. I can program the part, but it does not run the same as in debug mode. When I program the part and leave the ICD connected, the unit runs fine. Even when I program it, release reset and unplug the ICD, it runs ok. Then when I turn the unit off, and back on, it runs differently. Differently means, I am using the A/D channels to monitor voltages and produce tones associated with different levels. These levels are at lease 200mv apart. It runs great in debug mode, but when programmed the tones are different for the scaled voltages. I have asked Microchip, and tried all they have offered. I noticed in the examples of CSS, the fuses can be set for NOLVP, however the CSS compiler does not recogize the command. Can anyone help???
cgorbet


Are you using the PLL? When using the H4 fuse this only gets set/cleared with the PIC is power cycled. This would explain the different tone (frquency)
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go 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