On Sun, 04 Oct 2015, Lee Jones wrote:
Also, can you please let me know if your board was missing the bootloader, and if you were able to get it reflashed?
The Sensor Board delivered to me was also wanting of a bootloader. The initial plan was to flash it with a USBAsp bought from China, however the Arduino IDE complained of a programmer error and refused to load the binary. Assuming the problem was related to Dan et. al's low Current issue, I moved right along to the 'Arduino as ISP' method using one of my Nanos.
In the attempt depicted above, the Nano is connected to the Sensor Board via the ISP header and power is being drawn from the Nano's v5 supply; however, during subsequent attempts the Uno headers were used and despite testing all configurations both with and without external power from a regulated power supply, all attempts to flash using 'Arduino as ISP' sadly failed with a 'not in sync' error.
After a little Googling I stumbled across and interesting article which mentioned that all of the cloned USBAsps are shipped with ancient firmware which requires updating. Unfortunately after removing the device from its case it was evident that the 'self programming mode' jumper/button had been omitted on my version. I traced the Reset line from the AVR and back from the Reset pin on the header and discovered that it's possible to bridge 2 of the vias which had the desired effect. Flashing the USBAsp using the Nano in 'Arduino as ISP' mode was successful.
Wiring the newly updated USBAsp up via the Sensor Board's ISP port finally did the trick. After which it was possible to program the AVR from HiKey.
Only I2C support is lacking for me now. Is there a working fix out there? Also, what changes are required to get the console out of the Sensor Board's USB port?