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.

[参考译文] TMS570LS1224:f021闪存 API 错误

Guru**** 1831610 points
Other Parts Discussed in Thread: TMS570LS1224
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1307186/tms570ls1224-f021-flash-api-error

器件型号:TMS570LS1224

大家好、我在 UDS 中使用闪存 API F021来刷写服务、从而将 TMS570LS1224重新编程。

代码如下:


Fapi_Status 回波检查= Fapi_Status_Success;
oReturnCheck = Fapi_initializeFlashBanks (SYS_CLK_FREQ);
if (oReturnCheck = Fapi_Status_Success);
{
oReturnCheck = Fapi_setActiveFlashBank (Fapi_Flash 0);
if (oReturnCheck == Fapi_Status_Success)
{
oReturnCheck = Fapi_enableMainBankSectors (0xFFFF);
if (oReturnCheck == Fapi_Status_Success)
{

while ( fapi_check_FSM_ready_busy != Fapi_Status_Fsm )

if (FAPI_CHECK_FSM_READY_BUSY == Fapi_Status_Fsm)
{
oReturnCheck = Fapi_issueAsyncCommandWithAddress (Fapi_Erase 45ctor, StartAddress);

while ( fapi_check_FSM_ready_busy != Fapi_Status_Fsm )
IF(FAPI_CHECK_FSM_READY_BUSY == Fapi_Status_Fsm )
{
if (FAPI_GET_FSM_STATUS == 0 )
返回1;





在尝试擦除时出现残桩、挂起时出现以下错误: 无法在"D Testing_Obj_:\Shriram\RTC_Testing\TSP_WBMSProject/sys_intvecs.asm"处找到源文件
找到文件或编辑源查找路径以包括其位置。

但路径/每个子路径在代码中有0个匹配项。

我无法理解只有.obj 和.h 文件。