Skip to main content
parag
Associate III
December 29, 2010
Question

Getting an error while flashing a program in STM3210E-EVAL

  • December 29, 2010
  • 6 replies
  • 920 views
Posted on December 30, 2010 at 00:57

Getting an error while flashing a program in STM3210E-EVAL

    This topic has been closed for replies.

    6 replies

    Tesla DeLorean
    Guru
    May 17, 2011
    Posted on May 17, 2011 at 14:19

    People have reported problems occasionally with USB-to-Serial dongles. If you have a PC with a serial port give that a try.

    The boot loader also has a small functional window. Try powering up the board immediately before initiating the flashing application's search. If the search fails, power cycle the board and try again. I've typically used 115200 8E1 to download to the STM32.

    You could also try a terminal program with similar settings, and see if the board responds to the 0x7F auto-bauding pattern.

    If none of that works, consider using a JTAG pod.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    parag
    paragAuthor
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:19

    Hi Joze ,

         did you fix the problem? I am still wondering ? please help

    malimarijo
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 14:19

    I'm having the same problem with Keil's mcbstm32e-ed evaluation board. Does anyone know what 's causing this?

    Andrew Neil
    Super User
    May 17, 2011
    Posted on May 17, 2011 at 14:19

    See also:[DEAD LINK /public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/ARM CortexM3 STM32/Need a urgent help to flash a program in STM3210E-Eval&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000626BE2B829C32145B9EB5739142DC17E&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%2520CortexM3%2520STM32/AllItems.aspx&currentviews=55] https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fARM%20CortexM3%20STM32%2fNeed%20a%20urgent%20help%20to%20flash%20a%20program%20in%20STM3210E%2dEval&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000626BE2B829C32145B9EB5739142DC17E&TopicsView=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FARM%2520CortexM3%2520STM32%2FAllItems%2Easpx&currentviews=55

    (to return the cross-linking favour)
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    vikram23
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 14:19

    Hi,

    Is someone having any update on how to solve this issue? Is anyone facing the same issue now?

    @clive1 : please find below my queries.

    Tesla DeLorean
    Guru
    May 17, 2011
    Posted on May 17, 2011 at 14:19

    Try something like RealTerm

    http://www.i2cchip.com/realterm/Realterm_2.0.0.70_setup.exe

    Make sure you have set BOOT0/1 correctly to enter the ISP boot loader. Use USART1.

    It will expect the 0x7F sent as 8-bit Even Parity as the first symbol after it is powered up, if it interprets something else it will use the wrong baud rate. Set up your port/terminal first, then cycle the power to the STM32.

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