WRTnode-R2 使用J-Link烧写stm32镜像

来源:互联网 发布:浙江师范大学知行学院 编辑:程序博客网 时间:2024/05/21 15:49

WRTnode-R2 使用J-Link烧写stm32镜像

WRTnode-R2 电源使用5V-500MA或500MA以上都可以

参照WIKI使用Jlink烧写stm32镜像:

WRTnode-R2 指导

在开发前只需要注意点三:

  1. 用户开发的代码中要将中断向量表重定向到0x08001000位置。
  2. 用户代码下载时,要下载到0x08001000位置。
  3. 如果希望实现在线更新固件功能,需要在开发代码中实现MT7688控制stm32复位的功能

WRTnode-R2使用stm32型号:STM32F103T8U6

镜像下载地址:

WRTnode2r_stm32_V1.bin

使用J-Link Commander烧写指令

J-Link>h......J-Link>exec device = STM32F103T8Info: Device "STM32F103T8" selected.......J-Link>loadbin X:\Users\chenjun\Downloads\WRTnode2r_stm32_V1.bin 0x08001000Downloading file [X:\Users\chenjun\Downloads\WRTnode2r_stm32_V1.bin]...Info: J-Link: Flash download: Flash programming performed for 1 range (30720 bytes)Info: J-Link: Flash download: Total time needed: 5.520s (Prepare: 0.706s, Compare: 0.043s, Erase: 0.786s, Program: 3.903s, Verify: 0.006s, Restore: 0.074s)O.K.