cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103RBT6 development board + 2.8'' TFT-module

tzionlevy
Associate
Posted on June 25, 2011 at 19:59

Hey

people

,

Recently

I bought

the STM32F103RBT6 development board + 2.8'' TFT-module

. (A.k.a MINI-STM32-V3.0) (with the 2 mini USBs)

After many

attempts

to enter

programming

mode

,

and

program it

via

USB without any extra tools

,

I managed

.

i used this combination to enter the programing mode:

(PRESS and HOLD the BOOT0 key, Press and Release the RESET key, Release the BOOT0 key)

i used the PL2303 Driver to set my ''USB to Serial''  Virtual COM

and i used the ''Flash Loader Demo'' to upload the example code to my board.

The program

worked

and

everything was good

...

but

When

I tried

again

to enter

programming

mode

(in order to change the code),

the

STM32F103RBT6

stuck

on the

programming

mode

(

white

screen

).

i tried to program it (in the same way i managed before) but nothing,

Now, when ever i power up my board i see a white screen, the four keys (RESET, BOOT0, KEY1, KEY2) doesn't respond and the

''Flash Loader Demo''

application cannot communicate with the board.

I am really afraid that somehow my board has

Bricked\Spoiled

.

I will

Appreciate any help in this subject, thanks

#metoo #lmgtfy
11 REPLIES 11
Posted on June 26, 2011 at 02:52

The BOOT0/RESET is pretty intrinsic to the STM32 operation. Providing you get the sequencing right, it's going to go into system loader mode, period. Be persistent and keep trying, the device auto-bauds when you first talk to it, foul that up, and you have to start over. Try also disconnecting power/USB.

The white screen, the STM32 has no idea how to configure it, the system loader doesn't touch it, so it will just do it's own thing.

You also have a JTAG connector, try using that.

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

I use those dev boards and recommend getting one of the $12 VLDiscovery boards for use as a programmer/debugger.

tzionlevy
Associate
Posted on June 26, 2011 at 18:55

Nothing working :[

i tried every thing i can think on,

i tried to reinstall the drivers, terminal programing, and so...

is there any way to go back to the demo program? and if so, so how?

thanks

rmteo
Associate II
Posted on June 27, 2011 at 16:30

As I said in my earlier post, you can use the ST VLDiscovery to load the demo back into the board.

Posted on June 27, 2011 at 18:30

i tried to reinstall the drivers, terminal programing, and so...

You programmed it once, so not the drivers.

is there any way to go back to the demo program? and if so, so how?

As suggested you have TWO methods to do this, via the serial connection to the system boot loader, and via the JTAG connector. There isn't a magic reset button to get you back to the delivered code.

The utility of the VL Discovery board is probably overstated, it does not have a connector for the 20-pin JTAG of the dev board. It is cheap, but you'll have to hack things together. Judge your capabilities to modify and wire it up.

The non half-assed approach would be to download an eval copy of Keil or IAR, and get a U-Link (Keil only) or J-Link JTAG pod. Build, Download, Debug, simple

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
rmteo
Associate II
Posted on June 27, 2011 at 20:23

All it needs a 4-wire connection for full debug (and programming) capability.  Have used it with both Truestudio and Crossworks.

hfs99
Associate II
Posted on June 28, 2011 at 03:15

I think I have the V4 version of the board you're talking about. On that one, it appears to me the boot0 key is really ''flaky''. Sometimes the two key combo works fine for me on the first try - other times it takes me 4 or 5 attempts before I get it to work. You might want to use a multimeter to see if your boot0 (or reset) key has failed completely.

I mostly use the board without the LCD module. At one point I was sure I had some sort of interference between the LCD module and the PL2303 interface. I had a program that worked when the LCD module was disconnected, but not when it was connected. Later I could not duplicate the problem. But if you're at the point of trying random things, removing the LCD module is one more random thing you might try.

Of course, it is possible the uC or the PL2303 chip has failed.
jaffersultan
Associate
Posted on July 27, 2011 at 22:19

Hi

I just got my STM32F103RBT6(development board ) with 2.8

TFT-module, but the supplier left out the CD and the cable. I was searching for the datasheet for the stuf on internet (Board and LCD), but no success. Can you guys help me out .... and also some tutorials would be great....

jepjoh2
Associate II
Posted on July 30, 2011 at 13:42

The flash loader demonstrator is very sensitive to having clear RS232 FIFO buffers(I think). For some reason they don't purge the connection properly which causes all sorts of mayhem where you need to get timing precise when attempting to communicate with the bootloader

My recipe for a tolerable Flash loader demonstrator use:

Unplug all USB devices

Put STM32 board in bootloader mode by holding Boot0 while powering up

Plug in serial port

Run flash loader demonstrator