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.