Filter löschen
Filter löschen

MATLAB 2014b Arduino Simulink programming of Pro Mini

14 Ansichten (letzte 30 Tage)
Donald
Donald am 9 Jul. 2015
Kommentiert: Donald am 27 Nov. 2017
I am using MATLAB 2014b with the Arduino Simulink package to build a project for a controller which uses an Arduino Pro Mini (Atmega 328P processor.) The Arduino Simulink package supports the Pro and the Mini, but not the Pro Mini. The Pro setup doesn't include all of the Analog ports that the Pro Mini or Mini have, and they are required by my application. I am able to use the Mini option to build the object code but when it tries to flash it just hangs. I need to do a <ctrl>C in the MATLAB command window to free it up. I am able to use the command: dos 'C:/Users/vzsmpv/DOCUME~1/ARDUIN~1/hardware/tools/avr/bin/avrdude -V -F -C C:/Users/vzsmpv/DOCUME~1/ARDUIN~1/hardware/tools/avr/etc/avrdude.conf -p atmega328p -P //./COM8 -c stk500v1 -b 57600 -U flash:w:can_motor_control_3p5_2014b_rtt\can_motor_control_3p5_2014b.hex' to flash the controller and my code works fine. I have the correct com port in my setup (it complains about non-detected com port if I don't). Is there a config file somewhere that can be manually edited to change the programming options, or some other way to have the build process automatically flash the Pro Mini? Tools - Run on Target Hardware - Options doesn't have any useful options.
Thanks, Don
  2 Kommentare
Thomas Bosse
Thomas Bosse am 25 Nov. 2017
Same here! Did you find out something in the meanwhile?
Donald
Donald am 27 Nov. 2017
After several emails with Matlab (back in July 2015) they said I should use “Arduino Nano 3.0” since it has the same hardware setup as the Pro Mini. That worked and I used it in both 2014b and 2015b.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by