MATLAB 2014b Arduino Simulink programming of Pro Mini
조회 수: 14 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!