Hi,
$ sudo apt-get install arduino-core
$ avrdude -P /dev/ttyAMA2 -b 19200 -c stk500v1 -p atmega328p -v -e -U lock:w:0x3F:: m -U efuse:w:0x05:m -U hfuse:w:0xDE:m -U lfuse:w:0xFF:m
$ avrdude -P /dev/ttyAMA2 -b 19200 -c stk500v1 -p atmega328p -v -e -U flash:w:/usrr /share/arduino/hardware/arduino/bootloaders/optiboot/optiboot_atmega328.hex -U ll ock:w:0x0F:m
The above had some repeated characters when I copied it.
Please refer bellow.
------------------------------------------ $ sudo apt-get install arduino-core
$ avrdude -P /dev/ttyAMA2 -b 19200 -c stk500v1 -p atmega328p -v -e -U lock:w:0x3F:m -U efuse:w:0x05:m -U hfuse:w:0xDE:m -U lfuse:w:0xFF:m
$ avrdude -P /dev/ttyAMA2 -b 19200 -c stk500v1 -p atmega328p -v -e -U flash:w:/usr/share/arduino/hardware/arduino/bootloaders/optiboot/optiboot_atmega328.hex -U lock:w:0x0F:m ------------------------------------------
Akira
On 03/26/2016 01:20 PM, Akira Tsukamoto wrote:
Hi,
This is for the people who do not have Arduino but would like to try writing bootloader.
Assuming you have working RevA or B 96Boards Sensor board,
This is my crude memo when I used RevA Sensor Board to write the bootloader on another Sensor board which did not have the bootloader.
This memo is what I wrote in January and I have not double checked it but I will posted here since it might help others.
The bellow was on HiKey, please change ttyAMA2 if you are using DB410C.
$ sudo apt-get install arduino-core
$ avrdude -P /dev/ttyAMA2 -b 19200 -c stk500v1 -p atmega328p -v -e -U lock:w:0x3F:: m -U efuse:w:0x05:m -U hfuse:w:0xDE:m -U lfuse:w:0xFF:m
$ avrdude -P /dev/ttyAMA2 -b 19200 -c stk500v1 -p atmega328p -v -e -U flash:w:/usrr /share/arduino/hardware/arduino/bootloaders/optiboot/optiboot_atmega328.hex -U ll ock:w:0x0F:m
I attached the pictures of wiring.
If anyone tries and If this works or not please let me know.
Akira
On 3/26/2016 12:43 AM, Mark Brown wrote:
On 25 March 2016 at 15:39, Grant Likely <grant.likely@linaro.org mailto:grant.likely@linaro.org> wrote:
On Fri, Mar 25, 2016 at 2:24 PM, David Mandala <david.mandala@linaro.org <mailto:david.mandala@linaro.org>> wrote: > I show you are coming to ELC, if that is correct, toss it into your suitcase > if you have room, I'll bring my flasher. I will have my programmer at both Collaboration summit and ELC also.
Well, if I can fit in my bag that's probably the easiest thing - thanks.