Enter a message name below to show all available translations.
Found one translation.
|Name||Current message text|
|h English (en)||root@OpenWrt:~# opkg install xxxx|
==Updating the firmware of stm32==
In the stm32 of [[WRTnode2R/en]], we preset a bootloader in the first 4K of stm32 so we could update firmware of stm32 online in mt7688, which provide by a 7688 tools named flash-stm32.<br />
Using flash-stm32 like:<br />
root@OpenWrt:~# flash-stm32 URL
URL argument could be the file url from internet or the local file.<br />
We recommended to update the new firmware：
root@OpenWrt:~# flash-stm32 http://d.wrtnode.com/2R-stm32/WRTnode2r_stm32_V1.bin
As shown, stm32 updating finished, after that stm32 will reboot automatically.<br /><br />
If user want to do stm32 development by yourself, use tools like stlink to deleop/debug/reflash. Here's what we must know:<br />
#User-developed code to redirect to the interrupt vector table location 0x08001000.
#User Codes, the position to be downloaded to 0x08001000.
#If the user completely abandoned the code we provide, but also want to support online update firmware, you need to realize 7688 control stm32 reset function in the user code.(In we provide in the code, has achieved the reset command, so based on the code we provide for development, do not need to complete this step)<br />