For erasing the contents of flash memory from the command prompt this is the syntax but what will be value of result unsigned long command[5]; unsigned long result[2]; or unsigned long * command; unsigned long * result; command=(unsigned long *) 0x .. result= (unsigned long *) 0x .. Define pointer to function type, which takes two parameters and returns void. Note the IAP returns the result with the base address of the table residing in R1. typedef void (*IAP)(unsigned int [],unsigned int[]); IAP iap_entry; Setting function pointer iap_entry=(IAP) IAP_LOCATION; Whenever user wishes to call IAP within the application, the following statement could be used. iap_entry (command, result); what will be the value of result thanks in advance Richa --------------------------------- Yahoo! Mail goes everywhere you do. Get it on your phone. [Non-text portions of this message have been removed]
Message
erase flash memory thru command prompt
2006-05-15 by richa gupta
Attachments
- No local attachments were found for this message.