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.

[参考译文] CC2651R3SIPA:OAD 片外闪存 BIM 在执行时工作、但在下电上电时崩溃

Guru**** 2587365 points
Other Parts Discussed in Thread: UNIFLASH, CCSTUDIO

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1312084/cc2651r3sipa-oad-off-chip-flash-bim-works-on-execution-but-crashes-on-power-cycle

器件型号:CC2651R3SIPA
主题中讨论的其他器件:UNIFLASHCCStudio

您好!

我将通过 W25Q32JVZPIQ 使用 TI 片外 BIM。 我调整ext_flash.c -> flash_info 阵列以包含新型闪存。

从 uniflash 或 CCStudio 执行 BIM 并运行时、一切正常、我在手机上看到了 BLE 器件。 但是、当我对电路板进行下电上电时、似乎没有加载应用(在我的手机上找不到 BLE 器件)。

我修改了 BIM、以便仅查找内部闪存中的图像(附加的代码片段)、并且它可以在下电上电。 我需要支持片外 OAD、有什么关于如何调试这个问题的建议吗?

//    /* First try finding a valid image on off-chip flash */
//    if( !(retVal = checkImagesExtFlash() ) )
//    {
//        /* Could not find valid image on off-chip Flash.
//         * Try finding application image on on-chip flash and jump to it */
//       checkImagesIntFlash(0);
//    }

    checkImagesIntFlash(0);

    /* BIM is not able find any valid application, either on off-chip
     * or on-chip flash. Try to revert to Factory image */
//  Bim_revertFactoryImage();

谢谢!