Download EKF Electronik CG1-RADIO CompactPCI User`s manual
Transcript
Software Manual • EKF Intelligent I/O Controller Family On CompactPCI Lock Firmware Flash ROMs: IOCTL_EKF960SI1_FLASH_LOCK This I/O control request locks the firmware flash ROMs on an I/O controller for exclusive use. Call: DeviceIoControl( handle, // handle returned by CreateFile IOCTL_EKF960SI1_FLASH_LOCK, NULL, 0, NULL, 0, &unused, // pointer to a DWORD variable pOverlapped // optional pointer to overlapped buffer (may be NULL) ); The application may open any port that resides on the corresponding board when calling the flash ROM lock request. A call of this request should be done before calling any other of the flash worker routines like erasure or writing to avoid confusion, if several threads try to update the same board firmware. After the complete firmware update is done a call to IOCTL_EKF960SI1_FLASH_UNLOCK is necessary. Unlock Firmware Flash ROMs: IOCTL_EKF960SI1_FLASH_UNLOCK This I/O control request unlocks the firmware flash ROMs on an I/O controller previously locked by IOCTL_EKF960SI1_FLASH_LOCK. Call: DeviceIoControl( handle, // handle returned by CreateFile IOCTL_EKF960SI1_FLASH_UNLOCK, NULL, 0, NULL, 0, &unused, // pointer to a DWORD variable pOverlapped // optional pointer to overlapped buffer (may be NULL) ); Write Firmware Flash ROMs: IOCTL_EKF960SI1_FLASH_WRITE This I/O control request writes a block of data to the flash ROMs of an I/O controller. - 27 EKF Elektronik GmbH * Philipp-Reis-Str. 4 * D-59065 HAMM (Germany) Tel. +49 (0)2381/6890-0 * Fax. +49 (0)2381/6890-90 * E-Mail [email protected] * Internet http://www.ekf.de