Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Arduino/Genuino MKR1000"
WARNING: Category 'I/o' in library MKRMotorCarrier is not valid. Setting to 'Uncategorized'
Sketch uses 10192 bytes (3%) of program storage space. Maximum is 262144 bytes.
Forcing reset using 1200bps open/close on port COM11
PORTS {COM3, COM4, COM11, } / {COM3, COM4, COM11, } => {}
PORTS {COM3, COM4, COM11, } / {COM3, COM4, COM9, COM11, } => {COM9, }
Found upload port: COM9
C:\Users\spart\OneDrive\Documents\ArduinoData\packages\arduino\tools\bossac\1.7.0/bossac.exe -i -d --port=COM9 -U true -i -e -w -v C:\Users\spart\AppData\Local\Temp\arduino_build_803895/Blink.ino.bin -R
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:43
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:43
Version : v2.0 [Arduino:XYZ] Dec 20 2016 15:36:43
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.881 seconds
Write 10448 bytes to flash (164 pages)
write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x2000, size=0x1000)
[=========== ] 39% (64/164 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x3000, size=0x1000)
[======================= ] 78% (128/164 pages)write(addr=0x20005000,size=0x900)
writeBuffer(scr_addr=0x20005000, dst_addr=0x4000, size=0x900)
[==============================] 100% (164/164 pages)
done in 0.070 seconds
Verify 10448 bytes of flash with checksum.
checksumBuffer(start_addr=0x2000, size=0x1000) = f8c2
checksumBuffer(start_addr=0x3000, size=0x1000) = 260a
checksumBuffer(start_addr=0x4000, size=0x8d0) = c793
Verify successful
done in 0.009 seconds
CPU reset.
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
writeWord(addr=0xe000ed0c,value=0x5fa0004)
Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
pert:
Please do this:
- (In the Arduino IDE) File > Preferences
- Uncheck the checkbox next to "Show verbose output during: compilation"
- Check the checkbox next to "Show verbose output during: upload
- Click "OK"
- Sketch > Upload
- After the upload fails, you'll see a button on the right side of the orange bar "Copy error messages" (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button.
- In a forum reply here, click on the reply field.
- Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
- Press "Ctrl + V". This will paste the upload output between the code tags.
- Move the cursor outside of the code tags before you add any additional text to your reply.
Hi
I have another issue when I tried to run Simulink, so I came back to run the blink sketch again to see if there are any issues in the board.
I pretty sure the sketch has been uploaded into the board, because the LED blinks with different frequency when I changed the delay time.
However as you see in the code, it still shows the error, Couldn't find a board
By the way, the error in Simulink is no add-on uploaded to the board. Do you think thoes two errors are related?
Could you please have a look at this? Thanks