Arduino Geno 101 CTC error

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 :frowning:

Here is a link to Arduino's step-by-step. I hope it helps. (link says board is "retired")

https://docs.arduino.cc/retired/getting-started-guides/Arduino101/

Thank you! This worked :slight_smile:

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!

Please, wrap your error report in a code block.

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 am not sure why the exit status 1 but the warning is just a warning, not an error.

Is this your hardware? GitHub - arduino-libraries/EducationShield: Arduino Education library for CTC101 project

Hi @mapletonpublicschools. I'm going to ask you to provide the full verbose output from an upload attempt.


:red_exclamation_mark: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Uncheck the box next to Show verbose output during: compile in the "Preferences" dialog.
  3. Check the box next to Show verbose output during: ☐ upload.
  4. Click the "OK" button.
    The "Preferences" dialog will close.
  5. Attempt an upload, as you did before.
  6. Wait for the upload to fail.
  7. 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.
  8. Open a reply here on this forum topic by clicking the "Reply" button.
  9. 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.
  10. Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
    This will paste the error output from the upload into the code block.
  11. Move the cursor outside of the code block markup before you add any additional text to your reply.
  12. Click the "Reply" button to publish the post.

Yes- We are using the Arduino Geno 101 with the Education Sheild from the CTC101 kits

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:

  1. Use Windows "File Explorer" to create a folder named 2.0.0 inside the folder at the following path on your hard drive:

    C:\Users\DusenberyK\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\2.3.0\firmwares
    

    :red_exclamation_mark: 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".

  2. Click the following link to open the page for the missing file in Arduino's GitHub repository for the arduino101load tool in your web browser:
    https://github.com/arduino/arduino101load/blob/2.3.0/firmwares/2.2.0/ble_core.bin

  3. Click the downward pointing arrow icon ("Download raw file") at the right side of the toolbar:

  4. Wait for the download to finish.

  5. Copy the downloaded ble_core.bin file to the folder at the following path on your hard drive:

    C:\Users\DusenberyK\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\2.3.0\firmwares\2.0.0
    

After performing those instructions, try uploading a sketch to the Arduino 101 board again. Hopefully this time it will be successful.

OMG!!! YESSS!!! It worked. Thank you so much :slight_smile:

You are welcome. I'm glad it is working now.

Regards, Per