Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

erase flash memory thru command prompt

2006-05-15 by richa gupta

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]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.