cannot connect arduino due to Matlab R2017b

4 Ansichten (letzte 30 Tage)
Ivan Bozic
Ivan Bozic am 16 Jan. 2018
Bearbeitet: Eilert am 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

Antworten (2)

Eilert
Eilert am 12 Apr. 2018
Bearbeitet: Eilert am 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 am 13 Apr. 2018
Bearbeitet: Eilert am 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

Kategorien

Mehr zu Setup and Configuration finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by