Firmware flashing January 15, 2014 11:37AM |
Registered: 11 years ago Posts: 116 |
bossac --port=COM4 -U true -e -w -v -b RepRapFirmware-XXX-DD-MM-YYYY.bin -Rto
bossac --port=COM4 -U -e -w -v -b RepRapFirmware-XXX-DD-MM-YYYY.bin -R
Re: Firmware flashing January 15, 2014 04:59PM |
Registered: 12 years ago Posts: 1,611 |
Re: Firmware flashing January 15, 2014 05:06PM |
Registered: 9 years ago Posts: 191 |
Re: Firmware flashing January 15, 2014 05:19PM |
Registered: 12 years ago Posts: 1,611 |
Re: Firmware flashing January 15, 2014 05:24PM |
Registered: 9 years ago Posts: 275 |
Re: Firmware flashing January 15, 2014 05:55PM |
Registered: 12 years ago Posts: 1,611 |
Re: Firmware flashing January 15, 2014 06:05PM |
Registered: 9 years ago Posts: 14,646 |
Quote
C:\Users\David\Eclipse\RepRapFirmware\Release>C:\Arduino-1.5.4\hardware\tools\bossac.exe --port=COM12 -U -e -w -v -b C:\Users\David\Downloads\RepRapFirmware-059-15-01-2014.bin -R
Invalid USB value: -e
C:\Users\David\Eclipse\RepRapFirmware\Release>C:\Arduino-1.5.4\hardware\tools\bossac.exe --port=COM12 -U true -e -w -v -b C:\Users\David\Downloads\RepRapFirmware-059-15-01-2014.bin -R
Erase flash
Write 168716 bytes to flash
[==============================] 100% (660/660 pages)
Verify 168716 bytes of flash
[==============================] 100% (660/660 pages)
Verify successful
Set boot flash true
CPU reset.
C:\Users\David\Eclipse\RepRapFirmware\Release>
Re: Firmware flashing January 15, 2014 06:34PM |
Registered: 12 years ago Posts: 1,611 |
Re: Firmware flashing January 15, 2014 06:39PM |
Registered: 9 years ago Posts: 14,646 |
Quote
droftarts
Hmm... maybe it's Windows XP that needs 'true' removed. Thanks David!
Ian
RepRapPro tech support
Quote
C:\Users\David\Eclipse\RepRapFirmware\Release>C:\Arduino-1.5.4\hardware\tools\bossac.exe -h
Usage: bossac.exe [OPTION...] [FILE]
Basic Open Source SAM-BA Application (BOSSA) Version 1.3a
Flash programmer for Atmel SAM devices.
Copyright (c) 2011-2012 ShumaTech (http://www.shumatech.com)
Examples:
bossac -e -w -v -b image.bin # Erase flash, write flash with image.bin,
# verify the write, and set boot from flash
bossac -r0x10000 image.bin # Read 64KB from flash and store in image.bin
Options:
-e, --erase erase the entire flash
-w, --write write FILE to the flash; accelerated when
combined with erase option
-r, --read[=SIZE] read SIZE from flash and store in FILE;
read entire flash if SIZE not specified
-v, --verify verify FILE matches flash contents
-p, --port=PORT use serial PORT to communicate to device;
default behavior is to auto-scan all serial ports
-b, --boot[=BOOL] boot from ROM if BOOL is 0;
boot from FLASH if BOOL is 1 [default];
option is ignored on unsupported devices
-c, --bod[=BOOL] no brownout detection if BOOL is 0;
brownout detection is on if BOOL is 1 [default]
-t, --bor[=BOOL] no brownout reset if BOOL is 0;
brownout reset is on if BOOL is 1 [default]
-l, --lock[=REGION] lock the flash REGION as a comma-separated list;
lock all if not given [default]
-u, --unlock[=REGION] unlock the flash REGION as a comma-separated list;
unlock all if not given [default]
-s, --security set the flash security flag
-i, --info display device information
-d, --debug print debug messages
-h, --help display this help text
-U, --force_usb_port=true/false override USB port autodetection
-R, --reset reset CPU (if supported)
Report bugs to
C:\Users\David\Eclipse\RepRapFirmware\Release>
Re: Firmware flashing January 15, 2014 06:47PM |
Registered: 9 years ago Posts: 578 |
Re: Firmware flashing January 15, 2014 08:06PM |
Registered: 12 years ago Posts: 1,611 |
Re: Firmware flashing January 16, 2014 04:24AM |
Registered: 9 years ago Posts: 275 |
Quote
droftarts
Thanks Dario! Do you mean it doesn't work on Windows 7 64-bit because you don't have the device drivers?
I have updated the instructions again, hopefully to make it even clearer. Comments?
Ian
RepRapPro tech support