Home/Support/Support Forum/sfspi_xread always reads zero where sf_initDevice calls _sf_deviceStatus.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

sfspi_xread always reads zero where sf_initDevice calls _sf_deviceStatus.

0 votes
Rabbit module RCM4200
Dynamic C 10.72D
These functions are in sflash.lib
The sample program sflash_inspect.c cannot initialize the flash
because it times out without the msb ever being nonzero.
asked Jan 16, 2019 in Rabbit Software by robertdataclutch New to the Community (2 points)

Please log in or register to answer this question.

1 Answer

0 votes
Hmm. I'm able to run Samples/RCM4200/Serial_Flash/SFLASH_INSPECT.C on my hardware and it could read and write the flash pages.

Do you have the module in a development board without any additional components? Do you have another module to test with? Have you confirmed that it's an RCM4200-series board and not another board type like an RCM4300? Have you modified any of the libraries or sample code?

Have you removed all macro definitions in the Project Options? Perhaps you've set something there that causes the program to fail.
answered Jan 18, 2019 by TomCollins Veteran of the Digi Community (1,514 points)