Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 27th October 2003, 02:06 PM   (permalink)
Default

:Edit: Never mind i got it.

Ok im ready to program using IC-Prog 1.05c Using the code on the previous page. The Watch dog timer is checked should it be?
Squintz is offline  
Old 27th October 2003, 10:56 PM   (permalink)
Default

i can't see any clear wdt commands in the code so no, disable the watchdog. Otherwise the pic will reset in the middle of the program because the watchdog timer overflows
Exo is offline  
Old 28th October 2003, 11:56 AM   (permalink)
Default

Im using picall now because the IC Pic does not work on my computer. The pic call pops up a message when i try and burn the chip.
Code:
Program error:

Program adress=000 buffer=2811 device=3fff
when i first load the HEX file i get the message:

Code:
Warning:

Configuration word is not
included with the hex file !!!

For detail look at the PICALLW.HLP section FAQ!!!
What is the configuration code? I looked at the Help file but did not understand it! Thank you all for helping me through all this
Squintz is offline  
Old 28th November 2003, 10:52 PM   (permalink)
Default Same problem

I have the same problem. I can program a chip once, and then when I erase it and re-program it gives me the first error message. Any thoughts?

:evil:
damonwill is offline  
Old 29th November 2003, 10:40 AM   (permalink)
Default

Quote:
Originally Posted by Squintz
What is the configuration code? I looked at the Help file but did not understand it! Thank you all for helping me through all this
The configuration word sets the various configuration options for the processor - oscillator type, WDT, code protection and various others depending on the particular PIC. It's essential to set these correctly, and it's advisable to do so in the source code so it's included in the HEX file. Not doing this results in the warning message you got, which essentially is prompting you to set them in PicAll before programming the chip.
Nigel Goodwin is online now  
Old 29th November 2003, 10:42 AM   (permalink)
Default Re: Same problem

Quote:
Originally Posted by damonwill
I have the same problem. I can program a chip once, and then when I erase it and re-program it gives me the first error message. Any thoughts?

:evil:
Try reading the chip before re-programming, and make sure it's actually fully erased - if the chip isn't blank it's quite likely it may fail on the first byte, though if the first bytes are identical it shouldn't.
Nigel Goodwin is online now  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 06:04 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker