Home/Support/Support Forum/The amount of page for RCM6750 serial flash.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

The amount of page for RCM6750 serial flash.

0 votes
Hi guys, from the function user manual I found the sf_getPageCount( const sf_device * dev ) function and the sf_getPageSize( const sf_device * dev ) function can be use to know the page size and page count of the RCM6750 serial flash.
Do you know what should I put for 'const sf_device*dev'? I just want to know how many page of flash there is for RCM6750..
asked Oct 8, 2014 in Rabbit by maniac84 New to the Community (3 points)

Please log in or register to answer this question.

1 Answer

0 votes
According to the function description:

PARAMETER1:dev - pointer to sf_device struct for initialized flash device

See serial_flashlog.c where a variable is defined as:

sf_device my_dev;

and in the function sf_initDevice it is used as:

if (err = sf_initDevice(&my_dev,
SF_SPI_CSPORT,
&SF_SPI_CSSHADOW,
SF_SPI_CSPIN))
answered Oct 9, 2014 by trooper2 Veteran of the Digi Community (588 points)
...