cancel
Showing results for 
Search instead for 
Did you mean: 

ST10F276 won't enter BSL at Power-up, only when reset manually

fweld9
Associate II
Posted on January 03, 2007 at 18:48

ST10F276 won't enter BSL at Power-up, only when reset manually

5 REPLIES 5
fweld9
Associate II
Posted on December 15, 2006 at 12:03

At my ST10F276 application it should be possible to reprogram the CPU when the cover is closed.

When D4 is tied to GND via 2k2 BSL should start when powered up.

But...

some of my boards won't enter BSL. (ST10 Flasher: BSL: No acknowledge Received.)

When I do a hard reset to /RST it works.

I'm using the MCP809T for the reset now, but the DS1232 in the earlier boards showed the same problem.

Anyone with the same problem?

Thx, Manitux :)

fweld9
Associate II
Posted on December 20, 2006 at 04:41

Hello Neila,

The circuit is very simple, I am using a transistor to pull D4 to GND via 2k2. The transistor is enabled by a push button which I hold down before power is set on.

Regardless of what I connect to RPD there is no difference between the failing ones and the good ones. The level is always L and starts rising according to datasheet.

Even when /RST is tied to L and released after 1 second BSL will not start.

Thx, Manitux :)

michaelgaus9
Associate II
Posted on December 20, 2006 at 07:55

Do you have a Pullup on P4.5 (CAN1_RXD)? ST10F276 does also have a built-in CAN-BSL. If there is a falling edge detected, CAN-BSL is started instead of UART-BSL.

fweld9
Associate II
Posted on December 20, 2006 at 11:31

Thanks, looking!

Pulling CAN1RXD to H did not make any change.

Could it be that some parts of the init sequence are missing in the BSL?

The interesting thing is, that the ''normal'' program always starts out of the flash. This program is always composed by the compiler (Keil) and it seems to start correctly regardless of the reset method.

TNX, Manitux :)

fweld9
Associate II
Posted on January 03, 2007 at 18:48

Hi and Happy New Year, everybody!

Tried some other ideas in the meanwhile (including changing the CPU and the crystal frequency) but no success.

Can anyone reproduce my problem?

Or...

... does anyone have the sources of BSL?

TU, Manitux :)