I am not able to get the ST Flash loader to recognize the STM32 on the MP32. I get the following error: "No response from taget, the Boot loader can not be started. Please, verify the boot mode configuration and the flash protection status ...".

 Settings-Config:

A) ST Flash Loader: 115200, 8, even, (echo disabled). 

B) I am using an ftdi usb-232 converter with a 232 shifter smd at the end (http://www.sparkfun.com/products/449):

 

A picture of my configuration is at the bottom.

 

Regarding B, this seriel configuration is working when I connect to either of the usarts on the StmDiscovery board. In fact on the discovery board, with respect to usart#1, I am connecting to pins Pa9 & Pa10 (same as MP32).

 

I am noticing that when I press next on ST flash Loader I can see the Tx and Rx blip momentarily, and then the Rx led on the 232-ttl converter stays on slightly dim (until I press the reset button on the MP32).

 

When I power up the board with the "jumper" removed,  JP11-5 is High and JP11-6 is low. I am not 100% sure, but I believe JP11-6 corresponds to the Boot_0 pin on the STM32.  

I tried several different buad rates in Flash Loader, but didnt have any luck. Also, I tried all the above on my deskop (which has serial ports). I used the same level shifter at the end of the cable. In all the above I also tried switching the Rx and Tx going to the MP32 (in case I had them backworks)s. I even tried pressing the reset after powering the board up, before trying the use the Flash Loader.

 

The only thing I didn't think of until now (editing post) is that on the Discovery Board I powered the 232=ttl convertor at 3.3. When connected to the MP32 it is being powered at 5. What level is the usart at?


Is there anything I overlooked?

 

 

Thanks,

 

JimT

You need to be a member of FOXTEAM UAV CLAN to add comments!

Join FOXTEAM UAV CLAN

Email me when people reply –

Replies

  • I am having a problem communicating with my board using flash bootloader.  I am designing a breakout board for the STM32F103RB, I have the UART1 pins out so I can use flash programming rather than JTAG, but I am having no luck with ST flash programmer :( it gives me different problem messages..
    1) "Unrecognized device...please, reset your device then try again"
    2) "No response from the target, the boot loader can not be started. Please verify the boot mode configuration and the flash protection status, Reset your device then try again"
    3) "Cannot get available commands, please, try to change echo selection, reset your device then try again"

    Board:
    ====
    I have a custom made board, which I confirm is working since I have the JTAG pins out as well and was able to connect and program it using Olimex ARM-USB-OCD + Eclipse


    Appreciate your feedback...

  • Problem Solved, 

    My 232-TTL level shifter did not like being powered on the 5v bus as depicted in the picture above. I guess the converter I bought isn't as smart as a max232. After getting some sleep I looked at the differences between the config above and the Discovery board, and realized the diff was that on the discovery board I was using 3v3 (NOT 5v).

     

    Well, I hope I didn't exercise anyone needlessly, especially Roberto.

    For anyone having this issue, trying to use the same 232-TTL converter; here is a pic of what works:

    2772932334?profile=RESIZE_1024x1024

     

    • I actually experience the same problem, i.e., the Flash Loader Demonstrator won't always recognize the MP32. Sometimes I have to try several times until it finally recognizes it. I am also using the 5V output of the MP32 as the power supply for the RS232/TTL converter.

      Hint: There is a tool that will display all the communication of the serial/RS232/COM port(s) of your Windows PC. It is originally made by two very smart guys, who sold their company to Microsoft some time ago, so the tool can now be found there. However, the old web site still works (and gets redirected to MS): www.sysinternals.com - go to the Utilities Index and download the PortMon tool. No need to install, just unZIP and run.

      Various other very smart and helpful expert tools available there also.

      HTH, Stephan

  • Hello Jim,

    I am using a USB FTDI Cable.

    I have setup the same parameters as you for serial setting. I am using TTL Tension , i.e 5.5V as this is supported but 3.3V is ok also.

    You should remove the jumper and reboot the proc to activate the serial bootload process.

    Initially I have the same trouble. My mistake was an inverted connection of the Tx/Rx connector !

    Then, I have a problem in the following menus of ST Flash Demo when trying to upload a binary File.

    In the " Download to Device" selection, you should activate the "Global Erase" Option to be able to load correctly a binary file. This option is not setup by default !

    Hope this help !

    Ciao !
    Mario
    • Thanks for the input.  I just downloaded (see below for solution) the .bin from the demo!
This reply was deleted.