I have run both the flash_example and flash_demo and simply tried replicating this logic within a new project (for a bootloader) using Processor Expert. I am aware of the demo/example using the bare metal platform library rather than PE but that appears to be the only difference. My main issue appears to be centered around:
g_FlashLaunchCommand = (pFLASHCOMMANDSEQUENCE)RelocateFunction((uint32_t)__ram_func , LAUNCH_CMD_SIZE ,(uint32_t)FlashCommandSequence);
Whether I'm calling FlashEraseSector, FlashReadResource, FlashProgram, etc. They all call:
ret = pFlashCommandSequence(pSSDConfig);
This always returns 0x20 (FTFx_ERR_ACCERR)
Attached is my test project, at this point I really can not tell a difference between the demo and my test application in regards to utilizing this driver.
Thanks in advance.
IDE: KDS 3.0
SDK: KSDK 1.3
Original Attachment has been moved to: FlashTest.zip