Failing to validate the server (Matlab support package Arduino hardware)

2 visualizaciones (últimos 30 días)
Somnath
Somnath el 2 de Jun. de 2025
Respondida: Hitesh el 12 de Jun. de 2025
I have installed the supprt package for Arduino hardware but not able to proceed with the Program. It is showing an error message saying "failed to validate the server. reprogram the board to proceed". I am using an Arduino Due board and the programming USB-C port (COM9 ). Tried to manually erase and reset the memory of the Arduino board. If anybody has experienced similar issue and found a solution then please share.

Respuestas (1)

Hitesh
Hitesh el 12 de Jun. de 2025
Hi Somnath,
I too encountered the similar issue in MATLAB R2024a, was due to the unique keyboard localization that uses ASCII character 160 for the "space" character instead of character 32. Replace the "Utility.m" file which is present in this path with the attached Utility_NEW.m. Rename it Utility.m so that it point it to the new Utility.m.
utilityFilePath = fullfile(matlabshared.supportpkg.getSupportPackageRoot, 'toolbox','matlab','hardware','supportpackages','sharedarduino','+arduinoio','+internal','Utility.m');

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Productos


Versión

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by