Win XP, JMD and IC-prog.

:slight_smile: :slight_smile: :slight_smile:

Hi everyone,

This post is aimed at people who like myself have had difficulty

programming PIC’s with the JMD programmer and IC-Prog.

1/ Do you have  “icprog.sys”

     This is seems to be driver which you need in order to use the    

    “Direct I/O” interface. WinXP does NOT support interface without    

    this driver.

     If you don’t have this file it can be found at:

     http://www.icprog.com/new/supporto

     I think this site is in spanish, but you will find the file      

  (second to bottom on the page)

2/ Once you have downloaded this file it must be put in the same

directory as    “IC-prog.exe”

3/ Next right click on  “IC-prog.exe” and select “Properties”, select    

  “compatibility”. Now check "Run this program in compatibilty mode    

for:" box

  In the drop down menu below the check box select “Windows 2000”

  Click “Apply”, then “OK”

4/ Run “IC-prog”. Open the “Settings” menu, then click on “Options”.

  Click on the “Misc” tab and check “Enable NT/2000/XP Driver”.

  Click “OK”

5/ Shutdown “IC-prog” and then open it again (This will load the driver)

6/ open the “Settings” menu and click on “Hardware”.

  In the “Hardware settings” click “Direct I/O”

  Note: After much experimentation I found that an "I/O Delay " of 9      

worked on my computer.

7/ Follow ALL the steps on the JMD page on the MIDIbox site.

If all goes well you should have a programmed PIC.

I’ve discovered that it is a good idea to put your PIC into a IC socket,

then insert the socket that the PIC is plugged into the IC socket into

the socket which is soldered on to the PCB. This way you can remove the

PIC all you want from the PCB without damaging the pins of the PIC.

I hope this info is useful. Had I known this I would have saved 2 days

of frustration.

Ian, I ended up building a new JMD before I discovered these steps. You

can have it back if you want, or we could pass it on to the next poor

sod how cann’t be bothered building one.

Rowan

:slight_smile: :slight_smile: :slight_smile:

Me Again

Just plugged the PIC into the core and it worked!!!

I’m a happy man.

Next step:  Build the case, let the fun begin.

Rowan

MMMM… it is such a fine piece of JDM too.

Glad you got it going though. Did you use the 877 ?

If you need any help let me know…then on the other hand …ye who are doing electronics at uni … :wink: :wink:

Got me fevered about the school too you rat…got my registration papers today !!

Ian

All it takes is a look around Ian.

I did end up using the 877. I’ll get that up and running before I move on to MIOS.

How are the encoders coming along?

Cheers

Rowan

i have different results with ic-prog everytime i reinstall xp - for instance, now it works in  API mode… with a delay of 1…before it was only doable in direct mode…long as the fikker toasts good tho - i’m happy ;p

peace…

Dan

Hi Rowan

The encoder proforma arrived tonight. I will be TT’ing the funds tomorrow.

I would guess they are a week away.

I increased the order so there might be some for you :wink: :wink:

Ian

Sounds great Ian,

I’m thinking i’ll need 24 without button’s and 4 with button’s

Cheers

Rowan

Ok done.

tell you what it does’nt take long to get thru 250 encoders…phew :o

I’ll keep you posted

Ian

Rowan, I’m sure you could get MIOS running… it just takes a few more steps and more patience, but once you have figured out the process… upload bootstrap, os, and application, it saves so much time, being able to tweak settings, and then upload the changes in a matter of seconds, instead of powering down pc, plugging in chip (unless you program in circuit… a luxury I don’t have with my programmer!!) etc…

but one step at a time!! It really is a good feeling to know you have burnt a file into a tiny wafer of silicon isn’t it!!

good luck, from Steve

Thank for the reasurance Steve. I’m going to give it a go this weekend. Hey, I’ve got this far. As you say it it can be that hard. I’m sure it will not frustrate anymore than getting ic-prog to work.

You mention that the PC should be powered down before the PIC is plugged into the programmer. I did not do this. Will I have damaged the chip? Now that you bring this to my attention to the it make perfect sense.

My girlfriend thought I had gone crazy when I started to dance about the room when the PIC verified for the first time. My MIDIbox has become known as “The Mistress” in my house. I’m sure I’m not the only one.

Rowan

:slight_smile: :slight_smile: :slight_smile:

I’v done all that you recommend Rowan, but when I’m reading the Volts as TK describes I get wrong values:

from the clock I get 0.8V instead of 5V

from the Data Out I get 2V instead of 5V

and when the PI"C is on the programmer the values between pins 12/31 and 1, as well as between 12/31 and 11/32 while perorming read all are always 0.6V no matter the delay is. Please can anyone help me. Ican’t even imagine what is wrong. I checked the wiring and everythning seems to be OK.

???             ???                 ???                  ???            :-[

hhuuummm It sounds like a power supply problem…

May be have an external power supply can be a solution…

Make sure you serial cable is good (wiring)…

Hi cjlargear

First thing I would check is the diode polarity is correct. If I remember correctly from lectures at uni about zener diodes is that a forward biased zener will drop between 0.7 to 0.9 volts across it (zeners are designed to be run in revese bias).

Next cheack that the polarity of the eletro cap is correct. I made this mistake. Check and recheck the circuit. Are you using a desktop or laptop? I’ve seen post on the forum where people can not get a high enough voltage from a laptop serial port.

Fingers crossed these suggestions fix the problem. I really think it is hardwear problem.

Rowan

The wiring is good I double checked it already.How can I supply extra power to the jdm? Is there any power input anywhere and I can’t see it?  ???

Thanks for the reply. I have to mention that I tried the same in win98 with the same results.

Hi again

I don’t think thre is a power supply i/p for the JMD. I don’t want to sound like a nagging woman, but cheack the circuit again. It is very easy to miss small errors. Try to forget about it all for a day or two, then come back with a fresh head (A bit like having a good break before you mix a tune) :slight_smile: :slight_smile: :slight_smile:

Rowan

I’m agree with rowan, check and check again!!

If the zener is not in the right polarity, it would act as a 0.65V zener diode (well, it’s an easy answer, I don’t konw the english word to explain it correctly!!!).

For another power supply, it’s not easy with the JDM, I’m going to look at…

I made a Programmer for PIC16f84, and I’ve got problem with it. I just made an external power supply, and it works fine. On forum, I saw many people having the same problem! that’s why I think it can be a power problem

I would double check that the transistors are connected correctly. When I build the JDM I misread the little drawing in the corner of the schematics and connected the transistors upsidedown. The testing results I got was pretty much the same as you got.

Good luck

js

Oh yes!! maybe just a transistor problem! I’m going to tell you something : yhe JDM is the first thing I build with transistor which work ;D I fix stuff with transistor, but never get something with it working (with chip no problem)… Why? because I think I took to much time to solder them!!! not more than 3 or 4s for a pin, and wait about 30s between soldering each pin…

Well, I corrected the 8.2V Zener Diode’s polarity and now Ican get a 13.7V between pins 12/31 & 1, but between pins 12/31 & 11/32 I get 3.6V or in times 4.6V. Also when trying to program the PIC18F452 (bootstrap loader) I always get a  Programming Failed at Code Access 000000h ! message again. Any help please?

???             :-[               :cry:

Hi cjlargear

The problems not new so keep trying and then you will crack it. :wink:

I agree with JS check those transistors, the transistors I received looked the same as TK’s pics but checking the datasheet I discovered the legs were in a different order.

Also I had a dodgy conection on the din socket.

But after what seemed an eternity the file was transfered ;D

So don’t give up

Good luck

Mark