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.

TMS570LC4357: Details of Fapi_issueProgrammingCommand

Part Number: TMS570LC4357

Tool/software:

Hi

I downloaded the 80MHz HCLK example from the related thread and was able to program the flash. 

Now, I want to be able to program the flash without using the Fapi_issueProgrammingCommand() APIs, so I followed the instructions in SPNA148. I could not get that to working. Attached is the screenshot of the code that does not work.

But if I replace the highlighted statement with below statement, it works fine and programs the locations specified for Bank 7. 

Return_Status = Fapi_issueProgrammingCommand((uint32_t*)FL_PROG_ADDR_B7,DataBuffer,8,0,0,Fapi_AutoEccGeneration);

This tells me there is something that "Fapi_issueProgrammingCommand" function performs that I do not understand. Any suggestions please?

Thank you.