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-20240827165549-2.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 5 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,55 +59,28 @@ 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 -== 4.1 Method 1: Erase the chip before upgrading the firmware == 66 66 67 67 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. 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 -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]]. 71 71 72 - Methodof erasingfullchipflashmemory63 +The password address for firmware prior to v1.2.0(including v1.2.0): **0x08019000** 73 73 74 - *Connectto theSTM32CubeProgrammer65 +The password address for firmware after v1.2.1(including V1.2.1): **0x08025D00** 75 75 76 -[[image:image-20240827164813-1.png||height="457" width="791"]] 77 77 78 - *SelectErasefullchipflash memory68 +So users can also choose to query the password using the STM32 Cube after upgrading the firmware. 79 79 80 -[[image:image-20240827165549-2.png||height="462" width="800"]] 81 - 82 - 83 -After the erase is complete, download the new firmware directly. 84 - 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 - 92 -* The password address for old firmware(without FDR1 function) : **0x08019000** 93 -* The password address for new firmware(with FDR1 function) : **0x08025D00** 94 - 95 -(% style="color:red" %)**Notice: The password can only be queried after the firmware is run once.** 96 - 97 - 98 -**Procedure for querying the password(old firmware):** 99 - 100 100 * After the firmware upgrade is complete, switch back to the FLASH and reset the node to run the new firmware once. 101 101 * Then place the switch at the ISP and connect to the STM32CubeProgrammer (same as when burning the firmware). 102 -* Click "Device memory", enter **0x08019000** in "Address", and click "Read" 103 -* Find the 0x08019000 address field and then read the current password as shown in the screenshot below. 72 +* Click "Device memory", enter **0x08025D00** in "Address", and click "Read" 104 104 105 -[[image:image-2024082 7171901-3.png||height="562" width="973"]]74 +[[image:image-20240826160842-1.png||height="460" width="1247"]] 106 106 107 107 108 -**Procedure for querying the password(new firmware):** 109 109 110 -Refer to the old and new firmware division above, and run the firmware first after updating the firmware. 111 111 112 112 113 113
- image-20240827171901-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -326.9 KB - Content
- 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