[SOLVED] Downloading flash from atmega1284p via avrdude
hi. i've been trying download code atmega1284p protection copy against future upgrades. i've been using avrdude command (and variations) such as:
avrdude -p atmega1284p -p /dev/ttyusb0 -c stk500v2 -b xxxxx -u flash:r:dump.hex:i
i've tried various -b baud rates. i've tried -f flag. i'm unsure if -c field correct chip.
the usb device correct. normal usb communications board fine. i've tried hitting reset button on board during , before command (red light blinks reset).
in cases, i'm getting timeouts avrdude. ideas? thanks!
avrdude -p atmega1284p -p /dev/ttyusb0 -c stk500v2 -b xxxxx -u flash:r:dump.hex:i
i've tried various -b baud rates. i've tried -f flag. i'm unsure if -c field correct chip.
the usb device correct. normal usb communications board fine. i've tried hitting reset button on board during , before command (red light blinks reset).
in cases, i'm getting timeouts avrdude. ideas? thanks!
the port ttyusb0 what? isp programmer or usb/serial?
if trying download via serial port, bootloader must support this.
if trying download via serial port, bootloader must support this.
Arduino Forum > Using Arduino > Microcontrollers > [SOLVED] Downloading flash from atmega1284p via avrdude
arduino
Comments
Post a Comment