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.

[参考译文] IWRL6432:IWRL 6432 - APP 到 SBL 开关

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

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1359556/iwrl6432-iwrl-6432---app-to-sbl-switch

器件型号:IWRL6432

您好!

我们想知道如何在通过看门狗计时器完成热复位后再次从应用切换回 SBL (次级引导加载程序)。 为方便您参考、我们将使用我们的 SBL 所在的此位置#define SBL_vector ((uint32_t) 0xE000ED08)。 因此我们的假设是、一旦热复位完成、它将转到这个指定的 SBL 位置并触发 SBL。  但这种功能不会发生、因此我们想知道如何实现这一点、以及需要进行哪些更改。
如果需要,我们可以提供更多信息。

注意:我们正在使用 SDK 05_04_00_01版本,TI 提供了一个热复位的示例代码,称为看门狗复位。 我们已经将此示例代码与示例 hello world 代码合并、并在此处附上了相应的代码更改以供您参考。

谢谢

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
* Copyright (C) 2018-2021 Texas Instruments Incorporated
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the
* distribution.
*
* Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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

    你好。

    我正在研究这一问题,并将在明天一天结束时作出答复。

    此致、

    桑托什

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

    你好。

    似乎缺少了 handleWdtReset 函数、该函数将强制 RBL 从闪存重新加载并处理前端。  由于 SBL 存储在 SFLASH 的初始段中、因此通过执行此操作、您将重新加载 SBL、后者将重新加载您的应用。  您是否曾尝试过这样做以查看是否可提供所需结果?

    此致、

    桑托什

x 出现错误。请重试或与管理员联系。