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.

[参考译文] MSP432E401Y:仅当使用以太网刷写且使用调试器工作正常时、代码卡滞

Guru**** 2390755 points
Other Parts Discussed in Thread: UNIFLASH, MSP432E401Y

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1519870/msp432e401y-code-stuck-only-when-flashed-with-ethernet-and-working-fine-with-debugger

器件型号:MSP432E401Y
Thread 中讨论的其他器件:UNIFLASH

工具/软件:

您好团队:

即使我添加了额外的代码行、它也会卡在故障代码中。但使用调试器(TM4C)刷写时、同样的代码效果很好。 我曾在 CCS 和 UNIFLASH 中试用过、没关系。

我正在使用 BSL-Scripter 工具和 Resource Explorer 中所述的相同引导加载程序 来刷写 MSP432E401Y 微控制器。

以太网刷写以前工作正常、但只有在添加额外的代码或延迟时才会卡住。

...............................................................................................................................................................................................................................

main()

 -> init()

    ->外围设备 init()

    ->其他功能 init()

          ->打印语句。/delay added            =>>>上述函数将被执行、它将在此处停留为 ISR 故障。

}

-> RTOS task create()

->启动任务调度程序()

}

............................................................................................................................................................................................  

您能帮我进一步调试这个问题吗?

提前感谢。

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

    您好、

    [引述 userid="577647" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1519870/msp432e401y-code-stuck-only-when-flashed-with-ethernet-and-working-fine-with-debugger

              ->打印语句。/delay added            =>>>上述函数将被执行、它将在此处停留为 ISR 故障。

    [/报价]

    您正在使用哪种类型的打印功能? 您是否使用了 C printf? 您能显示具体的代码吗? 如果您使用 printf、则需要增加堆和栈存储器。