From idiot
by Sagar Rathi
Yes i was asking for the same .....
All the tools i mentioned were open-source as i hate closed source software.
Currently I am using the tool-chain in same method i posted in e-mail.
And I am sending you the step-by step method on how to integrate all the
stuff together:
Note: I am using debian based distro so this is the only method I know.
AND I GIVE FULL CREDIT OF THIS METHOD TO "Andrei Istodorescu: Here is his
link:
http://engineering-diy.blogspot.in/2012/11/stm32f3-discovery-eclipse-open...
1-->ECLIPSE SETUP
1.1-->Download ECLIPSE CDT Juno SR2 from here (as older version are have
bug in GDB )
link:
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downlo...
1.2-->extract it to some folder let it be A.
1.3-->open eclipse
1.4-->go to help->install new software->add
http://download.eclipse.org/tools/cdt/releases/juno as repositories and
search for GDB and install it.
2-->OPENOCD SETUP
2.1-->in order to use openocd we need full-fill following dependencies :*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
*
*2.2-->download OPENOCD from following:
*
*link:
http://sourceforge.net/projects/openocd/files/openocd/0.7.0/openocd-0.7.0...
*
*2.3-->extract it to some folder let it be B.
*
*2.4-->with terminal navigate to folder B.
*
*2.5-->type following command in sequence:
2.5.1-->**./configure --enable-maintainer-mode --enable-stlink*
* 2.5.2-->make
*
* 2.5.3-->make install
*
*2.6-->now you must check is OPENOCD is working by connecting your STM32
board with PC(type this command using root privilege)
**2.6.1-->openocd -f
/usr/local/share/openocd/scripts/board/stm32f3discovery.cfg* *
*
* 2.6.2-->if it is working than than the command will output message
about its version ,programmer type,adepter speed etc if it is not **than we
will get error
*
*
*
*
*
*3-->GCC-ARM-EMBEDED SETUP
*
*3.1-->dowlnoad gcc--arm-embeded from following:
link:
https://launchpad.net/gcc-arm-embedded/4.7/4.7-2013-q1-update/+download/g...
*
*
*
*3.2-->extract it to folder let it be C.
**
3.3-->Now download sample project by *Andrei Istodorescu
*link:
http://code.google.com/p/andrei-development/downloads/detail?name=stm32f3...
*
*3.4-->Open eclipse(root permission) and navigate to File->import
project->genral->existing projects into workspace ,select the downloaded
project and select finish.
*
*4-->MAKEFILE SETUP
*
*4.1-->edit makefile at two placeslike this *:
TC = /C/gcc-arm-none-eabi-x_x-xxxxqx/bin/arm-none-eabi
FPU = -mfpu=fpv4-sp-d16 -mfloat-abi=hard
*
*
*
5-->WAY TO BUILD->FLASH->DEBUG CODE
*
*
5.1-->right click on project name and than select build
5.2-->*if build successful than navgate:Run->External Tools->External Tools
Configuration->openocd restart->run.
now right click on project and navigate to: debug as->debug
configuration->stm32f3-debug->
debug
*
*
*Thats all......
*
*I hope things are now more clear to you......
*
*Regards
*
10 years, 10 months
Requesting Pre-Compiled and Tested Binaries for STM32 DISCOVERY
by Sagar Rathi
Dear fedora lovers,
Can you please give pre-compiled tool-chain binaries for STM32 board in
fedora electronic spin.
Also i request that...
There must be a software in fedora spin for micro-controller through which
we can select our micro-controller model and than that software
automatically download and install the required tool-chain for it.
And this must be a single click for us.
Why i am requesting this is because it will attract more electronic user to
Linux.
Thank You in advance......
10 years, 10 months
FEL Update: June 15, 2013
by Shakthi Kannan
Update: June 15, 2013
==================
New Review Request
------------------------------
* CBMC: Bounded Model Checker for ANSI-C and C++ programs
https://bugzilla.redhat.com/show_bug.cgi?id=965570
Stable
---------
* python-myhdl: A python hardware description and verification language
Updated to 0.8 (f17, f18, f19)
* ghc-MonadRandom: A random number generation monad
Updated to 0.1.9 (f17, f18, f19)
* ghc-show: Show library that provides ShowQ, ShowFun, and SimpleReflect
Updated to 0.6 (f17, f18, f19)
comps
----------
Added the following packages to the electronic-lab group in
comps-{f18, f19,f20}.xml files:
* icaro
* sigrok-cli
* pulseview
* sigrok-firmware-fx2lafw
Reviewed
-------------
* ghc-text - An efficient packed Unicode text type
https://bugzilla.redhat.com/show_bug.cgi?id=964072
* ghc-geniplate: Use template Haskell to generate Uniplate-like functions
https://bugzilla.redhat.com/show_bug.cgi?id=920174
* ghc-IfElse: Anaphoric and miscellaneous useful control-flow
https://bugzilla.redhat.com/show_bug.cgi?id=919851
* ghc-setenv: Cross-platform library for setting environment variables
https://bugzilla.redhat.com/show_bug.cgi?id=916553
Events
---------
* Organized a Fedora workshop at St. Joseph's College of Engineering,
Chennai, Tamil Nadu, India on Friday, June 14, 2013. Will send the
event report to the Ambassadors mailing list.
Regards,
SK
--
Shakthi Kannan
http://www.shakthimaan.com
10 years, 10 months
Announcing sigrok - a signal analysis software suite
by Alex Gagniuc
Hi all,
I'm Alex, a 'part-time' open hardware and software hacker. I'd like to talk a
little bit about sigrok, a signal analysis software suite that supports various
device types, such as logic analyzers, MSOs, oscilloscopes, multimeters, LCR
meters, sound level meters, thermometers, hygrometers, anemometers, light meters,
dataloggers, function generators, spectrum analyzers, power supplies, GPIB
interfaces, and more.
sigrok started as flosslogic, a small project by Uwe Hermann. Uwe disliked the
crappy nature (and Windows-only nature) of software for his logic analyzers. He
started to work on a free software replacement for that software. Soon after, he
teamed up with Bert Vermeulen, who was working on exactly the same thing, for
exactly the same reasons as Uwe. Since then, the project has grown, and more
enthusiasts (including myself) have pitched in.
This weekend, they had their most spectacular release. I say spectacular, because,
for the first time since the start of the project, they have released a usable
GUI, PulseView. While some half-baked GUIs have existed in the past, they were
slow to render, and had nothing but the most basic functionality. Joel Holdsworth
has decided to start a new GUI from scratch, and has been working on PulseView for
over a year, which finally came to a (pleasantly) usable very recently.
As it stands, the sigrok project has the following components:
libsigrok - the interface to the hardware devices
libsigrokdecode - library for decoding protocols (any data collected with sigrok)
sigrok-cli - command-line interface
pulseview - The best GUI ever written for sigrok
sigrok-firmware - binary firmware for some devices
sigrok-firmware-fx2lafw - GPLv2 firmware for Cypress FX2-based logic analysers.
I was able to get most of the packages approved, and they should be available in
the official Fedora repositories soon (f18 and f19). I think sigrok can be a great
asset to Fedora Electronics Lab.
I want to avoid paraphrasing their wiki in its entirety :). The project's home is
at http://sigrok.org .
I hope you will find sigrok to be of value to Fedora Electronics Lab.
Alex
P.S.
sigrok is always spelled without capitalization, even at the beginning of a
sentence. :)
P.P.S.
sigrok-firmware-fx2lafw is still in need of review. If you'd like to help, please
head on here:
https://bugzilla.redhat.com/show_bug.cgi?id=922246
10 years, 10 months
Gputils-1.2.0 and Fedora
by rrankin@ihug.com.au
The current version of Gputils in Fedora has a major issue with
extended instruction set processors.
This has been resolved in Gputils-1.2.0.
Gputils-1.2.0 has been build for F17 and higher and is currently in
testing.
When these packages either get enough karma or the testing wait period
expire, I plan to push them into the distributions.
Regards,
Roy Rankin
10 years, 10 months