Arduino Primo board - flashing error


I’m trying to use Arduino Web Editor with my Arduino Primo board, but I got some errors in flashing it.

It seems that the Web Editor is non able to find the .hex file

I used the Blink script, here the errorr:


Programming with: Serial

Flashing with command:C:/Users/Administrator/.arduino-create/arduino/openocd/0.10.0-arduino1-static/bin/openocd.exe -s C:/Users/Administrator/.arduino-create/arduino/openocd/0.10.0-arduino1-static/share/openocd/scripts/ -f C:/Users/ADMINI~1/AppData/Local/Temp/extrafiles121938007/variants/arduino_primo/openocd_scripts/arduino_primo.cfg -c program {{C:/Users/ADMINI~1/AppData/Local/Temp/arduino-create-agent092166360/Blink-merged.hex}} verify reset exit

Open On-Chip Debugger 0.10.0-00004-g0e78f263 (2017-02-20-13:07)

Licensed under GNU GPL v2

For bug reports, read

Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.

cortex_m reset_config sysresetreq

adapter speed: 5000 kHz

Info : CMSIS-DAP: SWD Supported

Info : CMSIS-DAP: Interface Initialised (SWD)

Info : CMSIS-DAP: FW Version = 1.0

Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0

Info : CMSIS-DAP: Interface ready

Info : clock speed 5000 kHz

Info : SWD DPIDR 0x2ba01477

Info : nrf52.cpu: hardware has 6 breakpoints, 4 watchpoints

target halted due to debug-request, current mode: Thread

xPSR: 0x01000000 pc: 0x000008e4 msp: 0x20000400

** Programming Started **

auto erase enabled

Error: couldn't open C:/Users/ADMINI~1/AppData/Local/Temp/arduino-create-agent092166360/Blink-merged.hex

** Programming Failed **

shutdown command invoked

Attached the full version.

Can anyone please help me ?

Thanks in advance.

arduino blink error.txt (30.3 KB)

Unfortunately I don’t have one of these retired boards.

I can only base my best guess on the last couple of lines so it may or may not work.
As it did not find the file it needed there could be a few of easy fixes.

First ensure it is not the fault of your antivirus or additional security.
Simply make sure it is fully turned off to test and if it helps then the CREATE install locations need to be added to the exclusions for the AV.

Although your install location looks OK make sure create is not involved / located in cloud based software.

Lastly make sure you are not using USB 3.0 and instead use USB 2.0 ports as 3.0 can cause some issues.
If you only have USB 3.0 then often a POWERED USB 2.0 hub inserted between the Arduino and the computer helps with that issue.

A few more tips below.

Please READ THIS POST to help you get the best out of the forum.


These steps may also save you some unnecessary time and effort in the forum.


  • Check you have a COMMON GROUND where required.

  • Where possible use USB 2.0 ports or a USB 2.0 POWERED HUB to rule out USB 3.0 issues.

  • Try other computers where possible.

  • Try other USB leads where possible.

  • You may not have the correct driver installed. CH340/341 or CP2102

  • There may be a problem with the board check your wiring first.

  • Remove any items connected to pins 0 and 1.

  • Ensure you turn off any additional security / antivirus just to test.

  • There may be a problem with the PC try RESTARTING it.

  • You may be selecting the wrong COM port.

  • Avoid cloud/network based installations where possible OR ensure your Network/Cloud software is RUNNING.

  • Clear your browsers CACHE.

  • Close the IDE before using any other serial programs.

  • Preferably install IDE’s as ADMINISTRATOR or your OS equivalent
    Performing the above actions may help resolve your problem without further help.