chipKIT® Development Platform

Inspired by Arduino™

New ide, cannot download on linux

Created Fri, 26 Feb 2016 07:17:13 +0000 by Michael Collier


Michael Collier

Fri, 26 Feb 2016 07:17:13 +0000

I have been working on an IDE http://www.kicchip.co.uk that seems to work OK when downloading to chipKit uc32 and max32 boards from a windows machine. But when I try from linux ubuntu it doesn't seem to work.

It DOES work when using the breadboard DP32 device, but I'd like to get ALL chipkit boards working.

Could anyone who uses linux (ubuntu) please try the IDE, it is free. I think the same problem occurs from raspberry pi so if anyone can try that out I'd appreciate it (Pi version 2 only).

I can post the command line I'm executing if that helps...? I have tried executing the chipkit bootload command line as sudo but that didn't work either... If you don't want to try the IDE, but know of this issue I'd appreciate any help..


AndrewHolzer

Mon, 14 Mar 2016 16:20:08 +0000

Hi Michael,

This sounds like an issue with the FTDI driver in Linux maybe. The standard arduino IDE comes with FTDI drivers bundled, so maybe you need to manually install these with your IDE. Please try installing drivers for the FT232RQ device found on the uc32 and other chipKIT boards.

If that alone doesn't solve your issue, you could try launching your IDE with root privileges (see https://www.arduino.cc/en/Guide/Troubleshooting). Another option would be to execute "sudo chmod 666 /dev/ttyUSBx" , where /dev/ttyUSBx is the device node that gets created when you attach your chipKIT board. That command will allow non-root users to access the serial device, and should allow the IDE to access it without elevated privileges. I believe you will need to execute that command each time you attach the device, since the node gets destroyed when you detach it.

Please let me know if this helps you, or if you need further help. I'm happy to assist you. Andrew


Michael Collier

Wed, 16 Mar 2016 12:46:33 +0000

Hi Andrew,

Thanks for the info, I will give it a go and report back..

Cheers, Michael