We are using the Arduino Geno 101 with the CTC101 kits- I have uploaded the Sheild library and can't seem to get the file to upload. We keep getting the same error message:
Sketch uses 83684 bytes (53%) of program storage space. Maximum is 155648 bytes.
Starting download script...
Flashing is taking longer than expected
Try pressing MASTER_RESET button
ERROR: Timed out waiting for Arduino 101 on COM27
Failed uploading: uploading error: exit status 1
I have tried to reset on the board and that has not helped
Ok, so it seemed to work for one project. Now it continually give the same error message : In file included from C:\Users\DusenberyK\OneDrive - Mapleton Public Schools\Documents\Arduino\libraries\EducationShield\src/EducationShield.h:11:0,
from C:\Users\DusenberyK\AppData\Local\Temp.arduinoIDE-unsaved2025415-12384-15g74lm.oh3f\Racing\Racing.ino:13:
C:\Users\DusenberyK\OneDrive - Mapleton Public Schools\Documents\Arduino\libraries\EducationShield\src/utils/CapacitiveSensor.h:324:2: warning: #warning "Using Five Volts Tolerance Workarround!" [-Wcpp] #warning "Using Five Volts Tolerance Workarround!"
^
Sketch uses 33624 bytes (21%) of program storage space. Maximum is 155648 bytes.
Starting download script...
ATTENTION: BLE firmware is being flashed
DO NOT DISCONNECT THE BOARD
exit status 74
Failed uploading: uploading error: exit status 1
I have uploaded both the Intel Curie boards and the Arduino Sam boards as instructed in the "Getting Started" document. With each project, we are getting the same error.I have also tried to reset the board, unsuccessfully- the led's never blink. I am using my school computer (HP) as it seems it does not work at all on a Chromebook, IDE is not available.
We have used the Arduino Uno with no issues, I'm stuck!
In file included from C:\Users\DusenberyK\OneDrive - Mapleton Public Schools\Documents\Arduino\libraries\EducationShield\src/EducationShield.h:11:0,
from C:\Users\DusenberyK\AppData\Local\Temp\.arduinoIDE-unsaved2025415-12384-15g74lm.oh3f\Racing\Racing.ino:13:
C:\Users\DusenberyK\OneDrive - Mapleton Public Schools\Documents\Arduino\libraries\EducationShield\src/utils/CapacitiveSensor.h:324:2: warning: #warning "Using Five Volts Tolerance Workarround!" [-Wcpp]
#warning "Using Five Volts Tolerance Workarround!"
^
Sketch uses 33624 bytes (21%) of program storage space. Maximum is 155648 bytes.
Starting download script...
ATTENTION: BLE firmware is being flashed
DO NOT DISCONNECT THE BOARD
exit status 74
Failed uploading: uploading error: exit status 1
Hi @mapletonpublicschools. I'm going to ask you to provide the full verbose output from an upload attempt.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open.
Uncheck the box next to Show verbose output during: ☑ compile in the "Preferences" dialog.
Check the box next to Show verbose output during: ☐ upload.
Click the "OK" button.
The "Preferences" dialog will close.
Attempt an upload, as you did before.
Wait for the upload to fail.
You will see an "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
Open a reply here on this forum topic by clicking the "Reply" button.
Click the <CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
In file included from C:\Users\DusenberyK\OneDrive - Mapleton Public Schools\Documents\Arduino\libraries\EducationShield\src/EducationShield.h:11:0,
from C:\Users\DusenberyK\AppData\Local\Temp\.arduinoIDE-unsaved2025416-16288-4wyeqr.6b169\Racing\Racing.ino:13:
C:\Users\DusenberyK\OneDrive - Mapleton Public Schools\Documents\Arduino\libraries\EducationShield\src/utils/CapacitiveSensor.h:324:2: warning: #warning "Using Five Volts Tolerance Workarround!" [-Wcpp]
#warning "Using Five Volts Tolerance Workarround!"
^
Sketch uses 33624 bytes (21%) of program storage space. Maximum is 155648 bytes.
Performing 1200-bps touch reset on serial port COM6
"C:\Users\DusenberyK\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\2.3.0/arduino101load" "-dfu=C:\Users\DusenberyK\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.9.0-arduino1" "-bin=C:\Users\DusenberyK\AppData\Local\arduino\sketches\F26E67875F02AABB8985E441730DA8A7/Racing.ino.bin" -port=COM6 "-v" -ble_fw_str="ATP1BLE00R-1631C4439" -ble_fw_pos=169984 -rtos_fw_str="" -rtos_fw_pos=0 -core=2.0.0
arduino101load Version: 2.3.0 Commit: 176b46a Date: 2023-02-15T09:28:44Z
Starting download script...
Serial Port: COM6
BIN FILE C:\Users\DusenberyK\AppData\Local\arduino\sketches\F26E67875F02AABB8985E441730DA8A7/Racing.ino.bin
Waiting for device...
Device found!
Verifying BLE version: ATP1BLE00R-1631C4439
ATTENTION: BLE firmware is being flashed
DO NOT DISCONNECT THE BOARD
No such file or directory: Could not open file C:\Users\DusenberyK\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\2.3.0\firmwares\2.0.0\ble_core.bin for reading
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
exit status 74
Failed uploading: uploading error: exit status 1
I see that it says that there is no such file. The file for the code we are using comes from the examples under the files as directed in the instructions for the project build.
While investigating the error, I also found that it suggested looking at the error above and I found that it says:
No such file or directory: Could not open file C:\Users\DusenberyK\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\2.3.0\firmwares\2.0.0\ble_core.bin for reading
dfu-util 0.9
I was able to change the destination of the file to alleviate :
No such file or directory: Could not open file C:\Users\DusenberyK\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\2.3.0\firmwares\2.0.0\ble_core.bin for reading
dfu-util 0.9
it seems that now I might just have a firmware or antivirus problem
When you upload a sketch to the Arduino 101 board, Arduino IDE uses a tool named arduino101load. Before uploading your sketch program to the board, the tool checks to see if you have an outdated version of the BLE firmware. If so, it will upload the latest version of the firmware before finally uploading your sketch program.
You can see that it did find that an outdated BLE version was on your board, and thus attempted to update it:
Unfortunately, due to a bug in the system that is used to generate the release packages of the arduino101load tool, the firmware files were not included in the package. This is the reason why the upload failed with that error:
(ble_core.bin is the firmware file)
The workaround will be to download the missing file and add it to the location where it should be on your hard drive. I'll provide instructions you can follow to do that:
Use Windows "File Explorer" to create a folder named 2.0.0 inside the folder at the following path on your hard drive:
Note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".