cmanmcm
Joined: 13 Dec 2003 Posts: 2
|
13 Dec 2003 15:33 icprog hardware |
|
|
|
|
hi everyone,
I followed the super moderator ME advices and I post again.
my apologize for previous topic.
I built a JDM interface for pic microcontroller programming.
as software I use ic-prog v.1.05C.
my machine is a pentium 4 at 2GHz, 256MB ram, winXPsp1 si my SO.
the flash programming is not made corectly.
the behavior was like this:
- if I have a 5k code, ic-prog is writing only at 0000h and the
that specific data written there is wrong(but non zero byte);
what was interesting is that when I changed the communication type
to windos API and I repeated the programming, the writing was also
made only at 0000h but the data written this time was 0000h
- if I let data to be everywhere 1fff (in ic-prog buffer) and I change
only at 0010h data to be 1ffc, the writing is made correctly)
but if I change data at 0010h to be 1fcc (and the rest of data to be
1fff), ic-prog will write 1fec and not 1fcc; and so on, the writing
(or the reading) is made weird.
what I did:
- I used hardware check from ic-prog and the voltage leves are ok
(either before jdm and behind jdm); a little particularity is that the
data level after jdm is 6V and the clock level is 5V; anyway the levels
are: data-5V, clock-6V, vdd-5.3V, mclr-13V
- the winXP driver is instaled and the winXP dricer is checked in ic-prog
options
thks,
catalin
|
|
cmanmcm
Joined: 13 Dec 2003 Posts: 2
|
14 Dec 2003 15:33 ic prog hardware |
|
|
|
|
hi,
I solved the problem.
the cause was the speed of mai processor (to fast), I had to increase the delay of programming from ic-prog hardware options and everything was ok.
moreover I shortened the wires between jdm and pic.
thks anyway,
catalin
|
|