Incapable of getting datas from Arduino Mega 2560
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hey guys,
I'm working on a project on which I have to connect a ICM20948 IMU sensor on an Arduino and gather datas from it with Simulink. I use the ICM20948 Simulink block and I connect it to a scope. In my model parameters, I did setup my hardware device to Arduino Mega 2560 (the one I'm using). However, when I try to run my simulation, I get these messages (see below, in bold). My questions are:
1)how can I fix that ?
2)Do I have to make my own Arduino code on Arduino IDE ?
Top model targets built:
Model Action Rebuild Reason
====================================================================
test1 Code generated and compiled. Incremental checksum changed.
1 of 1 models built (0 models already up to date)
Build duration: 0h 0m 53.45s
External Mode Open Protocol Connect command failed
Caused by:
Could not connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT command
Component:Simulink | Category:Model error
Unable to connect to the 'Arduino Mega 2560' target for 'test1'.
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Modeling en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!