BeagleBoard & MATLAB

Matlab/Simulink Embedded Code Generation for Hardware In loop Simulation and Rapid Product Design

This is part of a project of rapid prototyping a water quality monitor (LoadMon).

  1. Develop advanced signal-processing algorithms at Matlab/Simulink and drivers for real-time data acquisition;

  2. Generate Embedded C codes from Matlab/Simulink;

  3. Cross-compile and remotely debug the embedded codes for eLinux at Beagleboard;

Book Overview

Leverage the power of BeagleBoard to develop and deploy practical embedded projects

  • Develop and validate your own embedded audio/video applications rapidly with Beagleboard

  • Create embedded Linux applications on a pure Windows PC

  • Full of illustrations, diagrams, and tips for rapid Beagleboard prototyping with clear, step-by-step instructions and hands-on examples

What you will learn from this book

    • Understand rapid prototyping on a Windows host, including Matlab/Simulink code generation for Beagleboard

    • Set up a cross-development environment on Windows for Beagleboard

    • Access Beagleboard’s GPIO pins and RS232 communication in Matlab and Simulink

    • Develop your own S-function block in Simulink to access Beagleboard’s hardware devices

    • Create an audio player and equalizer in Simulink, including audio file reading

    • Adjust the parameters of your target system on-the-fly for the purpose of performance optimization

    • Penetrate into an infrared sensor in Matlab/Simulink for smart home applications

    • Build a video motion detection system for security applications

Beagle/mBed/PIC/Imote2 embedded system development

  1. A good example of set up offline IDE for mBed

  2. Using an offline IDE and toolchain not only allow us to save our programme files locally, but also provide better SVN management. For instance, I can set up my own Git repository and using TortoiseGit to manage the development history easily. Tollos project demonstrates how to build an offline mBed development in pures Windows system. It makes use of the free Sourcery CodeBench Lite (used to be CodeSourcery G++ Lite) cross compiler (ARM EABI release, not the GNU/Linux release), one ARM compiler designed for Windows. Any text editor can be used (e.g. Programmer's Notepad, Eclipse) for coding.

  3. A windows *.bat file is provided to make the complicated configuration of ompiling easier. The *.bat file works like make file to generate the executable file automatically.

  4. Regrettably, in doing this offline compiler, we lose access to all the nice online API libraries that mbed has been so kind in developing.

  5. Use offline toolchain (Eclipse IDE and CodeSourcery G++) in Windows 7 with support to mBed APIs

  6. The mBed library and APIs are so nice and it would be good to combing both the offline IDE/compiler and mBed APIs. Fortunately, mBed online IDE allows us export programe to third-party offline compiler. Here is a way to make use of write codes in Eclipse, compiled by CodeSourcery in Windows with fully support to the nice mBed library.

  7. More details, click here