I was trying for several hours to read program flash using the FlashReadResource() function. After reading this post I tried the READ32() macro, and it just worked. Yay!
Sidenote:
It's strange to me that the C90TFS library has 2 functions to read the P-Flash IFR(FlashReadResource, and ReadOnce), but neither can read the basic program flash. If you try to pass in an absolute address, e.g. 0x7E000 for a 512KB MKW2x chip, the FlashReadResource function will return an access error (ACCERR). After lots of reading I realized that the access error is because these functions are only supposed to access IFR memory (see Table 35-44 of the MKW2x reference manual for valid local address ranges).
Thanks for the info XiangJun Rong!