Changes for page Why can't the password access AT command after upgrade(-NB)?
Last modified by Mengting Qiu on 2024/08/27 18:17
Change comment:
Uploaded new attachment "image-20240827180414-1.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -62,24 +62,33 @@ 62 62 = 4. How to solve = 63 63 64 64 65 - Userscanmanually querythe passwordvia STM32CubeProgrammer.65 +== 4.1 Method 1: Erase the chip before upgrading the firmware == 66 66 67 67 68 - == 4.1 UART connection and firmware update methods==68 +The user can choose to erase all contents before upgrading the firmware and then burn the new version of the firmware. The user can still use the original password, but this method will restore all configurations to the default firmware Settings. 69 69 70 +The chip can only be erased by updating the firmware through the UART TTL interface. See [[UART Connection>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]]. 70 70 71 - Userscanquery passwords only usingthe UART interfaceviatheSTM32CubeProgrammer.72 +Method of erasing full chip flash memory 72 72 73 - See**[[UARTConnection>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]]**.74 +* Connect to the STM32CubeProgrammer 74 74 75 - update firmware through UART TTL interface:** [[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART_Access_for_NB_ST_BC660K-GL/#H4.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]**.76 +[[image:image-20240827164813-1.png||height="457" width="791"]] 76 76 78 +* Select Erase full chip flash memory 77 77 78 - == 4.2 query the password viaSTM32CubeProgrammer==80 +[[image:image-20240827165549-2.png||height="462" width="800"]] 79 79 80 80 81 - Userscan usethepasswordaddresstoquerythepassword throughSTM32CubeProgrammer.83 +After the erase is complete, download the new firmware directly. 82 82 85 +* update firmware through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART_Access_for_NB_ST_BC660K-GL/#H4.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]**. 86 + 87 +== 4.2 Method 2: Update the firmware directly and query the password via STM32CubeProgrammer == 88 + 89 + 90 +If you do not want to erase the chip flash memory, you can also use the password address to query the password through STM32CubeProgrammer. 91 + 83 83 * The password address for old firmware(without FDR1 function) : **0x08019000** 84 84 * The password address for new firmware(with FDR1 function) : **0x08025D00** 85 85 ... ... @@ -93,19 +93,14 @@ 93 93 * Click "Device memory", enter **0x08019000** in "Address", and click "Read" 94 94 * Find the 0x08019000 address field and then read the current password as shown in the screenshot below. 95 95 96 -[[image:image-20240827171901-3.png||height="52 8" width="912"]]105 +[[image:image-20240827171901-3.png||height="562" width="973"]] 97 97 98 98 99 99 **Procedure for querying the password(new firmware):** 100 100 101 -Refer to [[the old and new firmware division>>http://wiki.dragino.com/xwiki/bin/view/Why%20can%27t%20the%20password%20access%20AT%20command%20after%20upgrade%28-NB%29%3F/#H3.A0VersionConfirmation]]above, and run the firmware first after updating the firmware.110 +Refer to the old and new firmware division above, and run the firmware first after updating the firmware. 102 102 103 -* After the firmware upgrade is complete, switch back to the FLASH and reset the node to run the new firmware once. 104 -* Then place the switch at the ISP and connect to the STM32CubeProgrammer (same as when burning the firmware). 105 -* Click "Device memory", enter **0x08019000** in "Address", and click "Read" 106 -* Find the 0x08019000 address field and then read the current password as shown in the screenshot below. 107 107 108 -[[image:image-20240827180414-1.png||height="527" width="910"]] 109 109 110 110 111 111 ... ... @@ -112,4 +112,5 @@ 112 112 113 113 114 114 119 + 115 115