-
Notifications
You must be signed in to change notification settings - Fork 257
Open
Description
I spent some time yesterday trying to figure why programming on my MAC wouldn't work.. it kept returning early with this error:
$ bossac -p /dev/tty.usbmodem1443201 -i -U -e -w -v -b BaseboardMCU7.bin
Device : ATSAMS70x21
Version : v1.1 Oct 13 2014 12:02:31
Address : 0x400000
Pages : 4096
Page Size : 512 bytes
Total Size : 2048KB
Planes : 1
Lock Regions : 128
Locked : none
Security : false
Boot Flash : false
Erase flash
Done in 7.694 seconds
Write 68208 bytes to flash (134 pages)
Then switched to Windows (GUI) and everything went smoothly, and the operation completed in a few seconds.
I suspect something might be up with PosixSerialPort.cpp
.. but I have not tried on Linux honestly. Anybody else noticed the same behavior?
I tried all sorts of things with stty -f /dev/cu.usbmodemxxx
and stty -f /dev/tty.usbmodemxxx
taking care to keep the serial port file descriptor open but nothing helped.. and after all the port configuration is probably overridden when BOSSA starts.
Metadata
Metadata
Assignees
Labels
No labels