Signed windows driver for D21G?

I have a brand new D21G and attempting to program it with Arduino IDE 1.8.13 on Windows 10 and no luck.  The D21G screen is pulsing so permanently in the bootloader and the COM port is shown as a standard USB serial deviceby device manager. I'm unable to use the industruino driver as Windows errors out saying it is not digitally signed.  Trying to download ends in errors IDE error pasted below. HELP! Is there a signed driver somewhere?!?!?!?

 

PORTS {COM11, } / {COM11, } => {}

PORTS {COM11, } / {COM11, } => {}

PORTS {COM11, } / {COM11, } => {}

PORTS {COM11, } / {COM11, } => {}

PORTS {COM11, } / {COM11, } => {}

PORTS {COM11, } / {COM11, } => {}

Uploading using selected port: COM11

___REMOVE___/bossac-0x4000.exe -i -d --port=COM11 -U true -i -e -w -v C:\Users\pcox4\AppData\Local\Temp\1\arduino_build_323989/AnalogInOutSerial.ino.bin -R 

java.io.IOException: Cannot run program "___REMOVE___/bossac-0x4000.exe": CreateProcess error=2, The system cannot find the file specified

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)

at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)

at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)

at cc.arduino.packages.uploaders.SerialUploader.runCommand(SerialUploader.java:383)

at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:197)

at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)

Paul Cox
Paul Cox
14
| 0 0 0
Asked on 4/30/21, 5:33 PM
0
vote
1023 Views

The error message above seems to show that java is having a hard time finding a file and the __REMOVE__ looked suspicious, so I looked for bossac executable and attempted to run it in a command prompt. It runs but the flash verification seems to fail, so I'd guess there are multiple issues here.

I would also like to specify that the Arduino IDE board manager shows the Industruino support at version 1.0.1. 1.0.3 is listed but when I try to install it there is a java null pointer exception.

Output from bossac below:


C:\Users\pcox4\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3>bossac -i -d --port=COM11 -U true -i -e -w -v C:\Users\pcox4\AppData\Local\Temp\1\arduino_build_323989/AnalogInOutSerial.ino.bin -R
Set binary mode
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
version()=v2.0 [Arduino:XYZ] Aug  1 2017 11:04:45
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] Aug  1 2017 11:04:45
Version      : v2.0 [Arduino:XYZ] Aug  1 2017 11:04:45
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.816 seconds

Write 10860 bytes to flash (170 pages)
write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x2000, size=0x1000)
[===========                   ] 37% (64/170 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x3000, size=0x1000)
[======================        ] 75% (128/170 pages)write(addr=0x20005000,size=0xa80)
writeBuffer(scr_addr=0x20005000, dst_addr=0x4000, size=0xa80)
[==============================] 100% (170/170 pages)
done in 0.069 seconds

Verify 10860 bytes of flash with checksum.
checksumBuffer(start_addr=0x2000, size=0x1000) = 3bd
Verify failed

Paul Cox
Paul Cox
14
| 0 0 0
Answered on 4/30/21, 5:50 PM
0
vote

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This community is for professionals and enthusiasts of our products and services.

Read Guidelines

Question tools

64 follower(s)

Stats

Asked: 4/30/21, 5:33 PM
Seen: 1023 times
Last updated: 4/30/21, 5:58 PM