Difference between revisions of "How To Judge The Bootloader Program Is Updating Or Jump To Application Program"

From Bitcoin Wiki
Jump to: navigation, search
(Created page with "<big><big>I used a updata flag which is a four bytes word and is writed at fixd flash address (0x8000 - 4) The flag's value is 0xAABBCCDD When the bootloader program run, f...")
 
(No difference)

Latest revision as of 11:09, 7 January 2016

I used a updata flag which is a four bytes word and is writed at fixd flash address (0x8000 - 4)

The flag's value is 0xAABBCCDD

When the bootloader program run, first it judge the updata flag, if the updata falg is not equal 0xAABBCCDD,
it will jump to application program. otherwise it will run to updata program.