|
|
View previous topic :: View next topic |
Author |
Message |
cgorbet Guest
|
18f452 |
Posted: Sat Oct 29, 2005 5:12 pm |
|
|
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: 1634 Location: Perth, Australia
|
Re: 18f452 |
Posted: Tue Nov 01, 2005 10:18 am |
|
|
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!! |
|
|
|
|
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
|