Topic : Getting started with STM32F103RET6 programming

Forum : ARM

Original Post
Post Information Post
January 4, 2010 - 8:58pm
Guest

Hi everyone.
I'm new in the STM32 world, though I've made alot of projects with both PIC's and AVR's.
So I've bought the STM32F103RET6 stamp from Futurlec.com, but I really don't know where to start!

I know the programming language is C, but I don't know which IDE to use!
I've heard about Ride7? Then I've also heard about IAR EWARM?
But I don't know how to use any of them... I can't set up a project, as I don't know what to include and what to write :(

I really hope you can get me started!

Best Regards
Thomas Jespersen

Replies
Post Information Post
+1
0
-1
January 7, 2010 - 11:18am
Guest

Hi

Your choice is totally relatated to the programmer/debugger you are going to use to communicate with your board.
If you still did not choose any specific programmer I guess you want to make your opinion using a simulator.

Here is how you could start to test our tools:
- Download and install (in this order) Ride7 and RKit-ARM from http://www.mcu-raisonance.com/mcu_downloads.html
- Open "c:\Program Files\Raisonance\Ride\Examples\ARM\REva\STM32F103_MemsToLCD"
- Double click on "STM32F103_MemsToLCD.rprj"
- In "Advanced ARM Options->Debug environment->Debug Tool" set "simulator ARM"
- Type CTRL+D and you have started to debug

This will give you an overview of the possibitlties of our tools.
Use this example as reference on how to handle your sources, ST library sources and so on.

Of course you can refer to documentation for more detaiils.

Regards
Matloub

+1
0
-1
January 22, 2010 - 3:40pm
Guest

Hi tkj,

Thanks to your post I too have ordered an ARM device from futurlec as a cheap alternative to my STM3210E - although still waiting for it to arrive (it's late!). Did you select the Resonance Ride 7 too? It's very good btw. These guys seem to know what they're doing. Anyway if you did then I was wondering how you managed to connect to the board? Did you add a j-tag connector?

+1
0
-1
January 24, 2010 - 12:22pm
Guest

Hi Everyone

Well my STM32F103RET6 stamp from Futurlec.com arrived and it looks quite good. It comes with an RS-232 cable - but no power supply to power it to 3.3v.

What I am wondering is - can I use the R-link to program and debug the board? There's an ST app to prog the flash via RS-232, but I was wondering if it was possible to debug using the R-link?

Like I say - it comes with and RS-232 containing GND, 3.3v Tx and Rx pins.

Any help/ideas would be much appreciated.

PB

+1
0
-1
January 25, 2010 - 10:46am
Guest

Hi

Yes it should be possible to debug this board.
Once you have powerd your board you just need to connect RLink to the JTAG connector of the board.
The connectic from RLink to JTAG should come with the RLink package.

Regards
Matloub

+1
0
-1
March 29, 2010 - 12:57pm
Guest

Hi Matloub,

Just to complete this post. I thought I should say that I bought a new device from futurlec with the JTAG already fitted. It features the STM32F103RBT6 Medium density chip so I had to change my linker script to cope with the new memory, but after that it worked perfectly and debugging is now possible.

+1
0
-1
March 29, 2010 - 3:13pm
Guest

Hi everybody.
Sorry that I haven't responded until now. About the Futurlec stamp board, I've connected the Raisonance R-Link to that, via the JTAG (SWD) adapter.
Then I'm using Ride 7 to program and debug my applications - and it's very nice.
You can check my projects with the STM32 here: http://elec.tkjweb.dk/blog/category/arm-projects/

Best Regards
Thomas Jespersen