cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo F103RB - Strange Flash Size

sauer
Associate II
Posted on October 14, 2014 at 10:05

Hi,

i bought some Nucleo F103RB Boards and designed a circuit board for the Nucleo to drive my LEDs throught Bluetooth.

The prototype with airwires worked perfectly, but know i tried it with my circuit and if i plug the Nucleo on my circuit i got strange behaviour in flash sizes.

If i try to flash an image it cannot verify.

st-link showed my everytime i run it a different flash size, the sram and page size kept.

Here is a sample output:

2014-10-14T10:04:07 INFO src/stlink-common.c: Device connected is: F1 Medium-density device, id 0x20036410

2014-10-14T10:04:07 INFO src/stlink-common.c: SRAM size: 0x5000 bytes (20 KiB), Flash: 0x20000 bytes (128 KiB) in pages of 1024 bytes

2014-10-14T10:04:07 INFO gdbserver/gdb-server.c: Chip ID is 00000410, Core ID is  1ba01477.

2014-10-14T10:04:07 INFO gdbserver/gdb-server.c: Target voltage is 3269 mV.

2014-10-14T10:04:10 INFO src/stlink-common.c: Device connected is: F1 Medium-density device, id 0x20036410

2014-10-14T10:04:10 INFO src/stlink-common.c: SRAM size: 0x5000 bytes (20 KiB), Flash: 0x3fffc00 bytes (65535 KiB) in pages of 1024 bytes

2014-10-14T10:04:10 INFO gdbserver/gdb-server.c: Chip ID is 00000410, Core ID is  1ba01477.

2014-10-14T10:04:10 INFO gdbserver/gdb-server.c: Target voltage is 3264 mV.

2014-10-14T10:04:44 INFO src/stlink-common.c: Device connected is: F1 Medium-density device, id 0x20036410

2014-10-14T10:04:44 INFO src/stlink-common.c: SRAM size: 0x5000 bytes (20 KiB), Flash: 0x2020000 bytes (32896 KiB) in pages of 1024 bytes

2014-10-14T10:04:44 INFO gdbserver/gdb-server.c: Chip ID is 00000410, Core ID is  1ba01477.

2014-10-14T10:04:44 INFO gdbserver/gdb-server.c: Target voltage is 3271 mV.

Anyone got the same strange behaviour of this? I dont know where it belongs to.

Greetings Michael

#nucleo-f103
10 REPLIES 10
michaelsauer9
Associate II
Posted on October 17, 2014 at 09:50

Ok, i figured it now out with your helpings. It was the Flash latency time like you said.

I use now openocd to flash the nucleo board with no problem. The texane's st-link utils aren't stable enough for the f103rb.

Thanks for your helpings :)