Skip to main content
gajeronline
Associate II
April 12, 2007
Question

Bootloader: Main App not running after system reset

  • April 12, 2007
  • 14 replies
  • 2760 views
Posted on April 12, 2007 at 09:15

Bootloader: Main App not running after system reset

This topic has been closed for replies.

14 replies

gajeronline
Associate II
May 17, 2011
Posted on May 17, 2011 at 09:39

thanks, i will be waiting for any sugestion and workaround.

It's very important for me (and my project).

Best regards

gajer

gajeronline
Associate II
May 17, 2011
Posted on May 17, 2011 at 09:39

Hi kmshim

It's really work :) thanks, thanks, thanks :).

.

.

.

but why !!! after system reset

FMI_CR : set to reset value

FMI_BSSR :not changed

FMI_BBADR :not changed

FMI_NBBSR :not changed

FMI_NBBADR :not changed

In my opinion, this is a BUG.

Best regards

gajer

kmshim
Associate II
May 17, 2011
Posted on May 17, 2011 at 09:39

Hi, gajer

In the case of H/W remap by FLINK or RLINK,

BANK0(at 0x80000), BANK1(at 0x00)

when globla reset is occued,

SCU_PLLCONF :reset value

SCU_CLKCNTR :reset value

SCU_SYSSTATUS:reset value

FMI_BSSR :reset value

FMI_BBADR :reset value

FMI_NBBSR :reset value

FMI_NBBADR :reset value

FMI_CR :reset value(0x08--->only bank0(Boot setcor) enabled)

when system reset is ouccued,

SCU_PLLCONF :not changed

SCU_CLKCNTR :not changed

SCU_SYSSTATUS:not changed

FMI_BSSR :not changed

FMI_BBADR :not changed

FMI_NBBSR :not changed

FMI_NBBADR :not changed

FMI_CR :0x08(reset value(0x08 --> only bank0(boot sector)enable)

I think that your problem because of FMI_CR, that is bank1 is disabled by reset value of FMI_CR.

I propose that you modified start code to what i recommaned previously and application jump(0x00 --> 0x80000), and don't use the software remap..

good luck,,

Best regards

KMSHIM

najoua
Associate
May 17, 2011
Posted on May 17, 2011 at 09:39

Hello Gager & kmshim,

Please have a look to my answer in the following discussion forum link:

http://www.stmcu.com/forums-cat-5212-21.html

in this link, explanation of the observed behavior with hardware reset is given.

Best regards,

Najoua.