Moderadores: 51, guest2003, Renie, gpenga
There are three methods of programming the Flash memory:
1. The on-chip ISP bootloader may be invoked which will use low level routines to program
the pages. The interface used for serial downloading of Flash is the UART.
2. The Flash may be programmed or erased in the end-user application by calling lowlevel
routines through a common entry point in the Boot ROM.
3. The Flash may be programmed using the parallel method by using a conventional
EPROM programmer. The parallel programming method used by these devices is similar
to that used by EPROM 87C51 but it is not identical and the commercially available
programmers need to have support for the AT89C51RD2/ED2. The bootloader and the
Application Programming Interface (API) routines are located in the BOOT ROM.
Bootloader Functionality
The bootloader can be activated by two means: Hardware conditions or regular boot process.
The Hardware conditions (EA = 1, PSEN = 0) during the Reset# falling edge force the on-chip
bootloader execution. This allows an application to be built that will normally execute the end
user’s code but can be manually forced into default ISP operation.
As PSEN is a an output port in normal operating mode after reset, user application should take
care to release PSEN after falling edge of reset signal. The hardware conditions are sampled at
reset signal falling edge, thus they can be released at any time when reset input is low.
To ensure correct microcontroller startup, the PSEN pin should not be tied to ground during
power-on (See Figure 24-4).
j.silvestre escreveu:Eduardo,
Este gravador vem com um software, que permite apagar e zerar o chip, tenta achar o site do fabricante lá tinha como fazer download do software
de gravação e também o manual.
sds
j.silvestre
Usuários navegando neste fórum: Nenhum usuário registrado e 1 visitante