This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Can't find a source file at "C:\Sid\work\GIT\catmcuauto-flashapi-f021-int\API\makefile/../Source/FlashStateMachine.InitializeFlashBanks.c" Error

Other Parts Discussed in Thread: TMS570LS3137

Hi,

when I run the code block below, program branches dabort when InitializeFlashBanks calls.

I included static Fapi library V3D16.lib and also included its paths.

I also copied bl_flash, bl_config modules.

#define BOOTLOADER_REQUEST_ADDRESS (0xF020C000) /* First Address of 3rd Sector @ BANK7 Eeprom */

FlashBank7SectorErase((uint32_t) BOOTLOADER_REQUEST_ADDRESS);
uint8_t Data2Wr = PENDING_BL_REQUEST;
uint8_t BlockProgramStatus = FlashBank7Program(BOOTLOADER_REQUEST_ADDRESS, (uint32_t) &Data2Wr, sizeof(Data2Wr));