Difference between revisions of "HANcoder/Training Material/AutomaticLightControlSystem/3"
Line 15: | Line 15: | ||
− | After a licensing notification, | + | After a licensing notification, MATLAB® will call up the GNU ARM Toolchain to convert your model to machine code. After the S file is ready, MATLAB® will start the Microboot program to flash the code to the Olimexino. A similar window to that of Figure 9 should pop up. Reset your Olimexino to flash the program. |
[[File:p1figure9.png|400px]] | [[File:p1figure9.png|400px]] |
Latest revision as of 14:20, 31 May 2018
LED Control System Part 3
Part 3: Compiling the model and flashing it onto the Olimexino
The Simulink model is now ready to compile and be programmed to the Olimexino. You are now able to build the model by pressing the Build button in Simulink.
Figure 8 Build button in Simulink
After a licensing notification, MATLAB® will call up the GNU ARM Toolchain to convert your model to machine code. After the S file is ready, MATLAB® will start the Microboot program to flash the code to the Olimexino. A similar window to that of Figure 9 should pop up. Reset your Olimexino to flash the program.
Figure 9 Microboot waiting for target reset