Created Sat, 11 Feb 2017 16:55:06 +0000 by nstew
Sat, 11 Feb 2017 16:55:06 +0000
I have a chipKIT pi, and am trying to get it to work with my Raspberry Pi 3, which is running Raspbian. I tried MPIDE, but it won't upload to the board. I also tried element14's Raspbian with MPIDE image, but it won't boot. I also tried chipKit Core, but it seems that the Raspbian version of the Arduino IDE is too outdated for chipKit Core to work with it. I am trying to use some Arduino sensors with my Pi.
What am I doing wrong? Is there another way to get Arduino sensors to work with the Pi? Any help would be greatly appreciated.
Sat, 11 Feb 2017 18:50:41 +0000
Are you aware that you have to place the chipKIT Pi into programming mode before attempting to upload a sketch to it?
Also you shouldn't attempt to install the Arduino IDE from the official Debian repositories - it's an absolutely ancient version. Instead download the ARM version direct from the Arduino website.
Sun, 12 Feb 2017 16:22:48 +0000
How do I place the chipKIT Pi into progamming mode? Is it the same as bootloader mode?
Sun, 12 Feb 2017 19:12:41 +0000
Yes. Hold the BOOTLOADER_EN button and tap the RESET button.
Sun, 12 Feb 2017 23:46:54 +0000
I put the chipKIT Pi in programmer mode and plugged the chipKIT Pi into my Raspberry Pi before booting my Raspberry Pi and then tried to upload the blink sketch onto the chipKIT Pi using both the Arduino IDE with chipKIT core and MPIDE. I got the same error in both IDEs: target blank. I am using the most recent version of the Arduino IDE and MPIDE.
Mon, 13 Feb 2017 12:15:39 +0000
Have you disabled the console on /dev/ttyAMA0?
Mon, 13 Feb 2017 14:32:04 +0000
No, how do I do that?
Mon, 13 Feb 2017 14:47:48 +0000
Now when I try to upload blink to my chipKIT Pi, the Arduino IDE says No target found. MPIDE says Error inside Serial.serialEvent() java.io.IOException: Inappropriate ioctl for device in nativeavailable at gnu.io.RXTXPort.nativeavailable(Native Method) at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1598) at processing.app.Serial.serialEvent(Serial.java:215) at gnu.io.RXTXPort.sendEvent(RXTXPort.java:774) at gnu.io.RXTXPort.eventLoop(Native Method) at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1644)