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 />

Supported features<br />

Software modules<br />

void frcFlashReadRst (unsigned int Flashbase)<br />

Note: The Bootline parameters are stored in User Flash. During<br />

the boot sequence, if an error in Bootline is encountered, then<br />

the you must per<strong>for</strong>m a bootChange operation in order to overcome<br />

the error.<br />

The supported features are:<br />

Block erase.<br />

Verification of the device by reading (block wise) from it and<br />

storing in a defined area (in memory).<br />

Verification of the device by writing (block wise) defined data.<br />

Erasing a bank.<br />

This driver is implemented in flashDrv.c.<br />

DESCRIPTION This routine resets the flash to the read mode. After the execution<br />

of this routine the specified user flash would be ready to read.<br />

INPUT<br />

Flashbase The base of the flash device.<br />

0xA0000000 - user flash bank 0<br />

0xA2000000 - user flash bank 1<br />

RETURN None.<br />

int frcFlashAutoSelect ( unsigned * Mnfct, unsigned * DevCode, unsigned int Flashbase)<br />

DESCRIPTION This routine returns the manufacturer and device code of the specified<br />

user flash.<br />

INPUT Flashbase The base address of the user flash.<br />

0xA0000000 - user flash bank 0.<br />

0xA2000000 - user flash bank 1.<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 - 125

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

Saved successfully!

Ooh no, something went wrong!