[STM32H5] 【STM32 Nucleo-64 测评】运行\DMA_FLASHToRAM例程,导致错误,救砖过程

[复制链接]
 楼主| yinxiangxv 发表于 2024-8-10 12:33 | 显示全部楼层 |阅读模式
本帖最后由 yinxiangxv 于 2024-8-13 18:39 编辑

9806366b6ec631c9d6.png
2961366b6ec68ac534.png
2516266b6ec6e8d0c1.png
这些错误一直都存在,后来下载了 4281866b6ecaa2e3f8.png
重新更新了驱动
不过这一步依然没什么效果
后来网上参考这个:
You have potentially two options
您可能有两种选择
  • The header on the edge of the board is Serial Wire Debug (SWD). This is used to program and debug the board using a debugger such as an ST-LINK or using a nucleo development board which has an stlink attached to it
    板边缘的接头是串行线调试 (SWD)。这用于使用 ST-LINK 等调试器或使用附有 stlink 的 nucleo 开发板对板进行编程和调试
  • You should be able to program using the built in ST boot loader through the USB. You will need to hold the BOOT0 button, then press the NRST button. This should activate the boot loader. There are many ways to program using the built in ST boot loader but the most user friendly might be to download STM32CubeProgrammer
    您应该能够通过 USB 使用内置 ST 引导加载程序进行编程。您需要按住 BOOT0 按钮,然后按 NRST 按钮。这应该激活引导加载程序。使用内置 ST 引导加载程序进行编程的方法有很多,但最用户友好的可能是下载 STM32CubeProgrammer

我就按照原理图开始查看:

2739066b6ed1a2f808.png
所以我就按照提示,用跳线帽短接了这两个引脚
8420166b6ed4dd2080.png
就是7和8引脚
奇迹出现了,可以下载程序了
串口也可以接受到信息了
1523766b6ed7cd10a9.png
而服务器人 发表于 2024-8-14 14:02 | 显示全部楼层
为什么短接7和8引脚能够解决这个问题呢?
狄克爱老虎油 发表于 2024-8-17 23:48 来自手机 | 显示全部楼层
给boot0电平拉低啊
grfqq325 发表于 2024-8-28 12:02 | 显示全部楼层
当运行 DMA_FLASHToRAM 例程导致错误时,可能是由于多种原因,包括DMA配置错误、Flash和RAM地址不匹配、系统时钟设置问题等。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

50

主题

336

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部