Date: 2012-11-18 12:38 (UTC)
Спасибо, заработало! Мой вариант с созданием таски и миганием лампочкой внутри нее тоже.

Перепрошивка сопровождается 2мя таймаутами - первый раз перед началом:

/opt/mpide/hardware/tools/avrdude -C /opt/mpide/hardware/tools/avrdude.conf -P /dev/ttyUSB0 -c stk500v2 -p pic32 -b 115200 -v -U flash:w:test-leds.hex:i

avrdude: Version 5.10, compiled on Jun 29 2010 at 03:44:14
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "/opt/mpide/hardware/tools/avrdude.conf"
User configuration file is "/home/benderamp/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyUSB0
Using Programmer : stk500v2
Overriding Baud Rate : 115200
avrdude: stk500_2_ReceiveMessage(): timeout


В этот момент нужно нажать кнопку reset на плате - процесс почти сразу продолжится. Второй раз как уже было выше - в конце - программа начинает работать, нужно просто нажать ctrl+c.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org