Created
February 14, 2017 07:28
-
-
Save todbot/f253188a38555c16a44c9e14aacbf82f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bokbokbok% bossac -i -p /dev/tty.usbmodem14121 | |
Atmel SMART device 0x10010005 found | |
Device : ATSAMD21G18A | |
Chip ID : 10010005 | |
Version : v1.1 [Arduino:XYZ] Jan 17 2017 22:26:41 | |
Address : 8192 | |
Pages : 3968 | |
Page Size : 64 bytes | |
Total Size : 248KB | |
Planes : 1 | |
Lock Regions : 16 | |
Locked : none | |
Security : false | |
Boot Flash : true | |
BOD : true | |
BOR : true | |
Arduino : FAST_CHIP_ERASE | |
Arduino : FAST_MULTI_PAGE_WRITE | |
Arduino : CAN_CHECKSUM_MEMORY_BUFFER | |
bokbokbok% bossac -r -p /dev/tty.usbmodem14121 origfw.bin | |
Atmel SMART device 0x10010005 found | |
Read 253952 bytes from flash | |
[========================== ] 89% (3564/3968 pages) | |
SAM-BA operation failed | |
bokbokbok% bossac -r -p /dev/tty.usbmodem14121 origfw.bin | |
Atmel SMART device 0x10010005 found | |
Read 253952 bytes from flash | |
[==============================] 100% (3968/3968 pages) | |
done in 10.418 seconds | |
bokbokbok% bossac -e -w -v -R -p /dev/tty.usbmodem14121 ~/Downloads/adafruit-circuitpython-feather_m0_basic-0.8.4.bin | |
Atmel SMART device 0x10010005 found | |
Erase flash | |
done in 0.759 seconds | |
Write 189560 bytes to flash (2962 pages) | |
[==============================] 100% (2962/2962 pages) | |
done in 1.087 seconds | |
Verify 189560 bytes of flash with checksum. | |
Verify successful | |
done in 0.272 seconds | |
CPU reset. | |
bokbokbok% screen /dev/tty.usbmodem1412 | |
------------ | |
Press any key to enter the REPL and disable auto-reset. Use CTRL-D to soft reset. | |
Adafruit CircuitPython 0.8.4 on 2017-02-07; Adafruit Feather M0 Basic with samd21g18 | |
>>> less main.py | |
Traceback (most recent call last): | |
File "<stdin>", line 1 | |
SyntaxError: invalid syntax | |
>>> | |
soft reboot | |
Auto-soft reset is on. Simply save files over USB to run them. | |
main.py output: | |
Traceback (most recent call last): | |
File "main.py", line 8, in <module> | |
NameError: name 'NEOPIXEL' is not defined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment