GTP USB Lite ... PIC USB Programmer

Post
J1M
Starting Member
2005/08/18 16:00:46
Bueno lo primero agradecer a Sispic su ayuda para que este programador sea una realidad, tanto por su ayuda, como por su software, WinPic800, sin el cual este programador no haría nada, agradecer tambien la ayuda de nocturno, la suya personal y la aportada con su F1GTPUSB SMD para poder hacer este diseño, a continuación os dejo esquematicos, pcb, pdf, y archivo de configuración a incluir en el winpic800, este software lo podeis descargar de:
http://perso.wanadoo.es/siscobf/winpic800.htm
El GTP USB Lite soporta tantos PICs como el software WinPIC800.

Al conectar por primera vez el GTP USB Lite detectará un nuevo dispositivo, por lo que tendreis que instalarle los drivers, estos los podeis encontrar dentro de la carpeta ..\WinPic800\GTP-USB\Driver GTP-USB, debereis selecionar manualmente la ruta donde se encuentra el driver y que el propio sistema operativo lo detecte.
Dentro del .zip encontrareis el GTP-USB-Lite.hwp, debeis incluirlo dentro de la carpeta del winpic800 y seleccionarlo como hardware.
El driver encargado de la comunicación entre el PC y el Pic a programar es un PIC 18F2550, encontrareis el .hex necesario para programarlo dentro de la carpeta GTP-USB del winpic800 'GTP_USB.hex'. Para programar este PIC os recomiendo montar el programador de ART2003, es sencillo y rapido de realizar, podeis encontrarlo en esta web:
http://art2003.no-ip.com





En esta última imagen se muestra como conectar cada una de las patas de salida del conector ICSP a los PICS de uso mas común.
El diseño está realizado con el Orcad 10.0 SP2, si alguno no tiene posibilidad de usar este software, tambien os he incluido la pcb de la placa en formato pdf, así como la lista de materiales a usar 'gtp_usb_lite.bom'

http://perso.wanadoo.es/j1m/proyectos/gtpusblite/index.htm

http://perso.wanadoo.es/j1m/proyectos/gtpusblite/gtp_usb_lite.zip

http://perso.wanadoo.es/j1m/index.htm

Si teneis alguna duda podeis encontrarme en:
jim2k2@hotmail.com

Jaime Fernández-Caro Belmonte






pd: sorry for 'spam' ... i hope may help you...
xiaofan
Super Member
RE: GTP USB Lite ... PIC USB Programmer 2005/08/20 20:04:35
Looks interesting even though I do not understand Spanish.

Is it possible to translate this into English?

Regards,
Xiaofan
Guest
Super Member
RE: GTP USB Lite ... PIC USB Programmer 2005/08/21 03:36:11
Xiaofan:
---------

It basically is an USB programmer based on a 18F2550. It has his drivers and a PC program to make it run.

The PC program is here:
http://perso.wanadoo.es/siscobf/winpic800.htm

And you can download schematics too from:
http://perso.wanadoo.es/j1m/proyectos/gtpusblite/gtp_usb_lite.zip

It lloks very nice. I will post some experiences when i make one for me.

J1M:
-----
Tiene muy buena pinta. Lo probaré cuando tenga tiempo para montarlo. Gracias :)


Samuel Ors Diaz.
J1M
Starting Member
RE: GTP USB Lite ... PIC USB Programmer 2005/08/21 07:40:41
Thanks a lot for yours comments :)

this programmer its an adaptation about GTP-USB by Sisco, you can find it in WinPic800 page, its a proyect in colaboration with TodoPIC forum users.

youll find necessary GTP_USB.hex for usb programmer into WinPIC800... into the folder WinPic800\GTP-USB

When connect it first time, youll install drivers, its simple, but here you have a guide
http://perso.wanadoo.es/siscobf/driver_GTP-USB.htm

WinPIC800 its necesary to this programer, its possibly the best pic programmer software free ;) i think you dont have any problem to use it.

http://perso.wanadoo.es/siscobf/winpic800.htm

sorry for my english

J1M

http://perso.wanadoo.es/j1m/index.htm
xiaofan
Super Member
RE: GTP USB Lite ... PIC USB Programmer 2005/08/26 18:39:42
Where can I find the firmware source code and
the WinPIC800 source code? Is it open to the
public?

Thanks.
J1M
Starting Member
RE: GTP USB Lite ... PIC USB Programmer 2005/08/26 18:43:32
No, im sorry. This code is developed by Sisco... WinPic800 Programmer, and has a freeware license, but no open source :(
xiaofan
Super Member
RE: GTP USB Lite ... PIC USB Programmer 2005/08/26 18:50:34
Never mind. It is perfectly okay to keep it closed source.

I am actually very interested in the dsPIC support part. Not many
people have done it. It is quite an achievement.
xiaofan
Super Member
RE: GTP USB Lite ... PIC USB Programmer 2005/09/17 22:58:14
So you are saying that Winpic800 is not open source. How about
GTP_USB.hex? Is the source code available for download?

Regards,
Xiaofan
J1M
Starting Member
RE: GTP USB Lite ... PIC USB Programmer 2005/09/18 01:05:15
no [:-] its developed by Sisco too, and the same Freeware license but no Open Source... sorry

regards!
xiaofan
Super Member
RE: GTP USB Lite ... PIC USB Programmer 2005/09/18 02:21:15
Never mind the firmware license. That is up to the copyright owner
to decide. Thanks for the answer.

Question from the PIClist:
1) USB voltage
2) Vpp-before-Vdd chips like 12F629/12F675?

---------- Forwarded message ----------
Date: Sep 18, 2005 4:50 PM
Subject: RE: [PIC:] Programmer options for the new USBdevices(18F2455/2550/4455/4550) ?
To: "Microcontroller discussion list - Public." < piclist@mit.edu>

And how will it cope with an USB to outputs the minimum voltage allowed
by USB specs (IIRC < 4.5V)?


---------- Forwarded message ----------
Date: Sep 18, 2005 3:38 PM

Agreed; the Winpic800 is great. I have used it with a JDM type and a
parallel port based David Tait variant with superb results. It has a nice
device identification feature as well. And, it is fast.

On the hardware front, the GTP USB Lite USB looks very tempting too. One
thing I noticed in the schematic is that the Vdd to the device being
programmed is taken directly from the USB port's +5. This being the case, I
wonder how it manages the PICs with a Vpp-before-Vdd programming
requirement?

---------- Forwarded message ----------
From: Xiaofan Chen
Date: Sep 18, 2005 1:54 PM
Subject: Re: [PIC:] Programmer options for the new USB devices (18F2455/2550/4455/4550) ?
To: "Microcontroller discussion list - Public." < piclist@mit.edu>

http://pic18fusb.online.fr/wiki/wikka.php?wakka=ToolsAndProgrammers
has a good summary for the 18F USB supported programmer.

Winpic800 seems to be the best software for JDM type and other simple
programmers. The author also has a nice GTP USB Lite USB programmer
(to me it is like the USB counterpart of Wouter's Wisp628). I checked with
the author and Winpic800 is freeware but not open source. The source for
the firmware of GTP USB lite is also not open source. I am actually very
interested in the dsPIC support of the programmer.
http://forum.microchip.com/tm.asp?m=108574

Regards,
Xiaofan
J1M
Starting Member
RE: GTP USB Lite ... PIC USB Programmer 2005/09/18 04:14:19
One moment... wink there is a bit confusion about that... im not developed WinPIC800, GTP-USB, im only did a GTP USB adaption (named GTP USB Lite) with schematics, board... but like i said... Sisco is the programmer and developer.

Ill try to speak with him about this questions... but could you xplain me a little more about this problems???

1) And how will it cope with an USB to outputs the minimum voltage allowed
by USB specs (IIRC < 4.5V)?

Umm could you tell me a real sample about this?? like a chipset that works under this situation...

2) Vpp-before-Vdd chips like 12F629/12F675?

Whats the meaning of Vpp-before-Vdd ???


regards!

J1M
< Message edited by J1M -- Sep. 18, 2005 4:21:40 AM >
xiaofan
Super Member
RE: GTP USB Lite ... PIC USB Programmer 2005/09/18 04:51:55
Hi J1M,

Thanks for the clarification. I do not understand Spanish. ;(-

I find this page
http://perso.wanadoo.es/siscobf/index.html and it is under the
same domail as yours. Therefore I think you might be one of
the developers. Sorry for the misunderstanding.

As for the question 1, I am not so sure but I think there is a big
tolerance of USB voltage.

As for question 2, there are quite some PIC MCU which need
to put into grogramming mode by apply Vpp first and then
apply Vdd.

For example, ICD2 has problem with programming 12F629/675
with internal MCLR and internal RC Oscillator since it does not
control the power sequence of Vdd and Vpp. In this configuration,
if the chip is not empty, the code may start to run as soon as
Vdd is applied. If Vpp is applied later than Vdd, the chip is running
and the PGC/PGD pin may interfere with the programming action.

Please refer to DS41191C and ICD2 help file for the details.


Regards,
Xiaofan


-------------From ICD2 help file.................................
ICDWarn0033: You have selected Internal MCLR and Internal Oscillator in your configuration settings. If your code makes use of port pins that correspond to Clock and Data pins in programming mode, you may not be able to reprogram your device. See on-line help for this warning for more information. (OK/Cancel)

When Internal MCLR is used with MPLAB ICD 2 for programming, both Vpp and Vdd are powered together, and then Vpp is pulled high to Vihh to enter programming mode. This means that your code will be running before Vpp goes to Vihh. If that code makes use of port pins that correspond to Clock and Data pins in programming mode, there is a chance their values may not be 0, as necessary to enter programming mode. Therefore, the device could not be reprogrammed.

Click OK to continue programming or click Cancel to cancel the programming operation.

Work-Around

When External MCLR is used, this is not a problem, as Vpp can go directly to Vihh. Also, if External Oscillator is used, the external oscillator can be kept from running, thus keeping the code from running, until Vpp is at Vihh.
< Message edited by xiaofan -- Sep. 18, 2005 4:56:00 AM >

Attached Image(s)

J1M
Starting Member
RE: GTP USB Lite ... PIC USB Programmer 2005/09/18 05:20:37
Hi xiaofan

Its the same domain cause its a free host provider in Spain ;)

In reference to question 2, im going to speak with Sisco cause question 2 could be a 'bug' in GTP USB Lite... and i think in ICSP connectors in general isnt it?? because its only has four lines (Standar) VPP, GND, DATA, CLK... or im confused? Vdd line isnt necesary in ICSP programming mode or not? :S

Ill check info about 4.5v and his problematic...

i try to reply soon as i can.

regards,

J1M
xiaofan
Super Member
RE: GTP USB Lite ... PIC USB Programmer 2005/09/18 06:31:12
Hi J1M,

It is not a bug per se. However it will cause trouble for off-line programming.

In an ICSP case, the target Vdd may not be abled to be controlled. In that case
any programmer will have a hard time. However in the case where target Vdd
can be controlled, it is better to provide the Vdd from the programmer and
switch off the target Vdd (need isolation) for this kind of Vpp-before-Vdd chip.
There are quite some chips belongs to this group.

Wisp628 has similar "problem" since it is also designed to be an ICSP programmer.
Wouter provides a dongle for the off-line programming of Vpp-before-Vdd
chips. Please refer to his page at the following URL.
http://www.voti.nl/wisp628/index_1.html
Actually I consider GTP-USB lite to be the USB counterpart of Wisp628!

You can also check out the schematics of PICkit 1 and PICkit 2 as well
as Olin's EasyProg. In those cases, target Vdd/Vpp sequences can be controlled.

It is very stranged that ICD2 does not do this right!

Regards,
Xiaofan
J1M
Starting Member
RE: GTP USB Lite ... PIC USB Programmer 2005/09/18 10:52:26
Hi xiaofan

I think I have bad news... in GTP USB Lite cause Vdd isnt controlled PICs with Vpp-before-Vdd only can be programmed one time (same as in all ICSP programmers), this could be resolved adding a transistor to control Vdd... GTP USB doesnt have this 'problem' cause its not only an ICSP programmer.

About first cuestion...im not sure how can it affect to the programmer :S

Regards,
J1M
xiaofan
Super Member
RE: GTP USB Lite ... PIC USB Programmer 2005/09/19 04:07:28
Hi J1M,

Thanks for the reply. It is as expected.

For the low Vusb problem, if the voltage of USB voltage is too low,
the generated Vpp from the charge pump could be low so that it
may have problem to program some old PICs which require
higher Vpp.

Regards,
Xiaofan