20.12.2012 Views

2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide

2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide

2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

API Call Reference List of APIs<br />

RETURN<br />

FLASH_SUCCESS If OK.<br />

FLASH_TIMEOUT If any error.<br />

short frcBootFlashVerify (volatile unsigned char *Address, unsigned char *data, unsigned<br />

intsize)<br />

DESCRIPTION This function verifies the Flash device from a given location by<br />

writing specified data <strong>for</strong> given size. It reads the contents of<br />

written data from the specified location and compares it with<br />

actual data, and reports if there are any mis-matches.<br />

INPUT<br />

Unsigned char<br />

*Address Starting Address of the Flash to be Programmed / Verified.<br />

Unsigned char<br />

*data Starting Address of the data to be Written / Verified.<br />

Unsigned int size<br />

Number of Bytes to be verified.<br />

OUTPUT Not Applicable.<br />

RETURN<br />

SUCCESS If OK.<br />

void frcBootFlashFile (char * FTPSERVER_IP_ADRS ,char * DIRECTORY,char * filename)<br />

DESCRIPTION This function loads the file from the Network and then programs<br />

the Boot Flash device with that file.<br />

VxWorks 5.5/Tornado <strong>2.2</strong> <strong>BSP</strong> <strong>Rel</strong>. <strong>1.0</strong> <strong>for</strong> <strong>PPMC</strong>-<strong>275</strong> 5 - 123

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!