chipKIT® Development Platform

Inspired by Arduino™

Join Arduino & PIC32 code

Created Thu, 07 May 2015 15:51:50 +0000 by m.kennedy


m.kennedy

Thu, 07 May 2015 15:51:50 +0000

Hi to everyone,

I'm new here and I write this post to confirm my doubts. I have been reading a lot about Chipkit and I don't understand the real working fully.

  1. I have some PIC32 (PIC32MX795F512L) developments using Ethernet, Modbus, ADC's... Can I use these codes, directly, in Chipkit Uno32 (for example this model)? I think the answer is YES because the Uno32 heart is a PIC32, but the development guide says that I need to use MPIDE. So, one MPLAB X project, Can I program directly to Uno32?

  2. I develop an "sketch Arduino" using Uno32. Works fine. But, Can I program this project into PIC32 normal? (using MPIDE)

  3. And the most complicated. We suppose 1. and 2. are true. I can use "arduino sketch" (MPIDE) into PIC32 and I can program MPLAB X projects in Uno32. I develop a "sketch" to interfacing with TFT graphic, and, on the other hand, I want to use one PIC32 MPLAB X project to recieve files trough Ethernet and show this image using that TFT and " Arduino sketch". Is that possible in the same PIC32? (are different codes).

Sorry but I'm very lost in this case :(

Thanks for your time,

Regards


majenko

Thu, 07 May 2015 16:30:37 +0000

The answer to your questions can be summed up with a "possibly". :)

Yes you can treat the Uno32 as a vanilla PIC32 chip. There is an ICSP port on the board to program the chip directly with a hardware progammer. Progamming with the bootloader is more tricky but can be done if you are familiar with working with linker scripts.

Again yes you can program a vanilla PIC32 with MPIDE but it is tricky. It is often simplest to install the bootloader and treat it like a development board.

Watch what you are trying to run on the Uno 32. It doesn't have Ethernet or Dma in that specific chip.

No you can't run two different pieces of code at the same time. You will have to combine them together into one program.