你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

【STM32N6570-DK评测】开发环境及LED debug

[复制链接]
KingChen2025 发布时间:2025-2-18 15:04

【STM32N6570-DK评测】CubeIDE开发环境及LED

拿到STM32N6570-DK使用CubeIDE开发。搭建开发如下。

使用CbueIDE更新开发库STM32Cube_FW_N6_V1.0.0。

打开CbueIDE, 在Project Explorer框右键“Import...".

Import.png

然后"Next"如下:

Import-2.png

找到下载工具包下的文件STM32Cube_FW_N6_V1.0.0\Projects\STM32N6570-DK\Examples\GPIO\GPIO_IOToggle\STM32CubeIDE导入到项目。如下图:

LEDDemo.png

接着右键“clean Project",再”Build Project"。

把STM32N6570-DK开发板BOOT1拨到1-3。然后插入CN6 “STLINK V3EC”接口,连接到PC。

然后右键debug GPIO LED。debug run后,可以发现LED1闪烁。

如果需要下载到外部flash上启动。需要以下步骤。

Next, this program can be run in boot from flash mode. This is done by following the instructions below:

  • Resort to CubeProgrammer to add a header to the generated binary Project.bin with the following command
    • STM32_SigningTool_CLI.exe -bin Project.bin -nk -of 0x80000000 -t fsbl -o Project-trusted.bin -hv 2.3 -dump Project-trusted.bin
    • The resulting binary is Project-trusted.bin.
  • Next, in resorting again to CubeProgrammer, load the binary and its header (Project-trusted.bin) in the board external Flash at address 0x7000’0000.
  • Set the boot mode in boot from external Flash (BOOT0 switch position is 1-2 and BOOT1 switch position is 1-2).
  • Press the reset button. The code then executes in boot from external Flash mode.

使用CubeProgrammer。

STM32N6570-DKOTPCubeProgramm-2.png

注意:Boot模式,RAM启动使用:BOOT0(1-2)和BOOT1(1-3);外部flash启动使用:BOOT0(1-2)和BOOT1(1-2)

收藏 评论0 发布时间:2025-2-18 15:04

举报

0个回答

所属标签

相似分享

官网相关资源

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32N6 AI生态系统
STM32MCU,MPU高性能GUI
ST ACEPACK电源模块
意法半导体生物传感器
STM32Cube扩展软件包
关注我们
st-img 微信公众号
st-img 手机版