Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/21/02 20:50
Read: times


 
#31169 - RE: Custom Flash Loader for 89C51CC01
add this routine to flash_api.c from ATMEL

Uchar __api_flash_erase_page (Uint16 _DPTR)
{
DPTR = _DPTR;
ACC = 0x01;
ASM_MOV_R1_A();
MAP_BOOT;
__API_FLASH_ENTRY_POINT();
UNMAP_BOOT;
return (1);
}

that does it. However the system comes to a stop, when I do a page write (128 byte). When I hook the system on the Flip, it shows, that the page was programmed, but then ??? Does page write work all right with
Loader Version 1.1.2 ?

Werner

List of 9 messages in thread
TopicAuthorDate
Custom Flash Loader for 89C51CC01            01/01/70 00:00      
RE: Custom Flash Loader for 89C51CC01            01/01/70 00:00      
RE: Custom Flash Loader for 89C51CC01            01/01/70 00:00      
RE: Custom Flash Loader for 89C51CC01            01/01/70 00:00      
RE: Custom Flash Loader for 89C51CC01            01/01/70 00:00      
RE: Custom Flash Loader for 89C51CC01            01/01/70 00:00      
RE: Custom Flash Loader for 89C51CC01            01/01/70 00:00      
RE: Custom Flash Loader for 89C51CC01            01/01/70 00:00      
RE: Custom Flash Loader for 89C51CC01            01/01/70 00:00      

Back to Subject List