如何使用调试适配器在 BigTreeTech Octopus V1 上刷写 Marlin
为了使用我的 STLinkv2 调试适配器刷写 Bigtreetech Octopus V1,我需要。首先我们需要注意闪存的前 32k 被引导加载程序占用(0x08000000 到 0x08008000)。所以我们需要在地址 0x08008000 处刷写固件。默认情况下,这在 Marlin 中没有正确配置。
打开 ini/stm32f4.ini 并编辑 [env:BIGTREE_OCTOPUS_V1]:
extends = stm32_variant
ini_stm32f4.ini
[env:BIGTREE_OCTOPUS_V1]
platform = ${common_stm32.platform}
extends = stm32_variant
board = marlin_BigTree_Octopus_v1
board_build.offset = 0x8000
board_upload.offset_address = 0x08008000
build_flags = ${stm32_variant.build_flags}
-DSTM32F446_5VX -DUSE_USB_HS_IN_FS
upload_protocol = stlink注意如果你不小心用旧配置刷写了,你绝对需要重新刷写引导加载程序。按照官方文档刷写引导加载程序。我在 Linux 和 Windows 上都使用 STM32CubeProgrammer 2.7.0(2.8.0 不工作)刷写。
[env:BIGTREE_OCTOPUS_V1_USB] 将自动更新,因为它包含 [env:BIGTREE_OCTOPUS_V1]
Check out similar posts by category:
3D Printing, Electronics, STM32
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow