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-20240827171901-3.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 6 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,15 +1,8 @@ 1 - 2 - 3 - 4 -**Table of Contents:** 5 - 1 +{{box cssClass="floatinginfobox" title="**Contents**"}} 6 6 {{toc/}} 3 +{{/box}} 7 7 8 8 9 - 10 - 11 - 12 - 13 13 = 1. Introduction = 14 14 15 15 This chapter describes why the password is wrong after upgrading the firmware and what to do about it. ... ... @@ -27,14 +27,15 @@ 27 27 (% style="color:blue" %)**AT command:** 28 28 29 29 * (% style="color:#037691; font-weight:bold" %)**AT+FDR**(%%)** **~/~/ Reset Parameters to Factory Default. 30 -* (% style="color:#037691; font-weight:bold" %)**AT+FDR1**(%%)** **~/~/ Reset parameters to factory default values except for passwords.(new) 23 +* (% style="color:#037691; font-weight:bold" %)**AT+FDR1**(%%)** **~/~/ Reset parameters to factory default values **except for passwords**.(new) 31 31 25 + 32 32 = 3. Version Confirmation = 33 33 34 34 35 35 We are now dividing the **old firmware**(without FDR1 function) with the **new firmware**(with FDR1 function) by whether it contains FDR1 functionality. Please refer to the table: 36 36 37 -(% border="1" style="background-color:#f2f2f2; width: 510px" %)31 +(% border="1" style="background-color:#f2f2f2; width:891px" %) 38 38 |(% style="background-color:#4f81bd; color:white; width:210px" %)**General Model**|(% style="background-color:#4f81bd; color:white; width:150px" %)((( 39 39 **Firmware version** 40 40 ... ... @@ -59,66 +59,33 @@ 59 59 ))) 60 60 |(% style="width:210px" %)RS485-NB|(% style="width:150px" %)Before V1.0.8|(% style="width:150px" %)After V1.0.8 (including V1.0.8) 61 61 62 -= 4. How to solve = 63 63 64 64 65 -Users can manually query the password via STM32CubeProgrammer. 66 66 67 67 68 - ==4.1 UART connection and firmwareupdate methods==60 +Due to the addition of the password retention function(AT+FDR1) in the new version, the password address has changed, and when the user upgrades the firmware before V1.2.0 (including v1.2.0) to the version after V1.2.1(including V1.2.1), the original password will not be used. 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 70 71 - Userscan querypasswords onlyusing the UART interfaceviatheSTM32CubeProgrammer.63 +The password address for firmware prior to v1.2.0(including v1.2.0): **0x08019000** 72 72 73 - See **[[UARTConnection>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]]**.65 +The password address for firmware after v1.2.1(including V1.2.1): **0x08025D00** 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 76 68 +So users can also choose to query the password using the STM32 Cube after upgrading the firmware. 77 77 78 -== 4.2 query the password via STM32CubeProgrammer == 79 - 80 - 81 -Users can use the password address to query the password through STM32CubeProgrammer. 82 - 83 -* The password address for old firmware(without FDR1 function) : **0x08019000** 84 -* The password address for new firmware(with FDR1 function) : **0x08025D00** 85 - 86 -(% style="color:red" %)**Notice: The password can only be queried after the firmware is run once.** 87 - 88 - 89 -**Procedure for querying the password(old firmware):** 90 - 91 91 * After the firmware upgrade is complete, switch back to the FLASH and reset the node to run the new firmware once. 92 92 * Then place the switch at the ISP and connect to the STM32CubeProgrammer (same as when burning the firmware). 93 -* Click "Device memory", enter **0x08019000** in "Address", and click "Read" 94 -* Find the 0x08019000 address field and then read the current password as shown in the screenshot below. 95 - 96 -[[image:image-20240827171901-3.png||height="528" width="912"]] 97 - 98 - 99 -**Procedure for querying the password(new firmware):** 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. 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 105 * Click "Device memory", enter **0x08025D00** in "Address", and click "Read" 106 -* Find the 0x08025D00 address field and then read the current password as shown in the screenshot below. 107 107 108 -[[image:image-2024082 7180414-1.png||height="527" width="910"]]74 +[[image:image-20240826160842-1.png||height="460" width="1247"]] 109 109 110 110 111 111 112 -= 5. Special case = 113 113 114 114 115 -If the user has never changed the password manually, the user cannot find the valid password through the above two password addresses. In this case, the valid password is still the original password on the node box label (**AT+PIN**). 116 116 117 -Invalid query screenshot example: 118 118 119 -[[image:image-20240827181447-4.png||height="519" width="889"]] 120 120 121 -[[image:image-20240827181431-3.png||height="515" width="892"]] 122 122 123 123 124 124
- image-20240827173538-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -331.6 KB - Content
- image-20240827173603-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -302.2 KB - Content
- image-20240827175847-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -310.1 KB - Content
- image-20240827180414-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -311.7 KB - Content
- image-20240827181431-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -331.6 KB - Content
- image-20240827181447-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -302.2 KB - Content