Share:
Notifications
Clear all

An error occurred while uploading the sketch, V6, Please help!


59856536c203795633d3d2731835a0b5?s=80&d=mm&r=g
(@stellan-clark)
New Member Customer
Joined: 1 month ago
Posts: 2
Topic starter  

to start, I am very green to Arduino, I understand the basics and have gone through the tutorials on my UNO, I was under the impression that this would be a straight forward project, print the parts, assemble, connect board to PC, upload script. but I have not been able to get the sketch to upload. I have read through the possible solutions in the forum but none seem to work. It took me a while to find the proper version to get the Arduino/Genuino ZERO Board to show up ( I also tried the Arduino/Zero that comes with SAMD V1.8.11 with no luck) I also tried deleting the Serial1.flush (); command as mentioned in another post, no luck there either. AntiVirus scanner/protection is off, I have tried 3 different cables and 3 different USB ports to make sure it wasn’t a port or cable issue. all uploads start quick the seem to freeze for a bit at the end, it usually takes only a few minutes. I am happy to paste the full error message but I didn’t want to overwhelm the first post with too much text, or break any rules about pasting stuff.

 any help would be greatly appreciated !

This topic was modified 2 weeks ago by Stellaverse

Quote
59856536c203795633d3d2731835a0b5?s=80&d=mm&r=g
(@stellan-clark)
New Member Customer
Joined: 1 month ago
Posts: 2
Topic starter  

did a system restart  ( which I have done before) but now this started showing up. I can hear it disconnect and reconnect to the computer and this is the code that shows up..

Set binary mode
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
version()=v2.0 [Arduino:XYZ] Dec 20 2016 15:36:39
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] Dec 20 2016 15:36:39
Version : v2.0 [Arduino:XYZ] Dec 20 2016 15:36:39
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)=0x7000a
BOD : true
readWord(addr=0x40000834)=0x7000a
BOR : true
Arduino : FAST_CHIP_ERASE
Arduino : FAST_MULTI_PAGE_WRITE
Arduino : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
chipErase(addr=0x2000)
done in 0.833 seconds

Write 38528 bytes to flash (602 pages)
write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x2000, size=0x1000)
[=== ] 10% (64/602 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x3000, size=0x1000)
[====== ] 21% (128/602 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x4000, size=0x1000)
[========= ] 31% (192/602 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x5000, size=0x1000)
[============ ] 42% (256/602 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x6000, size=0x1000)
[=============== ] 53% (320/602 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x7000, size=0x1000)
[=================== ] 63% (384/602 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x8000, size=0x1000)
[====================== ] 74% (448/602 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x9000, size=0x1000)
[========================= ] 85% (512/602 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0xa000, size=0x1000)
[============================ ] 95% (576/602 pages)write(addr=0x20005000,size=0x680)
writeBuffer(scr_addr=0x20005000, dst_addr=0xb000, size=0x680)
[==============================] 100% (602/602 pages)
done in 0.304 seconds

Verify 38528 bytes of flash with checksum.
checksumBuffer(start_addr=0x2000, size=0x1000) = 9e3a
checksumBuffer(start_addr=0x3000, size=0x1000) = b01f
checksumBuffer(start_addr=0x4000, size=0x1000) = 7c8
checksumBuffer(start_addr=0x5000, size=0x1000) = 9333
checksumBuffer(start_addr=0x6000, size=0x1000) = b9bf
checksumBuffer(start_addr=0x7000, size=0x1000) = 7cbd
checksumBuffer(start_addr=0x8000, size=0x1000) = 89a7
checksumBuffer(start_addr=0x9000, size=0x1000) = 9399
checksumBuffer(start_addr=0xa000, size=0x1000) = 3aeb
checksumBuffer(start_addr=0xb000, size=0x680) = d222
Verify successful
done in 0.034 seconds
CPU reset.
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
writeWord(addr=0xe000ed0c,value=0x5fa0004)


ReplyQuote
Share: