3 ms·
You wouldn't need any changes to the AVR side to do that, because the bootloader doesn't need anything special other than a reboot to get it into programming mo
by Sanddancer 11y ago
You wouldn't need any changes to the AVR side to do that, because the bootloader doesn't need anything special other than a reboot to get it into programming mode. However, if you've got an android device, the easiest, most reliable, way to program it would be to get a $3 usb otg dongle and just plugging your arduino into that. There are tons of free apps that will burn a new program on from there.
- detaro 11y ago> You wouldn't need any changes to the AVR side to do that, because the bootloader doesn't need anything special other than a reboot to get it into programming mode. Then you AFAIK need an additional chip for the programming. Which e.g. the Arduino has, but you'd not necessarily add to your own design. > However, if you've got an android device, the easiest, most reliable, way to program it would be to get a $3 usb otg dongle and just plugging your arduino into that. There are tons of free apps that will burn a new program on from there. + "there is an android app for that" is exactly the thing you can avoid with such a setup, once WebAudio is reliable enough you just can distribute a link to your users and they don't need any third-party software, you don't need to maintain documentation for it, ... Having seen quite a few support discussions for DIY projects that distributed pre-programmed chips this would be useful in some cases.
- Sanddancer 11y agoNo additional chip needed. With the USB Serial chip, the only special thing programming does is it's got one of the unused lines on the usb serial chip, RTS IIRC, hooked up to drive the reset pin low. The bootloader that the Arduino uses listens on the serial port for a magic number on bootup to enter into programming mode, no special chip needed. With the webaudio setup, I guess that's fair enough. For being absolutely foolproof being able to say to go to a specific webpage and then press play on tape is something we've been doing for a while. I personally prefer USB/Serial programming, but that's possibly just me having dealt with too many hand-me-down radios with scratchy headphone jacks over the years.