cannot connect arduino due to Matlab R2017b

4 visualizzazioni (ultimi 30 giorni)
Ivan Bozic
Ivan Bozic il 16 Gen 2018
Modificato: Eilert il 13 Apr 2018
I tried to install the hardware support package for an arduino due device but the following error text appears when trying to upload server to board:
Jan 16, 2018 9:02:17 AM com.mathworks.hwservices.logging
INFORMATION: DPI detection failed, fallback to 96 dpi
Loading configuration...
Initializing packages...
Preparing boards...
Error: sam: Unknown architecture
Thanks for any help

Risposte (2)

Eilert
Eilert il 12 Apr 2018
Modificato: Eilert il 12 Apr 2018
Hi, I observe the same problem:
This is line 6 of dueconnect (actually the only line in that script )
ELIS_due= arduino('/dev/ttyACM0', 'Due', 'Libraries','ReadAdcAddon/ReadAdc','ForceBuild',true, 'TraceOn', true)
Error using dueconnect (line 6)
Picked up JAVA_TOOL_OPTIONS:
Konfiguration wird geladen...
Pakete werden initialisiert...
Boards werden vorbereitet...
Fehler: sam: Unbekannte Architektur
connecting like this works: ELIS_due= arduino('/dev/ttyACM0', 'Due')
Only forcing compilation of the addon library triggers the error. But no usable compiler message appears.
The script was once working, but now shows this strange message. Anyone got an explanation?
Kind regards Eilert

Eilert
Eilert il 13 Apr 2018
Modificato: Eilert il 13 Apr 2018
Hi,
I did a reinstall of the Matlab Arduino Package (actually for the 2016b version) and now it works.
Kind regards Eilert

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by