cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 System memory boot - 0x7F command.

min21c1
Associate
Posted on July 14, 2008 at 05:06

STM32 System memory boot - 0x7F command.

1 REPLY 1
min21c1
Associate
Posted on May 17, 2011 at 12:39

Hello.

I'm trying to develop a host program like FlashLoader.(My-FlashLoader)

The work has almost done except one issue.

Some STM32 targets are programmed well by My-FlashLoader. But some targets stop and send ''NACK''.

The problem is caused by 0x7F packet.

I analyzed the FlashLoader's command flow through a serial monitor program.

And I found the 0x7F packet difference(send or not).

FlashLoader might distinguish the target and send the second 0x7F command or not.

Can anyone tell me about the identifier.

// Command flow

// 0x7F->0x00->0x02->0x02->0x11->0x11

// 0x11->0x11->0x11->0x11->0x11->0x11->0x11->0x11->0x11->0x11->0x11->0x02->0x02->0x01->0x00

// 0x11->0x73->0x7F->0x43->0x43->0x31->0x31->0x11->0x11

Thank you.

:)

[ This message was edited by: min21c on 14-07-2008 08:40 ]