chipKIT® Development Platform

Inspired by Arduino™

No target found chipKIT Uno32 on Arduino 1.8.5 and chipKIT-core 1.4.3

Created Tue, 07 Nov 2017 23:52:47 +0000 by hadiknown


hadiknown

Tue, 07 Nov 2017 23:52:47 +0000

I'm just starting out with the Uno32 board and I'm having a world of trouble. I wrote a simple bit of code to have two LEDs alternate in flashing and that compiles fine:

void setup() {
 pinMode(13, OUTPUT);
 pinMode(43, OUTPUT);
}

void loop() {
 digitalWrite(13, HIGH);
 digitalWrite(43, LOW);
 delay(500);
 digitalWrite(13, LOW);
 digitalWrite(43, HIGH);
 delay(500);
}

However, I get this error when I try to upload to the board:

Arduino: 1.8.5 (Mac OS X), Board: "chipKIT UNO32"

Sketch uses 6736 bytes (5%) of program storage space. Maximum is 126976 bytes. Global variables use 3060 bytes (18%) of dynamic memory, leaving 13324 bytes for local variables. Maximum is 16384 bytes. Programmer for Microchip PIC32 microcontrollers, Version 2.1.24 Copyright: (C) 2011-2015 Serge Vakulenko

No target found. An error occurred while uploading the sketch

This happened on my Windows machine too. I read issues from years ago about pic32prog, but they claimed that the issue should've been fixed already. Please let me know if more information is required. I hope someone can help.


EmbeddedMan

Wed, 08 Nov 2017 00:27:50 +0000

hadiknown,

OK, we'll do our best to help you out.

  1. What version of chipKIT-core do you have installed in the IDE?

  2. Can you see the serial port that the FTDI chip on the UNO32 creates? I.e. if you do "ls /etc/dev" before you plug in the UNO32 and then after, do you see a new TTY port? (I'm not a Mac guy, so I'm a little bit guessing here, but you get the idea.)

*Brian


majenko

Wed, 08 Nov 2017 09:46:24 +0000

It does sound like you have the wrong (or no) port selected...

By the way, the path is /dev not /etc/dev ;)


Reiner6

Mon, 27 Nov 2017 05:06:26 +0000

I have the same issue, im on windows and i get the same issue

Arduino: 1.8.5 (Windows 10), Board: "chipKIT UNO32"
Sketch uses 14288 bytes (11%) of program storage space. Maximum is 126976 bytes.
Global variables use 6292 bytes (38%) of dynamic memory, leaving 10092 bytes for local variables. Maximum is 16384 bytes.
C:\Users\lordr\AppData\Local\Arduino15\packages\chipKIT\tools\pic32prog\v2.1.24/pic32prog.exe -d COM1 -b 115200 C:\Users\lordr\AppData\Local\Temp\arduino_build_118768/AnalogReadSerial.ino.hex 

Programmer for Microchip PIC32 microcontrollers, Version 2.1.24
No target found.

An error occurred while uploading the sketch
    Copyright: (C) 2011-2015 Serge Vakulenko

device manager does identify the chipkit but won't upload


majenko

Mon, 27 Nov 2017 12:47:24 +0000

Is COM1 really your chipKIT board?


Reiner6

Mon, 27 Nov 2017 16:59:28 +0000

Yes, i checked it from the device manager to confirm this


majenko

Mon, 27 Nov 2017 23:09:12 +0000

Do you see the led L1 flash when the IDE tries to program the board? I.e., is the IDE successfully resetting the board to enter the bootloader?