"Incompatible with running version of Windows" error occurs immediately when attempting to write boot loader to Spresense

Asked 2 years ago, Updated 2 years ago, 114 views

I cannot use Arduino IDE to write the boot loader to Sony's Spresense.The device is also recognized, but unlike the boot loader cannot write question in another question,

Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: "Spresense, MainCore, Disabled, 115200"
java.io.IOException: Cannot run program "C:\Users\XXXXXXX\Documents\ArduinoData\packages\SPRESENSE\tools\1.5.1/flash_writer/windows/flash_writer.exe"—CreateProcess error=216 is not compatible with this version of Windows 1.Check your computer's system information before contacting the software publisher.
    at java.lang.ProcessBuilder.start (ProcessBuilder.java:1048)
    at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
    atcc.arduino.packages.Uploader.executeUploadCommand (Uploader.java:129)
    atcc.arduino.packages.uploaders.SerialUploader.runCommand (SerialUploader.java:383)
    atcc.arduino.packages.uploaders.SerialUploader.burnBootloader (SerialUploader.java:372)
    at processing.app.Editor.lambda$handleBurnBootloader$61 (Editor.java:2366)
    at java.lang.Thread.run (Thread.java:748)
Caused by: java.io.IOException: CreateProcess error=216, %1 of this version is not compatible with the running version of Windows.Check your computer's system information before contacting the software publisher.
    at java.lang.ProcessImpl.create (Native Method)
    at java.lang.ProcessImpl.<init> (ProcessImpl.java:386)
    at java.lang.ProcessImpl.start (ProcessImpl.java:137)
    at java.lang.ProcessBuilder.start (ProcessBuilder.java: 1029)
    ... 6 more
Error writing boot loader.
From the File menu, click Preferences
When you enable "View More Information: Compile"
More information will be displayed."

The message appears and the boot loader cannot be written.
In addition, in the question description, "C:\Users\..." has been replaced with "C:\Users\xxxxxxxx...

The results are the same for Windows 1032Bit and Windows 732Bit (other PCs).
The results of ArduinoIDE are the same whether it is 1.8.10 or 1.8.12.
By the way, we have been developing ArduinoUNO and ArduinoDUE in this environment, and there has been no problem.

Is there any configuration problem?
Or is there any other reason besides the product defect?

Thank you for your cooperation.

spresense

2022-09-30 19:39

1 Answers

I am in charge of SPRESENSE support for Sony.

We apologize for the inconvenience.
Let me answer your question about the ability to write a bootloader to Spresense.

It was a misleading expression in the document, but
Currently, only the 64-bit version of the OS is supported in the development environment of Spresense.
32-bit version of Windows will not work.

I'm sorry, but please use the 64-bit version of Windows.

I have also revised the documentation.
1.1.Supported Platforms

Thank you for your continued support at SPRESENSE.

SPRESENSE Support Team


2022-09-30 19:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.