I want to place some data in an array and then call this method to execute:
unsigned char IAP_ProgramUserCodePage ( char idata * ptr, // Pointer to data buffer in RAM unsigned short addr, // Page address unsigned char nb) { // number of bytes to program ptr=ptr; // avoid warnings addr = addr; nb = nb; IAP_key = 0x96; // write key value ACC = 0; // MOV A,#00H return ((unsigned char (code *)(void)) 0xFF03)(); // LJMP 0FF00H }
If you are trying ot use IAP with the Philips parts, take a look at the following knowledgebase article: http://www.keil.com/support/docs/2554.htm If you're using a different device and you tell us what it is you may get a response that is more appropriate. Jon
Thanks alot Jon, I fully understand now, best regards Khaled