cancel
Showing results for 
Search instead for 
Did you mean: 

Bootloader activation fails

christoph239955_stm1
Associate II
Posted on August 27, 2009 at 08:58

Bootloader activation fails

6 REPLIES 6
christoph239955_stm1
Associate II
Posted on May 17, 2011 at 13:21

Hi,

I have worked some weeks with a STM32F103 using a self-made board and the ST Flash Loader Demo (V1.3). Activating the bootloader and loading the program into the flash worked fine, but now, with an STM32F105RCT6 on the same board, activating the bootloader fails. A message with ''unrecognized device'' pops up. I changed the baudrate, the BOOT0 and BOOT1 are ok, RESET as well. It's the same with another board. The microcontroller only transmits 0x00 with about 1Hz.

Has anyone an idea to fix it?

Christoph

asterix
Associate II
Posted on May 17, 2011 at 13:21

Salut,

It seems that STMicro sent or shipped you an early silicon with a blank bootloader 🙂

Asterix

christoph239955_stm1
Associate II
Posted on May 17, 2011 at 13:21

Merci beaucoup, Asterix.

Can anyone from ST confirm it? The signature on the chip is

99056 VC

MYS 99 923

I'll order a JTAG... :\

16-32micros
Associate III
Posted on May 17, 2011 at 13:21

Dear christoph,

Could you try to use UART2 Remapped pins PD6 and PD5 and to see if you have a response for the bootloader? . Let me know.

Cheers,

STOne-32.

16-32micros
Associate III
Posted on May 17, 2011 at 13:21

Dear Christoph,

I made a mistake in my previous message, sorry for that, I haven't seen that you are using the STM32F105RCT which is a 64-pin Package and does not contain the PD5 and PD6 pins. May I ask you to connect via JTAG and to dump the SystemMemory area ( 18Kbytes) with an Editor Starting from address 0x1FFF B000.

Cheers,

STOne-32.

er2
Associate III
Posted on May 17, 2011 at 13:21

Hello,

it is the same problem here. I also have got samples from ST, STM32F105RC (64 pins), STM32F107VB (100 pins, rev.Z).

No Bootloader-Port is working correct:

USART1 doesn't work cause of conflict with OTG-pins.

No USB enumeration with the PC is possible (external 8MHz crystal used)

USART2 at PD5/6 also doesn't work cause of wrong baudrate detection. With an oscilloscope at PD5 (USART2-TX) i can see an answer of the bootloader, but the baudrate is approx. 1.5 times lower than the baudrate on PD6 (USART2-RX).

CAN2? I can't test it.

I also have found out:

For using the USART-bootloader CAN2-RX (PB5) must have an external pullup-resistor and USART1-TX (PA9) must have a pulldown-resistor.

At this time the bootloader is not usable. I hope it will be fixed when the new controllers are in production.

Erwin