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-20240827181447-4.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 7 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,8 +1,15 @@ 1 -{{box cssClass="floatinginfobox" title="**Contents**"}} 1 + 2 + 3 + 4 +**Table of Contents:** 5 + 2 2 {{toc/}} 3 -{{/box}} 4 4 5 5 9 + 10 + 11 + 12 + 6 6 = 1. Introduction = 7 7 8 8 This chapter describes why the password is wrong after upgrading the firmware and what to do about it. ... ... @@ -20,15 +20,14 @@ 20 20 (% style="color:blue" %)**AT command:** 21 21 22 22 * (% style="color:#037691; font-weight:bold" %)**AT+FDR**(%%)** **~/~/ Reset Parameters to Factory Default. 23 -* (% style="color:#037691; font-weight:bold" %)**AT+FDR1**(%%)** **~/~/ Reset parameters to factory default values **except for passwords**.(new)30 +* (% style="color:#037691; font-weight:bold" %)**AT+FDR1**(%%)** **~/~/ Reset parameters to factory default values except for passwords.(new) 24 24 25 - 26 26 = 3. Version Confirmation = 27 27 28 28 29 29 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: 30 30 31 -(% border="1" style="background-color:#f2f2f2; width: 891px" %)37 +(% border="1" style="background-color:#f2f2f2; width:510px" %) 32 32 |(% style="background-color:#4f81bd; color:white; width:210px" %)**General Model**|(% style="background-color:#4f81bd; color:white; width:150px" %)((( 33 33 **Firmware version** 34 34 ... ... @@ -53,30 +53,53 @@ 53 53 ))) 54 54 |(% style="width:210px" %)RS485-NB|(% style="width:150px" %)Before V1.0.8|(% style="width:150px" %)After V1.0.8 (including V1.0.8) 55 55 62 += 4. How to solve = 56 56 57 57 65 +Users can manually query the password via STM32CubeProgrammer. 58 58 59 59 60 - Dueto the addition of the password retention function(AT+FDR1)in the new version, the password address haschanged, and when the user upgrades the firmware before V1.2.0 (including v1.2.0) to theversion after V1.2.1(including V1.2.1),the original password willnotbe used. The user canchoose to erase all contents before upgradingthefirmwareand then burn the new version of the firmware. The user can still usethe original password, but thismethodwill restoreall configurations to the default firmware Settings.68 +== 4.1 UART connection and firmware update methods == 61 61 62 62 63 - The passwordaddressforfirmwarepriortov1.2.0(includingv1.2.0): **0x08019000**71 +Users can query passwords only using the UART interface via the STM32CubeProgrammer. 64 64 65 - Thepassword address forfirmwarefter1.2.1(including V1.2.1): **0x08025D00**73 +See **[[UART Connection>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]]**. 66 66 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]]**. 67 67 68 -So users can also choose to query the password using the STM32 Cube after upgrading the firmware. 69 69 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 + 70 70 * After the firmware upgrade is complete, switch back to the FLASH and reset the node to run the new firmware once. 71 71 * Then place the switch at the ISP and connect to the STM32CubeProgrammer (same as when burning the firmware). 72 -* Click "Device memory", enter **0x08025D00** in "Address", and click "Read" 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. 73 73 74 -[[image:image-2024082 6160842-1.png||height="460" width="1247"]]96 +[[image:image-20240827171901-3.png||height="528" width="912"]] 75 75 76 76 99 +**Procedure for querying the password(new firmware):** 77 77 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. 78 78 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. 79 79 108 +[[image:image-20240827180414-1.png||height="527" width="910"]] 80 80 81 81 82 82 ... ... @@ -83,5 +83,4 @@ 83 83 84 84 85 85 86 - 87 87
- image-20240827171901-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +326.9 KB - Content
- image-20240827173538-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +331.6 KB - Content
- image-20240827173603-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +302.2 KB - Content
- image-20240827175847-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +310.1 KB - Content
- image-20240827180414-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +311.7 KB - Content
- image-20240827181431-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +331.6 KB - Content
- image-20240827181447-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +302.2 KB - Content