I created a project using the FLASH API according to SPNU493A.pdf for the TMS570 MDK.
When I compile I get the error "file ../pf035a_api_eabi.lib<blank.obj> was built without VFP coprocessor support while a previously seen file was; combining incompatible files".
The output file is not generated.
Since I have no idea how to build without VFP coprocessor support, I tried to replace pf035a_api_eabi.lib with pf035a_api_eabi_vfp.lib. This eliminates the error and I am able to load the program and run it on the development board. I am able to call some of the FLASH API functions. Flash_Compact_B() and Flash_Blank_B() return without error but Flash_Erase_Bank_B() and Flash_Prog_B() always return with an error. I am running out of bank 0 and preforming the operations on the other 3 banks (which are all blank). I disabled ECC by calling _coreDisableFlashEcc_() in _c_int00() right after the call to systemInit(). I also have interrupts disabled.
How should I resolve this? Should I build the project without VFP coprocessor support (I don't need it for this application) and include the file pf035a_api_eabi.lib per SPNU493A.pdf? If so, how do I disable VFP coprocessor support?
If pf035a_api_eabi_vfp.lib should work, what could be the problem? It would be nice to step through the code in the library routines to see why erase and programming is failing but difficult to do without the source code.
-Walt
