Hi,
i have just started using the Arduino and want to use it as an serial i/o-card for a 6-DOF-IMU so I can process the data in Simulink. To test the arduino-target i wanted to compile the demo_arduino_blink modle and upload it via the build function from realtime workshop to the Arduino.
I am using MatLab 2011a x64 on an Win7 x64 System (took me some time until I managed to recompile the block files to .mexw64 ).
My status now is, that Simulink is compiling the model and fails to upload it to the Arduino.
This is the error message I get:
### If your target board has TX and RX LED you should see them flashing ...
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
avrdude done. Thank you.
My problem already has been described very accurately in this topic: http://arduino.cc/forum/index.php/topic,40299.msg295043.html#msg295043. Sadly there is no final post wether the problem has been solved and if, how it was done (I already tried using an older version of the Arduino software).
To spare you asking some of the obvious questions here is what i have already done and tried:
- I have tested the connection to the Arduino by uploading the basic LED-blinking program.
- I have successfully created a connection to MatLab and switched the LED on and off.
(both on the same session as the Simulink Problem, so I don't think it should be an connection problem)
I am grateful for any help.
Jack