chipKIT® Development Platform

Inspired by Arduino™

Remote programming the chipKIT Pi

Created Thu, 07 Aug 2014 21:11:46 +0000 by majenko


majenko

Thu, 07 Aug 2014 21:11:46 +0000

I have managed (with a small hack) to implement remote programming of the chipKIT Pi through the network!

It uses a similar technique to the Arduino Yun, and UECIDE's latest beta fully supports it.

It basically SCP's the HEX file over the network, then uses SSH to call avrdude on the Pi to program the ckPi through the on-board serial.

I have created a support package to configure the Pi for remote programming as well - make it easy for users to get going.

[url]http://www.uecide.org/node/25[/url]


dominicfhk

Fri, 29 Aug 2014 18:10:18 +0000

Nice! I have been thinking about programming a MAX32 using an internet capable secondary device like a raspberry Pi to upload new firmware. But what if ones financially and power budget can only afford an simple Ethernet shield instead? Do you think it is possible to use TFTP for uploading new firmware?


majenko

Fri, 29 Aug 2014 19:49:08 +0000

Perfectly possible ... if you can write a bootloader to do it ;)

I have been, for a while now, thinking about a "secondary" bootloader that sits between the normal serial bootloader and the sketch and works kind of like UBoot and similar bootloaders, providing networking, serial uploads, execute-from-ram, NVRAM facilities, and such like, but it's kind of low priority at the moment ;)