Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 16
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
One birthday today, congrats!
Vaxian (17)


Next birthdays
05/21 Dalus (34)
05/21 Kizmo (37)
05/22 Skynet (32)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: Computer Science
« Previous topic | Next topic »   

PIC programmer problems

1 2 
Move Thread LAN_403
Dr. Shark
Thu Apr 19 2007, 03:40PM Print
Dr. Shark Registered Member #75 Joined: Thu Feb 09 2006, 09:30AM
Location: Montana, USA
Posts: 711
After about 5 years of abstinence I am trying to get back into µ-Controllers. I don't have that DOS laptop with the Dave Tait programmer software anymore, so I tried upgrading to the JDM programmer Link2 running IC-Prog software Link2

For some funny reason though, stuff does not work. If I start IC-PRog (even with no programmer connected to the RS232 port) I get an error saying "privileged instruction" and if I try burning a PIC the program crashes. I wonder if there is any other good software I could try running? I am on my girlfriends Windows 2000 PC, if that matters.

Oh, and is there a PIC programmer for Macintosh I could try?
Back to top
ConKbot of Doom
Thu Apr 19 2007, 04:09PM
ConKbot of Doom Registered Member #509 Joined: Sat Feb 10 2007, 07:02AM
Location:
Posts: 329
Do you have the windows 2k/xp driver installed to allow direct access to the serial port for IC prog?
Back to top
Dr. Shark
Thu Apr 19 2007, 04:56PM
Dr. Shark Registered Member #75 Joined: Thu Feb 09 2006, 09:30AM
Location: Montana, USA
Posts: 711
Thanks for your reply. I did install "DriverLINX Port I/O Driver" which I suppose is what you are referring to.
I also tried WinPicProg and PonyProg without success now, so I guess I will have to debug my programmer some. Maybe changing component values at will was not such a good idea after all smile
Back to top
Wolfram
Thu Apr 19 2007, 09:51PM
Wolfram Registered Member #33 Joined: Sat Feb 04 2006, 01:31PM
Location: Norway
Posts: 971
There is a 2k/XP driver for IC-Prog on it's webpage. I'd however recommend winpic800 instead, far superior to anything else I've used.
Back to top
uzzors2k
Fri Apr 20 2007, 12:12PM
uzzors2k Registered Member #95 Joined: Thu Feb 09 2006, 04:57PM
Location: Norway
Posts: 1308
I had the same problem just recently. Luckily I wrote down how I solved it.

Download ICprog and NT/2000/XP Driver

1. Extract Icprog to any folder
2. Extract Driver to same folder
3. Run ICprog, ignore error messages
4. Settings -> Options -> Misc -> Disable NT/2000/XP driver
5. Enable Disable NT/2000/XP driver, allow ICprog to restart
6. Allow driver to be installed

That should allow parrallel/serial port access. Select "Direct I/O" in the hardware options menu. I'm using the Bob Blick Dave Tait Programmer.
Back to top
Dr. Shark
Fri Apr 20 2007, 03:03PM
Dr. Shark Registered Member #75 Joined: Thu Feb 09 2006, 09:30AM
Location: Montana, USA
Posts: 711
OK, I hope you guys set me on the right path. The problem with the other programmers I tried was that they had no option for "JDM Programmer" so I could not set them up correctly. I kind of sucks when you don't know whether the problem is the computer (some modern computers don't have enough voltage on the RS232, correct?), the programmer or the software...
Back to top
Bjørn
Fri Apr 20 2007, 03:14PM
Bjørn Registered Member #27 Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
Some computers have far too low voltage on the RS-232 port for PIC programming. To save power some go down to 5V or even 3.3V in some cases.
Back to top
McFluffin
Fri Apr 20 2007, 06:27PM
McFluffin Registered Member #119 Joined: Fri Feb 10 2006, 06:26AM
Location: USA
Posts: 114
I had some problems with ICSP using a JDM. I had to turn it down to a really low clock, otherwise I didn't get enough power to program it. It was suggested to me to externally power it instead of using the computer's COM port's power, but I haven't tried that yet. I recently picked up a ICD-2 which I'm hoping will solve a lot of my problems after talking to some Microchip people at the Embedded Systems Conference in San Jose.
Back to top
Dr. Shark
Fri Apr 20 2007, 06:56PM
Dr. Shark Registered Member #75 Joined: Thu Feb 09 2006, 09:30AM
Location: Montana, USA
Posts: 711
You guys fucking rule! After installing the WinNT driver (which I had previously failed to notice) and following the instructions, everything works fine now.

Thanks!

BTW, the JDM is highly recommended for minimal parts count and RS232 is a lot more comon that parallel port anyway.
Back to top
Wolfram
Fri Apr 20 2007, 08:40PM
Wolfram Registered Member #33 Joined: Sat Feb 04 2006, 01:31PM
Location: Norway
Posts: 971
Tried WinPic800 (Link2) yet? It beats Icprog when it comes to device support, user interface and programmer options. It will even program dsPICs with a JDM. It can also autoidentify the PIC connected to the programmer and show a short summary of the datasheet of the chosen PIC. It is also regularly updated. IMO Icprog simply sucks compared to WP800.
Back to top
1 2 

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.