10-10-2007 01:21 PM
/********************************************************************************************
/* Name: Write32BitWord
/* Purpose: This function writes a 32-bit word into the volatile memory of the connected target
/* Input: _32BitData: 32-bit value to write
/* address: address where to write 32-bit word
/* Output: none
/* Return: error code
/********************************************************************************************/
extern "C" int AT91SAM7S::Write32BitWord(int _32BitData, int address){
IAT91BootDLLPtr pAT91BootDLL(
__uuidof(AT91BootDLL)); int errCode;pAT91BootDLL->AT91Boot_Write_Int(hHandle, _32BitData, address, &errCode); //hHandle is global variable
return (errCode);}
Labview Code:
See attachments
10-10-2007 01:35 PM
10-11-2007 04:10 AM
10-11-2007 09:30 AM
10-12-2007 04:10 AM