
- #HOW TO LOAD PROGRAM FOR AT89C51RD2 40 GENERATOR#
- #HOW TO LOAD PROGRAM FOR AT89C51RD2 40 UPDATE#
- #HOW TO LOAD PROGRAM FOR AT89C51RD2 40 SOFTWARE#
- #HOW TO LOAD PROGRAM FOR AT89C51RD2 40 CODE#
Where as it can easily hex file generated by ASM51.
#HOW TO LOAD PROGRAM FOR AT89C51RD2 40 SOFTWARE#
When ever I try to open hex file generated by Keil, the software cannot read the file properly and shows wrong data in the memory address. API Program Data Page- Incorrect Return Value The PROGRAM DATA PAGE API returns the `0xXX' instead 0x00 in ACC, but the programmnig operation is sucessfully completed.Did anybody ever faced this probelm with the software of the above programmer? API Program Data Byte - Incorrect Return Value The PROGRAM DATA BYTE API returns the `0xXX' instead 0x00 in ACC, but the programmnig operation is sucessfully completed.Ģ. MOVX Load Column latches NOP ADDED INSTRUCTIONĪPI program Data Byte - Incorrect Return Value API program Data Page - Incorrect Return Valueġ. A NOP instruction has to be inserted after the load instruction.
#HOW TO LOAD PROGRAM FOR AT89C51RD2 40 UPDATE#
Workaround Update of the Flash API Library. The `Read after load' issue leads to a wrong Opcode Fetch during the column latch load sequence. Flash/EEPROM - First Read after Load Disturbed In the `In-Application Programming' mode from the Flash, if the User software application loads the Column Latch Area prior to calling the programming sequence in the UART Bootloader. Workaround Clear ENBOOT bit at the beginning of user application software.ħ. This is due to ENBOOT bit which is set in this Bootloader flow. In case of Boot process with BLJB = 0 and BSB = 00, the User Application is executed but the program space located in the upper 2KBytes of the 64KBytes on chip Flash memory cannot be executed. Boot Process - Upper 2Kbytes Execution with BLJB = 0 Use the same mode for the two timers : 6.

Timer0/1 Extra Interrupt When in X1 mode and in X2 mode and vice versa, extra interrupt may randomly occur for or Timer1. Set the CPU in X2 mode by software by writing CKCON register at the begin of the application. When starting the microcontroller in X2 mode upon reset with the X2 fuse bit of the HSB, the PCA may not work properly when configured with Timer in X1 mode as clock input. Workaround Set the CPU in X1 mode diretly before entering power-down mode. C51 Core Bad Exit of Power-down in X2 Mode When exiting power-down mode by interrupt while CPU in X2 mode, it leads to bad execution of the first instruction run when CPU restarts. Workaround Add the initialization of TH2 and TL2 in the initialization of Timer 2.ģ.
#HOW TO LOAD PROGRAM FOR AT89C51RD2 40 GENERATOR#
Timer 2 Baud Rate Generator Long Start Time When Timer 2 is used as a baud rate generator, TH2 is not loaded with RCAP2H at the beginning, then UART is not operational before 10,000 machine cycles.

#HOW TO LOAD PROGRAM FOR AT89C51RD2 40 CODE#
Workaround Test REN at the beginning of Interrupt routine directly after CLR RI, and run the Interrupt routine code only if REN is set.Ģ. During UART Reception, Clearing REN May Generate Unexpected IT During UART reception, if the REN bit is cleared between start bit detection and the end of reception, the UART will not discard the data (RI is set).

During UART Reception, Clearing REN May Generate Unexpected IT Timer 2 Baud Rate Generator Long Start Time C51 Core Bad Exit of Power-down in X2 Mode PCA Incorrect Behavior with CPU X2 Mode Bit of HSB Timer0/1 Extra Interrupt Boot process - Upper 2Kbytes execution with BLJB=0 Flash/EEPROM - First Read after Load Disturbedġ.
