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
 
Thread Tools Display Modes
Old 18th June 2008, 09:08 PM   (permalink)
Default I want to program the PIC directly from the serial port.

Hi there folks. I'm having problem with my firefly/junebug combo, and I need to program my 16F88, so I'm thinking of using the serial port with four wires to the chip. I have read that you can do in circuit programming. I just want to know which pins to use for that. Off hand, I'd say Vdd,Vss,RB3/PGM, and RB2/DT.

I also use MPLab, there is a port selection so I can use the serial output of my computer to program my chip.

Can anyone help me with that...?
RobertD is online now   Reply With Quote
Old 18th June 2008, 11:55 PM   (permalink)
Default

Try this first, it'll bypass the BS250 and should work fine.


PS if you bring your unit to Creatron next time you're in Toronto contact me first and I'll repair it on the spot.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com

Last edited by blueroomelectronics; 19th June 2008 at 12:00 AM.
blueroomelectronics is offline   Reply With Quote
Old 19th June 2008, 05:36 AM   (permalink)
Default

Thanks, I did put the jumper, and got life from the firefly. Even programmed my 16F88 once successfully. But I tried to change the pinout prog, and that didn't work, so I tried another programmer, the MPlab PM3, and it started writing stuff on the screen, so I shut down MPlab with the task manager, and now I don't get power to the firefly, nor does pickit read the chip anymore, it seems like I killed the app... :~(

I just found out my pic change worked, so I changed programmer for nothing, it was working fine, and caused myself trouble for nothing. Now I still don't get power to the firefly, probably because MPlab PM3 did some damage when I shut it off while it was running.

Last edited by RobertD; 19th June 2008 at 05:45 AM.
RobertD is online now   Reply With Quote
Old 19th June 2008, 02:15 PM   (permalink)
Default

If the Junebugs Target LED (two circles) is OFF that means external VDD is powered. Of course the jumper solution above makes the BS250 moot.
You can use the PICKit2 2.51 software to erase PICs and control VDD if MPLAB is unhappy about the target PIC (this can happen if you program an alien .hex file to a PIC it can render it's ID data useless)
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
programmer serial port vs. laptop with usb port crys Micro Controllers 9 18th January 2008 12:51 PM
What program should I use for serial port communications in xp user1453 Micro Controllers 5 24th June 2007 12:31 PM
[ann] COM Port Toolkit - serial port monitoring on Win32 PCs MGolikov Electronic Projects Design/Ideas/Reviews 0 6th April 2004 06:17 AM
data to serial port and musicmatch program info leprien Electronic Projects Design/Ideas/Reviews 3 28th September 2003 01:02 AM
Designing a circuit to convert game port to serial port Diluka Moratuwage General Electronics Chat 1 29th July 2003 04:40 PM



All times are GMT. The time now is 10:17 AM.


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