chipKIT® Development Platform

Inspired by Arduino™

Programmer Chipkit Uno32

Created Thu, 29 Dec 2011 09:04:36 +0000 by afelio


afelio

Thu, 29 Dec 2011 09:04:36 +0000

Hi. I´m newbie at foro to the forum.

I´m Spanish. Excuse my English.

I bought a board (Chipkit uno32). Still has not come home. But I have some doubt:

  • I want to use chipkit as PIC and not as Arduino. I Could make the programmer / debugger without PICKIT 3? (with other programmer/debugger).

  • Can I program external PIC with chipkit uno32??

Thanks.


Jacob Christ

Fri, 30 Dec 2011 18:46:04 +0000

I´m newbie at foro to the forum. I´m Spanish. Excuse my English.

Bienvenido al foro. Tratá de preguntas en español. Mi español es malo, pero mi novia es una hablante nativo.

  • I want to use chipkit as PIC and not as Arduino. I Could make the programmer / debugger without PICKIT 3? (with other programmer/debugger).

You can use the PICKIT 3 to program the Uno32. This will erase the chipKIT bootloader.

Usted puede utilizar el PICKIT 3 para programar la Uno32. Esto borrará el gestor de arranque chipKIT.

  • Can I program external PIC with chipkit uno32??

There is information and links the different chipKIT bootloaders here:

Hay información y enlaces de la chipKIT gestores de arranque diferente:

http://chipkit.cc/wiki/index.php?title=Main_Page

Jacob


afelio

Fri, 30 Dec 2011 19:35:49 +0000

Gracias Jacob.

Pues miraré el enlace que me mandas a ver si soy capaz de conseguir más info.

Un saludo.


afelio

Sat, 31 Dec 2011 09:29:45 +0000

Hola de nuevo.

Estoy leyendo el enlace que me dió Jacob, (es increible, necesitaba algo así, Muchas gracias Jacob).

Ahora estoy con el tema del bootloader, es la primera vez que leo algo sobre el bootloader, con el ICD 3 se podría cargar el bootloader, y una vez cargado, sería enchufar directamente chipkit uno32 al PC y se carga el programa y se realiza el debug sin problemas con el MPLAB y el MPLAB C32, ¿ Es esto así?

Tambien se podría con el ICD2?

Ahora buscaré algún tutorial para ver como se le puede hacer el bootloader al chipkit uno32, y ver que tipo de programas me hace falta.

Muchas gracias. Un saludo.


Jacob Christ

Mon, 02 Jan 2012 21:37:46 +0000

Hola de nuevo. Estoy leyendo el enlace que me dió Jacob, (es increible, necesitaba algo así, Muchas gracias Jacob).

Ahora estoy con el tema del bootloader, es la primera vez que leo algo sobre el bootloader, con el ICD 3 se podría cargar el bootloader, y una vez cargado, sería enchufar directamente chipkit uno32 al PC y se carga el programa y se realiza el debug sin problemas con el MPLAB y el MPLAB C32, ¿ Es esto así?

You mentioned in a private message that you are using MPLAB 8.3. As far as I know the bootloaders must be compiled with MPLAB X. Debugging is possible but I have not tried.

Usted mencionó en un mensaje privado que está utilizando MPLAB 8.3. Hasta donde yo sé, los gestores de arranque debe ser compilado con MPLAB X. debuging es posible, pero no lo he probado.

Tambien se podría con el ICD2?

I've only used ICD3. If the ICD2 can program the chip you should be able to debug as well.

Yo sólo he utilizado ICD3. Si el ICD2 se puede programar el chip debe ser capaz debug así.

Ahora buscaré algún tutorial para ver como se le puede hacer el bootloader al chipkit uno32, y ver que tipo de programas me hace falta. Muchas gracias. Un saludo.

No problem.

De nada.

Jacob


afelio

Tue, 03 Jan 2012 10:12:30 +0000

Jacob, Thanks for all the help.

¿I can break if I do wrong chipkit loading the bootloader?

Thank you very much.


Jacob Christ

Tue, 03 Jan 2012 16:39:33 +0000

No. Just reload the correct bootloader from Digilent.

No. Sólo volver a cargar el bootloader correcto de Digilent.

Jacob


afelio

Tue, 03 Jan 2012 16:54:09 +0000

Thanks Jacob.

Still do not have programmer / debugger for PIC32, so I'm thinking of buying the clone PICKIT 3, I have no money for the genuine.

Once you have the clone PICKIT 3, I can load the bootloader or continue programming with PICKIT clone 3, but now I question arises:

Does the clone PICKIT 3 works well with PIC32?


Jacob Christ

Sat, 21 Jan 2012 06:59:40 +0000

I have not used the PICKIT 3 with the PIC32.

No he usado el PICKIT 3 con el PIC32.

Jacob


afelio

Wed, 01 Feb 2012 09:14:08 +0000

Hello friends.

Well, I finally bought the Pickit 3 (I would use the chipkit as PIC), now I need to buy the Pines for ICSP.

But several questions occur to me, I hope you can help me.

Pickit Why use the external power is required?

Would be between 7V-15V

Or can be powered by USB?

I have a battery for my electronic designs 12V 4 Ah, what concerns me is the 4Ah, ¿I can or I can burn chipkit connecting without problems?

Once all connected, with the MPLAB, it would set and ready, right?

Thank you very much everyone.

Greetings.


Jacob Christ

Wed, 01 Feb 2012 22:36:28 +0000

The Ah rating of a battery is just an indication of how much energy it will store. If you are concerned about damaging the board the main thing you need to worry about is the voltage of the battery and the load on the battery. This dictates the current that will be drawn (A no Ah). You should be careful to not short the terminals of the battery though with a wrench or screw driver as you may melt the terminal or tool since the battery has so much energy available to deliver to the short.

Jacob


afelio

Thu, 02 Feb 2012 09:21:47 +0000

OK.

Thanks Jacob.


Ryan K

Tue, 14 Feb 2012 01:00:02 +0000

Hello,

The Chipkit Uno32 can be powered using the USB if you wish. It doesn't need an external power source when using the Pickit 3.

Best Regards, Ryan K


afelio

Tue, 14 Feb 2012 09:40:11 +0000

Perfect. Thank you very much. Yet I have used external power and works great. Now I'm struggling with the timer, which I can not set it to 1 second.

Best Regards.


Ryan K

Wed, 15 Feb 2012 07:12:29 +0000

Hello,

Have you read this document?

http://ww1.microchip.com/downloads/en/DeviceDoc/PIC32MX_Datasheet_v2_61143B.pdf

This will help you out in terms of using chips from the PIC32MX family. There is a timer section in here that you should read.

Best Regards, Ryan K


MCHPSupport

Wed, 15 Feb 2012 22:32:28 +0000

Hello,

Here is some code I posted in another post. This code configures the device to use the internal oscillator at 80MHz and uses Timer1 to achieve an interrupt every second.

Thanks and regards, Josh


afelio

Thu, 16 Feb 2012 07:09:44 +0000

Hi Josh,

Great, Thanks, I'll look as soon as possible.

Thank you very much.


dddddd

Tue, 28 May 2013 20:59:00 +0000

hello it's possible to use uno32 with mplabx without a programmer? i just have a pickit2, I think (but i can be wrong) that it doesn't work with pic32.

Thanks


majenko

Tue, 28 May 2013 21:28:43 +0000

You could use mplab-x to generate a HEX file (be sure to use the right LD script so it fits with the bootloader) then manually upload it using avrdude.

Alternatively you could ignore the bootloader and use pic32prog to get the pickit2 to work with a pic32.


dddddd

Wed, 29 May 2013 16:41:06 +0000

didn't know about pic32prog, I will try, thank you :D