Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino MKR 1010 Upload failure #241

Open
julesmoretti opened this issue Jul 22, 2022 · 0 comments
Open

Arduino MKR 1010 Upload failure #241

julesmoretti opened this issue Jul 22, 2022 · 0 comments

Comments

@julesmoretti
Copy link

Hello:

When trying to upload the HX711/HX711_basic_example.ino to the Arduino MKR 1010

I get:

Sketch uses 13136 bytes (5%) of program storage space. Maximum is 262144 bytes.
Global variables use 3012 bytes (9%) of dynamic memory, leaving 29756 bytes for local variables. Maximum is 32768 bytes.
Forcing reset using 1200bps open/close on port /dev/cu.usbmodem142101
PORTS {/dev/cu.BLTH, /dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem142101, /dev/tty.BLTH, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem142101, } / {/dev/cu.BLTH, /dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem142101, /dev/tty.BLTH, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem142101, } => {}
PORTS {/dev/cu.BLTH, /dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem142101, /dev/tty.BLTH, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem142101, } / {/dev/cu.BLTH, /dev/cu.Bluetooth-Incoming-Port, /dev/tty.BLTH, /dev/tty.Bluetooth-Incoming-Port, } => {}
PORTS {/dev/cu.BLTH, /dev/cu.Bluetooth-Incoming-Port, /dev/tty.BLTH, /dev/tty.Bluetooth-Incoming-Port, } / {/dev/cu.BLTH, /dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem142101, /dev/tty.BLTH, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem142101, } => {/dev/cu.usbmodem142101, /dev/tty.usbmodem142101, }
Found upload port: /dev/cu.usbmodem142101
/Users/jules/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3/bossac -i -d --port=cu.usbmodem142101 -U true -i -e -w -v /var/folders/_g/bt3w80nn7017x_s500xm7pkh0000gn/T/arduino_build_582808/HX711_basic_example.ino.bin -R 
Set binary mode
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
version()=v2.0 [Arduino:XYZ] Mar 19 2018 09:45:14
chipId=0x10010005
Connected at 921600 baud
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
Atmel SMART device 0x10010005 found
write(addr=0x20004000,size=0x34)
writeWord(addr=0x20004030,value=0x10)
writeWord(addr=0x20004020,value=0x20008000)
Device       : ATSAMD21G18A
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
Chip ID      : 10010005
version()=v2.0 [Arduino:XYZ] Mar 19 2018 09:45:14
Version      : v2.0 [Arduino:XYZ] Mar 19 2018 09:45:14
Address      : 8192
Pages        : 3968
Page Size    : 64 bytes
Total Size   : 248KB
Planes       : 1
Lock Regions : 16
Locked       : readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
none
readWord(addr=0x41004018)=0
Security     : false
Boot Flash   : true
readWord(addr=0x40000834)=0
BOD          : false
readWord(addr=0x40000834)=0
BOR          : false
Arduino      : FAST_CHIP_ERASE
Arduino      : FAST_MULTI_PAGE_WRITE
Arduino      : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
chipErase(addr=0x2000)
done in 0.823 seconds

Write 13136 bytes to flash (206 pages)
write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x2000, size=0x1000)
[=========                     ] 31% (64/206 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x3000, size=0x1000)
[==================            ] 62% (128/206 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x4000, size=0x1000)
[===========================   ] 93% (192/206 pages)write(addr=0x20005000,size=0x380)
writeBuffer(scr_addr=0x20005000, dst_addr=0x5000, size=0x380)
[==============================] 100% (206/206 pages)
done in 0.087 seconds

Verify 13136 bytes of flash with checksum.
checksumBuffer(start_addr=0x2000, size=0x1000) = cefe
checksumBuffer(start_addr=0x3000, size=0x1000) = a402
checksumBuffer(start_addr=0x4000, size=0x1000) = be20
checksumBuffer(start_addr=0x5000, size=0x350) = e805
Verify successful
done in 0.012 seconds
CPU reset.
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
writeWord(addr=0xe000ed0c,value=0x5fa0004)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant