cancel
Showing results for 
Search instead for 
Did you mean: 

STMFlashLoader.exe only worked once

olle
Associate II
Posted on June 25, 2008 at 07:04

STMFlashLoader.exe only worked once

4 REPLIES 4
olle
Associate II
Posted on May 17, 2011 at 12:37

Hi!

Of some reason, I only managed to download a program once, after that the bootloader stopped responding (i.e. the STMFlashLoader doesn't get any response after sending 0x7F). I used the command line interface, see my attachment.

I'm using a evaluation board from Keil (MCBSTM32).

Does anyone have any idea of what I'm doing wrong?

olle
Associate II
Posted on May 17, 2011 at 12:37

OK, I should have tried it yesterday, but I didn't. Try what? Restart the PC! Today it works!

[ This message was edited by: olle on 24-06-2008 09:45 ]

olle
Associate II
Posted on May 17, 2011 at 12:37

But however, if I download my program and then ground the BOOT0 pin (to boot in ''user flash memory'') just for trying my program (after reset), and then set BOOT0 to 1 again, to be able to download again, the device doesn't start in boot mode. How come?

When I restart my PC, it works fine again.

Has anyone else experienced this problem?

Again, I'm taking the following steps:

1) Set BOOT0 to 1 (to activate the boot loader)

2) Start Flash loader demonstrator (using the GUI)

3) Connect with the device

4) Download SW

5) Set BOOT0 to 0 (to execute code in flash memory)

6) Realize that my program doesn't work as expected, make a few changes and re-compile.

7) Set BOOT0 to 1

8) Start Flash loader demonstrator

9) Reset the device

10) Try to connect - FAIL!

Noteworthy is that I'm using a terminal program to connect to the device during step 6). But I'm disconnecting before re-programming.

[ This message was edited by: olle on 24-06-2008 10:36 ]

olle
Associate II
Posted on May 17, 2011 at 12:37

It seems like my terminal progran, TeraTerm Pro, does something to the serial port, and fails to restore it completely. I've ''solved'' my problem by using different ports on the PC for SW download and communication with my program.