Skip to content
PetteriAimonen edited this page Oct 31, 2012 · 1 revision

Compiling and installing under Linux

  1. Download the TAR package of Launchpad ARM GCC (check https://launchpad.net/gcc-arm-embedded for newer versions): gcc-arm-none-eabi-4_6-2012q4-20121016.tar.bz2

    tar xjf gcc-arm-none-eabi-4_6-2012q4-20121016.tar.bz2

  2. Add the tools to your path (path may vary depending on where you extracted them):

    export PATH=~/stm32/gcc-arm-none-eabi-4_6-2012q4/bin:$PATH

  3. Test that gcc works (it should print the version number):

    arm-none-eabi-gcc --version

  4. Check out the source code and run make:

    git clone git://github.com/PetteriAimonen/dso-quad-logic.git cd dso-quad-logic make

  5. Install the LOGICAPP.HEX to your device (turn on DSO Quad while holding button 1):

    sudo mount -t vfat /dev/sdb /mnt/dso sudo cp LOGICAPP.HEX /mnt/dso sudo umount /mnt/dso

  6. Turn on DSO Quad while holding button 3 to enter the logic analyzer app.

Compiling and installing under Windows

NOTE: Currently broken, Makefile has some Linux-specific stuff.

  1. Download the Codesourcery arm-eabi Windows installer package from the link above and install it. "Typical" is ok. Select either "Modify path for current user" or "Modify path for all users".

  2. Download the gnuwin32 make ("Complete package setup"), and install it: http://gnuwin32.sourceforge.net/packages/make.htm

  3. Download source code for the logic app. Either using a Git client or as a .zip archive.

  4. Open command prompt (Start -> Run -> "cmd" -> ok) and navigate to the directory where the sources are:

    cd dso-quad-logic

  5. Run make (note that the gnuwin32 installer doesn't add it to the path, so you need to type the whole name):

    "C:\Program Files\GnuWin32\bin\make.exe"

  6. Install the LOGICAPP.HEX to your device:

    1. Connect DSO Quad to your PC using a USB cable and turn it on while holding button 1.
    2. Copy LOGICAPP.HEX to the USB drive.
  7. Turn on DSO Quad while holding button 3 to enter the logic analyzer app.

(Note: the code uses Unix-style linebreaks, so in notepad it all appears on one line. Use wordpad or e.g. notepad++ to edit the code.)