Search the web
Sign In
New User? Sign Up
picpac · PICPAC Users and Programmers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Click here for the latest updates on Groups Message search

Messages

  Messages Help
Advanced
Back to Basics   Topic List   < Prev Topic  |  Next Topic >
Reply < Prev Message  | 
I thought I had it, but ended up messing up the code in the PIC. I
tried to reload it with a copy of the code I read from the PIC before I
did anything, but now it is not working at all.

I erased it and loaded the bootloader.hex file that came in the zipfile
from Byonics, but it doesn't work either.

I was using a PG2c programmer and ICprog software to program it.

Any suggestions what I may be doing wrong?




Tue Aug 5, 2008 7:51 pm

jeff018325143
Offline Offline
Send Email Send Email

< Prev Message  | 
Expand Messages Author Sort by Date

I thought I had it, but ended up messing up the code in the PIC. I tried to reload it with a copy of the code I read from the PIC before I did anything, but...
jeff018325143
Offline Send Email
Aug 5, 2008
7:51 pm

Jeff, as long as you have the bootloader.hex installed, you should be able to do a code load, but that must be done through a terminal programe like...
lists@...
ke4nyv
Offline Send Email
Aug 5, 2008
8:43 pm

You are correct in the first paragraph. But the bootloader.hex should be fine to load into an erased chip to restore the bootloader. I wonder if the fuses were...
Byon Garrabrant
n6bg
Online Now Send Email
Aug 5, 2008
8:59 pm

... Disable ProtectionDisable Low Voltage ProgrammingDisbale WatchdogDiasble PWRTXT OscAnything else? Jason KE4NYV RPC Electronics www.rpc-electronics.com ... ...
lists@...
ke4nyv
Offline Send Email
Aug 5, 2008
9:12 pm

I use BODEN ON CP OFF CPD OFF DEBUG OFF LVP OFF OSC HS PWRTE ON WDT OFF WRT ENABLE_ON Perhaps the PWRT and OSC difference was your problem. Byon...
Byon Garrabrant
n6bg
Online Now Send Email
Aug 5, 2008
9:34 pm

I am not sure what is wrong at this point. I erased the PIC again, and re-burned it using your settings. I get the power LED on and a display with all black...
Jeffrey Smith
jeff018325143
Offline Send Email
Aug 5, 2008
10:10 pm

You might look at the hex file for the boot loader. Near the end there might be a special record for the fuse settings. Also, if you alter the fuse setting...
Alan Marconett
km6vv
Offline Send Email
Aug 5, 2008
10:17 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help