- Download the necessary support package files.
- Navigate to the Arduino IDE instruction set zip file located at "\Downloads\Mathworks\SupportPackages\<MATLAB Release>\archives\win64\3p" and replace the existing "arduinoide.instrset_win64_1580182653.zip" file with the one provided in this answer. Ensure to rename it to "arduinoide.instrset_win64_1580182653.zip".
- After replacing the file, repackage the zip file and proceed with a silent installation.
Why do I receive Code generation information file does not exist?
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I'm trying to get started with the Arduino Support Package for Simulink to deploy a Deep Learning Neural Network on my Arduino Nano 33BLE. The aim is to conduct a Scientific Research on various EdgeAI frameworks and compare them for evaluation of their use-cases. In this case, I'm trying to build a basic LED blink Simulink model but I'm getting the error, gmake: *** [all] Error 2. I tried locating the gcc compiler at the location:
C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-gcc
But actually there's no folder Tools in the Packages folder. I searched for arm-none-eabi-gcc in the aCLI folder and there are multiple folders of such name in: aCLI\data\packages\arduino\tools\arm-none-eabi-gcc and aCLI\tools\arm-none-eabi-gcc.
I've attached here the whole Diagnostic log for the Model Build:
### Starting build procedure for: untitled2
"### Generating static library."
"D:/Software/MATLAB/R2024a/bin/win64/gmake" -j5 -C "C:/PROGRA~3/MATLAB/SUPPOR~1/R2024a/toolbox/target/SUPPOR~1/ARDUIN~1/STATIC~1" SHELL="%SystemRoot%/system32/cmd.exe" -f mbedcore.mk all
gmake[1]: Entering directory `C:/PROGRA~3/MATLAB/SUPPOR~1/R2024a/toolbox/target/SUPPOR~1/ARDUIN~1/STATIC~1'
"C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-gcc" -c -w -g -Os -nostdlib -MMD -MP "@C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE/defines.txt" "@C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -MMD -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -DARDUINO=108013 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino" "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE" "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino/api/deprecated" -g3 "-iprefixC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino" "@C:/ProgramData/MATLAB/SupportPackages/R2024a/toolbox/target/supportpackages/arduinotarget/include/MW_arduinoBLESense_Incl.txt"-MF"C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/itoa.dep" -MT"C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/itoa.o" -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE -o "C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/itoa.o" "C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino/itoa.c"
"C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++" -c -w -g -Os -nostdlib -MMD -MP "@C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE/defines.txt" "@C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -MMD -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -DARDUINO=108013 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino" "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE" "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino/api/deprecated" -g3 "-iprefixC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino" "@C:/ProgramData/MATLAB/SupportPackages/R2024a/toolbox/target/supportpackages/arduinotarget/include/MW_arduinoBLESense_Incl.txt"-MF"C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/abi.dep" -MT"C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/abi.o" -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE -o "C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/abi.o" "C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino/abi.cpp"
The system cannot find the path specified.
"C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++" -c -w -g -Os -nostdlib -MMD -MP "@C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE/defines.txt" "@C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -MMD -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -DARDUINO=108013 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino" "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE" "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino/api/deprecated" -g3 "-iprefixC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino" "@C:/ProgramData/MATLAB/SupportPackages/R2024a/toolbox/target/supportpackages/arduinotarget/include/MW_arduinoBLESense_Incl.txt"-MF"C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/Interrupts.dep" -MT"C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/Interrupts.o" -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE -o "C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/Interrupts.o" "C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino/Interrupts.cpp"
The system cannot find the path specified.
"C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++" -c -w -g -Os -nostdlib -MMD -MP "@C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE/defines.txt" "@C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -MMD -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -DARDUINO=108013 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino" "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE" "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino/api/deprecated" -g3 "-iprefixC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino" "@C:/ProgramData/MATLAB/SupportPackages/R2024a/toolbox/target/supportpackages/arduinotarget/include/MW_arduinoBLESense_Incl.txt"-MF"C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/main.dep" -MT"C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/main.o" -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE -o "C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/main.o" "C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino/main.cpp"
The system cannot find the path specified.
"C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++" -c -w -g -Os -nostdlib -MMD -MP "@C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE/defines.txt" "@C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -MMD -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -DARDUINO=108013 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino" "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE" "-IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino/api/deprecated" -g3 "-iprefixC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino" "@C:/ProgramData/MATLAB/SupportPackages/R2024a/toolbox/target/supportpackages/arduinotarget/include/MW_arduinoBLESense_Incl.txt"-MF"C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/Serial.dep" -MT"C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/Serial.o" -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino -IC:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/variants/ARDUINO_NANO33BLE -o "C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/Serial.o" "C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/arduino/hardware/mbed/1.3.2/cores/arduino/Serial.cpp"
The system cannot find the path specified.
gmake[1]: *** [C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/itoa.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: *** [C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/abi.o] Error 1
gmake[1]: *** [C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/Interrupts.o] Error 1
gmake[1]: *** [C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/main.o] Error 1
The system cannot find the path specified.
gmake[1]: *** [C:/Users/metal/DOCUME~1/MATLAB/R2024a/ARDUIN~2/ARDUIN~1/FASTER~1/Serial.o] Error 1
gmake[1]: Leaving directory `C:/PROGRA~3/MATLAB/SUPPOR~1/R2024a/toolbox/target/SUPPOR~1/ARDUIN~1/STATIC~1'
gmake: *** [all] Error 2
The make command returned an error of 2
### Build procedure for untitled2 aborted due to an error.
0 Kommentare
Antworten (2)
Neha
am 8 Apr. 2024
Bearbeitet: Neha
am 10 Apr. 2024
Hi Rohitashva,
I understand that you are facing some errors while deploying a neural network on an Arduino Nano 33BLE.
This issue arises due to the firewall blocking certain installation commands, resulting in the improper installation of some components.
To bypass this problem, you can follow the steps below:
The modification made to the new zip file involves deleting specific lines that facilitated communication with an Arduino server within the file located at "Downloads\Mathworks\SupportPackages\R2019b\archives\win64\3p\arduinoide.instrset_win64_1580182653\toolbox\local\instrset\arduinoide.instrset\win64.xml". The lines removed are from line 23 to line 97.
Hope this helps!
3 Kommentare
Khald
am 17 Apr. 2024
%unit impulse t=-2:1:2; y=[zeros(1,2), ones(1,1), zeros(1,2)]; subplot(2,2,1); stem(t,y); ylabel('d(n)'); xlabel('unit impulse');
%unit step n=input('Enter n values'); t=0:1:n-1; y1 = ones(1,n); subplot(2,2,2); stem(t,y1) ylabel('amplitude'); xlabel('unit step');
%unit ramp n=input('Enter n values'); t=0:1:n-1; subplot(2,2,3); stem(t,t) ylabel('amplitude'); xlabel('unit ramp');
%Exponential fun n=input('Enter length of exponenitial seq'); t=0:1:n-1; a=input('Enter a value'); y2 = exp(a*t); subplot(2,2,4); stem(t,y2); xlabel('Exponential fun'); ylabel('Amplitude');
0 Kommentare
Siehe auch
Kategorien
Mehr zu MATLAB Support Package for Arduino Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!