2013-08-21 03:07 AM
Dear forum members please help me....
I want to programme my STM32F3 Discovery board using external St-link v2 programmer ,which pin of programmer should i connect with stm32f3 board. Thank you in advance. I know that stm32f3 has built in programmer ,but i don't want to use them for some reason... #stm32 #stm32 #linux #linux #debugger #debugging #debugging #debug-stm32-using-st-link/v2 #stm32-discovery2013-08-23 10:18 AM
Dear clive1.....
Thank you for your help...... I think that following warning is useless and we must move forward leaving them as they are:Info : This adapter doesn't support configurable speedI am now ignoring those error and working on coding ..... If at any point you come up with the solution than please share....
2013-08-23 12:12 PM
Linux is a whole mess I'm not going to wade into. For painless dev look at Keil, Rowley or IAR.
2013-08-25 09:40 PM
2013-08-26 11:13 AM
First off, if you don't know or aren't comfortable with unix stuff you probably don't want to be trying this.
This isn't a script of how to do it, but a history capture of some of what I typed in along the way. I could try it all over again in a fresh Ubuntu VM when I have a chance. What I have not shown is where some of the files came from and how they got on the system. They were either downloaded with Firefox or copied over a Windows share. I hope the formatting here works OK, I'm not very good with this forum editor. I also don't remember what I changed when I edited99-stlink.rules
. I'll have to try to figure that out.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
tar xvfz eclipse-cpp-juno-SR1-linux-gtk.tar.gz
sudo apt-get install git zlib1g-dev libtool flex bison libgmp3-dev libmpfr-dev libncurses5-dev libmpc-dev autoconf texinfo build-essential libftdi-dev libusb-1.0.0-dev
tar xvfz openocd-0.6.1.tar.gz
cd openocd-0.6.1/
./configure --enable-maintainer-mode --enable-stlink
make
sudo make install
sudo gedit /etc/udev/rules.d/99-stlink.rules
sudo udevadm control --reload-rules
openocd -f /usr/local/share/openocd/scripts/board/stm32f3discovery.cfg
chmod a+x arm-203-56-arm-none-eabi.bin
sudo dpkg-reconfigure -plow dash
./arm-203-56-arm-none-eabi.bin
sudo dpkg-reconfigure -plow dash
-Bill
2013-09-01 10:10 AM
Thankyou Lewis ..........
I have started fresh install of all the packages again.... Hope this time it works..