st-flash write /home/jj/arm/1.bin 0x08000000
ARM programming
Monday, September 8, 2014
Friday, September 5, 2014
if
arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
then
ln -sf libncursesw.so.5.9 libncurses.so.5
arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
then
ln -sf libncursesw.so.5.9 libncurses.so.5
arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: wrong ELF class: ELFCLASS64It means that the 32-bit ABI variant of ncurses library is needed:
sudo apt-get install lib32ncurses5
Allow Users Access to USB Devices
By default, only the superuser has access to USB devices. Change things so that you have access to the F4 Discovery USB STLINK device:Create a new udev rule in /etc/udev/rules/45-usb-stlink-v2.rules:SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="3748", MODE="0666"
CMAKE_FORCE_C_COMPILER(arm-none-eabi-gcc -mtune=cortex-m3 -mcpu=cortex-m3 -march=armv7-m GNU)
Wednesday, September 3, 2014
qstlink2 or stlink on debian wheezy
установка тулчейна
http://www.wolinlabs.com/blog/linux.stm32.discovery.gcc.html
--------------------------
http://www.nis-embedded.com/stm32/setup-environment/make-tools-for-st-link-v2
--------------------------
http://hackaday.com/2011/10/17/how-to-develop-for-stm32-discovery-boards-using-linux/
https://github.com/texane/stlinkhttp://www.wolinlabs.com/blog/linux.stm32.discovery.gcc.html
--------------------------
http://www.nis-embedded.com/stm32/setup-environment/make-tools-for-st-link-v2
--------------------------
http://hackaday.com/2011/10/17/how-to-develop-for-stm32-discovery-boards-using-linux/
http://startingelectronics.com/tutorials/STM32-microcontrollers/programming-STM32-flash-in-Linux/
command line stlink!
--------------------------
ST-Link V2 (Debugger/Programmer) client for Linux, OSX and Windows:
http://code.google.com/p/qstlink2/for Ubuntu/Debian/Mint the packages:
https://launchpad.net/~fpoussin/+archive/ubuntu/ppa
to download without dependencies
$ apt-get install -f qstlink2
--------------------------
1. Download libc6 and libc6-dev from Ubuntu 12.04 LTS
2. Run dpkg command to install them into a directory /home/...
1. Download libc6 and libc6-dev from Ubuntu 12.04 LTS
2. Run dpkg command to install them into a directory /home/...
$dpkg -x libc6-dev_2.15-0ubuntu10.6_amd64.deb /home/...
$dpkg -x libc6_2.15-0ubuntu10.6_amd64.deb /home/...
$dpkg -x libc6_2.15-0ubuntu10.6_amd64.deb /home/...
3. Run your command with specified
LD_LIBRARY_PATH:$ LD_LIBRARY_PATH=/home/user/fakeroot/lib/x86_64-linux-gnu/ YOUR_COMMAND
found at: http://unix.stackexchange.com/questions/85505/need-to-install-glibc-2-14-on-wheezy
--------------------------
Программируем STM32VLDiscovery в Linux'е и только в Linux'е!
http://h0rr0rr-drag0n.blogspot.ru/2011/08/stm32vldiscovery-linux-linux.html не читал
https://github.com/h0rr0rrdrag0n/stm32vldiscovery-linux-template/tree/master/stlink
--------------------------
http://galexander.org/stm32/
STM32 Value Line Discovery experiences не читал
found at: http://unix.stackexchange.com/questions/85505/need-to-install-glibc-2-14-on-wheezy
--------------------------
Программируем STM32VLDiscovery в Linux'е и только в Linux'е!
http://h0rr0rr-drag0n.blogspot.ru/2011/08/stm32vldiscovery-linux-linux.html не читал
https://github.com/h0rr0rrdrag0n/stm32vldiscovery-linux-template/tree/master/stlink
--------------------------
http://galexander.org/stm32/
STM32 Value Line Discovery experiences не читал
--------------------------
Subscribe to:
Posts (Atom)