GD32f103 微控制器上的程序仅在连接调试器的情况下运行,复位后不会运行

发布于 2025-01-10 22:39:32 字数 254 浏览 2 评论 0原文

我正在使用 J-Link EDU Mini 调试器/编程器,将一个简单的测试程序上传到 GD32f103 微控制器(ST32f103 克隆/复制)。该程序只是一个测试程序,旨在打开 LED。它是用SMT32CubeIDE编写的,这里是基于ST32f103的。

使用 J-Kink 将编译好的 .elf 文件上传到 GD32f103 后,LED 正常亮起。然而,一旦我拆下 J-Link 并重置处理器,程序似乎无法启动,因为 LED 不会亮起。

这个问题的根源是什么?

I'm using a J-Link EDU Mini debugger/programmer, to upload a simple test program to a GD32f103 microcontroller (the ST32f103 clone/copy). The program is a mere test program, meant to turn an LED on. It's written in SMT32CubeIDE, and here, it is based on the ST32f103.

After uploading the compiled .elf file to the GD32f103 using the J-Kink, the LED turns on just fine. However, once I detach the J-Link and reset the processor, the program appears not to boot, because the LED won't turn on.

What can the source of this problem be?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文