tools
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools [2015/12/24 11:41] – windows tools for STM32 cedric.eloy | tools [2025/01/30 11:21] (current) – damien | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Development tools ====== | ||
+ | ===== Add compiler to Code:: | ||
+ | |||
+ | If you want to use an IDE like Code:: | ||
+ | |||
+ | * Settings > Compiler | ||
+ | * Copy "GNU GCC Compiler", | ||
+ | * Toolchain executables: | ||
+ | * Compiler' | ||
+ | * C compiler: // | ||
+ | * C++ compiler: // | ||
+ | * Linker for dynamic libs: // | ||
+ | * Linker for static libs: // | ||
+ | |||
+ | When you create your project in Code:: | ||
+ | |||
+ | ===== Libraries for host developments ===== | ||
+ | |||
+ | * libfuse-dev | ||
+ | |||
+ | |||
+ | ===== Run a 32-bit toolchain on a 64-bit Ubuntu ===== | ||
+ | |||
+ | < | ||
+ | sudo apt-get install lib32stdc++6 | ||
+ | sudo apt-get install lib32z1 | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Windows tools ===== | ||
+ | |||
+ | ST/Link v2 windows driver: STSW-LINK009 : http:// | ||
+ | |||
+ | ST/Link Utility: STSW-LINK004 : http:// | ||
+ | |||
+ | GDB server for emIDE: http:// | ||
+ | |||
+ | |||
+ | ===== CANUSB module ===== | ||
+ | |||
+ | To use the CANUSB module : | ||
+ | - Connect CAN_L (pin2), CAN_H (pin7) and CAN_GND (pin3) (see http:// | ||
+ | - Follow this step-by-step guide to install the Lawicel CANUSB adapter on Linux (**mainly step 1 to 6**) : http:// | ||
+ | |||
+ | In brief : | ||
+ | * Install **can-utils** package : | ||
+ | < | ||
+ | sudo apt-get install can-utils | ||
+ | </ | ||
+ | * Check if the kernel modules " | ||
+ | < | ||
+ | sudo modprobe can | ||
+ | sudo modprobe can_raw | ||
+ | sudo modprobe slcan | ||
+ | </ | ||
+ | Make them load automatically : | ||
+ | < | ||
+ | sudo nano / | ||
+ | </ | ||
+ | Add the three modules " | ||
+ | * Bind the CANUSB device (on port **/ | ||
+ | < | ||
+ | sudo slcand -o -c -f -s8 / | ||
+ | </ | ||
+ | * Bring the slcan interface up : | ||
+ | < | ||
+ | sudo ifconfig slcan0 up | ||
+ | </ | ||
+ | * To intercept CAN messages (sended and received) : | ||
+ | < | ||
+ | candump slcan0 | ||
+ | </ | ||
+ | * To send a CAN message (for CAN 2.0 frames, max 8 bytes separated by ' | ||
+ | < | ||
+ | cansend slcan0 < | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== USB-I2C (USB-ISS) module ===== | ||
+ | |||
+ | from [[https:// | ||
+ | |||
+ | To be used with [[https:// | ||
+ | |||
+ | Then you can use the ''/ | ||
+ | < | ||
+ | echo < | ||
+ | </ | ||
+ | |||
+ | When using '' | ||
+ | |||
+ | ===== FLIR cameras ===== | ||
+ | ==== PureThermal2 USB module ==== | ||
+ | |||
+ | https:// | ||
+ | https:// | ||
+ | |||
+ | On Ubuntu, can be used with the [[https:// | ||
+ | |||
+ | |||
+ | ==== FLIR ONE PRO ==== | ||
+ | |||
+ | Normally foressen to work with Android. | ||
+ | |||
+ | But can be used on Linux using [[https:// | ||
+ | |||
+ | See also https:// |