But I have problems in "Step 3" :
- When I do "Installer(6)", I have to choose between lms_arm_nbcnxc_107.rfw and lms_arm_nbcnxc_128.rfw . Whitch one do I have to choose ?
- I choosed the 128 one to try. How can I see if the new firmware is correctly installed with "install(6)" ? My Lego doesn't give me any sign of life during the download !
I have problem in "Step 4" too :
When I try an installer(7), I want to give the name "HELLO", but the response is :
...Did not appear to rename correctly:
The baud rate is configured at 57600, but my baud rate is 115200. (So, the upload don't works)
Do you know how to configure the baud rate in :
c:/AARDUI~1/hardware/tools/avr/bin/avrdude -V -F -C c:/AARDUI~1/hardware/tools/avr/etc/avrdude.conf -p atmega328p -P //./COM4 -c stk500v1 -b 57600 -U flash:w:demo_arduino_blink.hex ?
I'm trying to run these Embedded Coder Plugin on Matlab2011b with Linux Debian 64bit and Arduino 1.0.5.
I followed the instructions given here in the command section and on the linked websites. But when I'm trying to build the "demo_arudino_blink" model Simulink gives the error:
"makeCmd must default to PC Make command".
In the Matlab Command window I could read:
### Writing header file rtwtypes.h
### Writing source file demo_arduino_blink.c
### Writing header file demo_arduino_blink_private.h
### Writing source file demo_arduino_blink_data.c
### Writing source file ert_main.c
### TLC code generation complete.
### Creating project marker file: rtw_proj.tmw
### Processing Template Makefile: /home/testuser/.Programs/Matlab/simulink_support_package_arduino/arduino/arduino.tmf
### Build procedure for model: 'demo_arduino_blink' aborted due to an error.
so I think the error is caused from an wrong arduino.tmf file. I think the coder is trying to compare the pcMakeCmd with the Arduino makeCmd, but where is the arduino makeCmd located in Linux?
I would appreciate if anyone could help me getting these thing to work.