beautypg.com

Preventing flash corruption, In figure 14 t, Figure 14 w – Rainbow Electronics AT89C51SND1C User Manual

Page 20: At8xc51snd1c, Hardwa re sof tw a re

background image

20

AT8xC51SND1C

4109E–8051–06/03

Figure 14. Hardware Boot Process Algorithm

The software process (boot loader) is detailed in the “Boot Loader Datasheet”
Document.

Preventing Flash
Corruption

See Section “Reset Recommendation to Prevent Flash Corruption”, page 47.

Atmel’s

Boot Loader

Hardwa

re

Sof

tw

a

re

Hard Cond?

ISP = L?

RESET

Hard Cond Init

ENBOOT = 1

PC = F000h

FCON = 00h

Prog Cond?

BLJB = P?

Standard Init

ENBOOT = 0

PC = 0000h

FCON = F0h

Prog Cond Init

ENBOOT = 1

PC = F000h

FCON = F0h

User’s

Application

P

roce

s

s

P

ro

ce

ss