2010-10-12 02:35 AM
stm3210b-eval, help
2011-05-17 05:11 AM
What tools are you using to compile your program, and connect to the STM3210B?
2011-05-17 05:11 AM
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..2011-05-17 05:11 AM
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üfter2011-05-17 05:11 AM
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?
// Larsson2011-05-17 05:11 AM
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.
2011-05-17 05:11 AM
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
, cause i can't find it if anyone would like to give me a link it would be appreciated..... Thanks for all help // Larsson2011-05-17 05:11 AM
I think what you need is a basic introduction to embedded development.
Keil have a useful booklist here: - 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...
2011-05-17 05:11 AM
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
2011-05-17 05:11 AM
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.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 , cause i can't find it if anyone would like to give me a link it would be appreciated..... Thanks for all helphttp://www.st.com/mcu/contentid-126-110-ST_LINK.html