-
Notifications
You must be signed in to change notification settings - Fork 5
Build instructions
-
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
-
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
-
Test that gcc works (it should print the version number):
arm-none-eabi-gcc --version
-
Check out the source code and run make:
git clone git://github.com/PetteriAimonen/dso-quad-logic.git cd dso-quad-logic make
-
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
-
Turn on DSO Quad while holding button 3 to enter the logic analyzer app.
NOTE: Currently broken, Makefile has some Linux-specific stuff.
-
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".
-
Download the gnuwin32 make ("Complete package setup"), and install it: http://gnuwin32.sourceforge.net/packages/make.htm
-
Download source code for the logic app. Either using a Git client or as a .zip archive.
-
Open command prompt (Start -> Run -> "cmd" -> ok) and navigate to the directory where the sources are:
cd dso-quad-logic
-
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"
-
Install the LOGICAPP.HEX to your device:
- Connect DSO Quad to your PC using a USB cable and turn it on while holding button 1.
- Copy LOGICAPP.HEX to the USB drive.
-
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.)