cancel
Showing results for 
Search instead for 
Did you mean: 

stm3210b-eval, help

slarsson909
Associate II
Posted on October 12, 2010 at 11:35

stm3210b-eval, help

10 REPLIES 10
Posted on May 17, 2011 at 14:11

What tools are you using to compile your program, and connect to the STM3210B?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
slarsson909
Associate II
Posted on May 17, 2011 at 14:11

The program is written in a freeware C++ compiler, don't have the name with me...

I am using an USB cable from the PC to the board USB-B port... I can without problem use the card as a USB memory but i have no idea how to execute the file when the boardi s disconnected from the PC.

// Larsson, thanks for quick answer..

lowpowermcu
Associate II
Posted on May 17, 2011 at 14:11

Hi larsson,

You need to cross-compile your code (for example using IAR), you got a ''.bin'' (in case of IAR) file that you download it in the flash memory of the microcontroller.

MCU Lüfter

slarsson909
Associate II
Posted on May 17, 2011 at 14:11

i found this   IAR Embedded Workbench for ARM, v. 5.50, Evaluation version which i will download when i got the time. And cross-compile it to .bin. But when i have done that i need to get it into the flash, is it possible to do that with usb cable?

// Larsson

Posted on May 17, 2011 at 14:11

i found this   IAR Embedded Workbench for ARM, v. 5.50, Evaluation version which i will download when i got the time. And cross-compile it to .bin. But when i have done that i need to get it into the flash, is it possible to do that with usb cable?

 

Probably, but most anyone doing development would use a USB JTAG debug pod, to download and debug code. You could set the boards SW1/SW2 switches to boot from system memory and use the USART1 serial connector and PC Flash Loader program to upload a binary/hex file to the board.

The $10 STM32 VL Discovery board has a built in JTAG, might be a good starting point to get your feet wet.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
slarsson909
Associate II
Posted on May 17, 2011 at 14:11

Okey, i guess that ''USB JTAG debug pod'' is a product to connect the board to the computer, is it possible to buy it on

http://www.st.com/

, cause i can't find it if anyone would like to give me a link it would be appreciated..... Thanks for all help

// Larsson

Andrew Neil
Evangelist III
Posted on May 17, 2011 at 14:11

I think what you need is a basic introduction to embedded development.

Keil have a useful booklist here: 

http://www.keil.com/books/

 - they are not (all) specific to Keil.

As Clive1 said, The $10 STM32 VL Discovery board has a built in JTAG, might be a good starting point to get your feet wet.

 

That would be cheaper than buying a JTAG adaptor.

You should then spend some time gaining familiarity with that - then move on to the ''big'' dev kit...

If this is for your job, you should definitely seek out some training...

Andrew Neil
Evangelist III
Posted on May 17, 2011 at 14:11

The STM32 Value line Discovery is the cheapest and quickest way to discover the STM32. It includes everything required for beginners and experienced users to get started quickly. The STM32 Value line Discovery includes an STM32F100 Value line microcontroller in a 64-pin LQFP package and an in-circuit ST-Link debugger/programmer to debug Discovery applications and other target applications. A large number of free, ready-to-run application firmware examples are available on www.st.com/stm32-discovery to support quick evaluation and development using the LEDs, button and extension header to connect to other boards or devices.

http://www.st.com/mcu/contentid-133-110-STM32VLDISCOVERY.html

Posted on May 17, 2011 at 14:11

http://www.st.com/mcu/contentid-126-110-ST_LINK.html

http://www.st.com/mcu/modules.php?name=mcu&file=debug_tools&fam=110

http://www.keil.com/ulink/

http://www.segger.com/cms/jlink.html

Okey, i guess that ''USB JTAG debug pod'' is a product to connect the board to the computer, is it possible to buy it on

http://www.st.com/

, cause i can't find it if anyone would like to give me a link it would be appreciated..... Thanks for all help

http://www.st.com/mcu/contentid-126-110-ST_LINK.html

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..