Simulink connection problem

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

To spare you asking some of the obvious questions

Well, the obvious question that comes to my mind is which version of the IDE you are using. The hint in that thread implies that the process only works up to 0018.

Hi Paul,

thank you for your reply, somehow I expected to miss the one or the other of those questions. Currently I'm using version 0022 with an Arduino Uno. I tried to install version 0018, but if I made no mistake that version does not support the Uno. I will download and test the other versions, with some luck it might work.

Jack

I tried to install version 0018, but if I made no mistake that version does not support the Uno.

No it doesn’t. I think 0021 is the first that does.

The UNO needed new drivers, since it uses a different USB to serial converter chip. I don’t think you can use the UNO with any older versions of the IDE.

I also have no idea what broke with the later IDEs. Perhaps someone else has a solution or idea.

Hi Paul,

that's not exactly what I wanted to hear, but thanks for your efforts anyway. I think I'll try to trade my Uno for an older model that is supported by version 0018. Does somebody know if this problem will be fixed in version 0023?

Jack