User Tools

Site Tools


en:arm_programming

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:arm_programming [2013/07/28 11:27] fluktuaciaen:arm_programming [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 26: Line 26:
 To help you with the Ubuntu installation it is possible to used a ready-made [[https://launchpad.net/~terry.guo/+archive/gcc-arm-embedded|deb packages]]. A PPA repository currently works only for Ubuntu version 12.04.   To help you with the Ubuntu installation it is possible to used a ready-made [[https://launchpad.net/~terry.guo/+archive/gcc-arm-embedded|deb packages]]. A PPA repository currently works only for Ubuntu version 12.04.  
  
-== Quick installation using a __repository__ ==+== Quick installation using a software repository ==
  
   sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded   sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded
   sudo apt-get update   sudo apt-get update
-  sudo apt-get install gcc-arm-none-eabisudo+  sudo apt-get install gcc-arm-none-eabi
      
 == Compilation procedure ==   == Compilation procedure ==  
Line 80: Line 80:
 == Connecting the module == == Connecting the module ==
  
-In order to be able to use the bootloader, it in necessary to connect it to the serial link. In the case of using [[cs:usb232r|USB232R01B]] module, it is sufficient to have only RXD and TXD connected in a following way:+In order to be able to use the bootloader, it in necessary to connect it to the serial link. In the case of using [[en:usb232r|USB232R01B]] module, it is sufficient to have only RXD and TXD connected in a following way:
  
  
Line 153: Line 153:
 For programing is suitable eg. [[http://openocd.sourceforge.net/|OpenOCD]], an open programm that supports the majority of JTAG programmers and is able to create the back-end for [[http://www.gnu.org/software/gdb/|GDB]], thus supporting the debugging as well. For programing is suitable eg. [[http://openocd.sourceforge.net/|OpenOCD]], an open programm that supports the majority of JTAG programmers and is able to create the back-end for [[http://www.gnu.org/software/gdb/|GDB]], thus supporting the debugging as well.
  
-Though there already exist natively supported packages for OpenOCD in Ubuntu, their versions are usually quite old compared to the latest development. It is therefore recommended to compile the current version...+ 
 +=== Ubuntu === 
 + 
 +Though there already exist natively supported packages for OpenOCD in Ubuntu, their versions are usually  
 +quite old compared to the latest development. It is therefore recommended to compile the current version...
  
   sudo apt-get install libtool git gcc automake libftdi-dev texinfo   sudo apt-get install libtool git gcc automake libftdi-dev texinfo
Line 197: Line 201:
   >    > 
    
 +
 +=== Mac OS X ===
 +
 +
 +  ./configure --enable-ft2232_ftd2xx openocd -f busblaster.cfg -f /usr/local/share/openocd/scripts/target/stm32f1x.cfg\\
 +\\
 +busblaster.cfg:\\
 +  interface ft2232
 +  ft2232_device_desc "Dual RS232-HS"
 +  ft2232_layout jtagkey
 +  ft2232_vid_pid 0x0403 0x6010
 +
 +basic info: http://pramode.net/fosstronics/stm32-circle.txt
 +
 ===== RTOS ===== ===== RTOS =====
  
en/arm_programming.1375010826.txt.gz · Last modified: 2013/07/28 11:27 (external edit)