I have got stuck trying to update the NDP120 processor iwith Nicla Voice. I have unzipped the file and created a terminal but get the error message as below. Have copied the command from the manual so should not be a typo.
Am I doing something stupid? Would appreciate help.
C:\Users\johnp\OneDrive\Documents\Arduino 2024\Nicla voice\nicla_voice_uploader_and_firmwares\ndp120>./syntiant-uploader-win send -m "Y" -w "Y" -p COM4 mcu_fw_120_v91.synpkg
'.' is not recognized as an internal or external command,
operable program or batch file.
Hi @Munrap. It looks like the command was written under the assumption that the Windows PowerShell terminal would be used. I see you are instead using Windows "Command Prompt" (cmd), which has some differences in syntax.
Thanks for your help. I have also tried Powershell but get this result
PS C:\Users\johnp> ./syntiant-uploader-win send -m "Y" -w "Y" -p COM4 mcu_fw_120_v91.synpkg
./syntiant-uploader-win : The term './syntiant-uploader-win' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
Please provide a link to where you found the manual. I think that will provide me with the context I need to more effectively assist you with this problem.
Open the folder to which the firmware update package was downloaded.
Right click on the downloaded nicla_voice_uploader_and_firmwares.zip file.
A context menu will open.
Select "Extract All..." from the menu.
The "Extract Compressed (Zipped) Folder" dialog will open.
Click the "Extract" button in the dialog.
You will now see a folder named ndp120 in File Explorer. Hold the Shift key while clicking the right hand button on the mouse on that folder.
A context menu will open.
Select "Open PowerShell window here" from the context menu. PowerShell will now open with the current directory set to the ndp120 folder that contains the firmware update package.
This error indicates that some other application has the COM4 serial port of your Nicla Voice open. Do you have Arduino IDE running? The port might be open in Serial Monitor. If so, close it by clicking the X icon on the "Serial Monitor" tab in the bottom panel of the Arduino IDE window:
Thanks again. Switched off the serial monitor. Now able to load lines 10 and 13 from your message. However your lines 13 and 16 seem to be identical.
There is a third upload given in the Nicla manual
Yeah, that confused me also. Unfortunately the instructions are not very well written. The author intended model_name to be understood as a placeholder for the name of the machine learning model firmware you want to upload. In this case the model name is alexa_334_NDP120_B0_v11_v91.
Confusingly, in addition to the obvious cause of the specified .synpkg file not being present, which we have already eliminated, this error can also occur when the serial port specified via the -p flag in the command is not present. Please check to see if the serial port of your Nicla Voice board is still COM4. You can see the list of serial ports in the Tools > Port menu in Arduino IDE. One of them should be labeled like "COM4 (Arduino Nicla Voice)".
Just solved it. I have opened Powershell in an opened npd120 folder i.e. when the alexa program is visable.
So I have now been able to upload the 3 instructions. Thanks again I will press on with Nicla Voice. I am familiar with Arduino but this is a whole new area for me.
Hi its me again. I have used the AlexDemo program and replace the alexa load with
NDP.load("ei_model.synpkg");
Now working and responding to my sounds modelled in Edge Impulse. So the Alexa program does not work for me I do have Nicla doing what I bought it for!