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, 1 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,7 +27,7 @@ 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 32 32 33 33 = 3. Version Confirmation = ... ... @@ -35,7 +35,7 @@ 35 35 36 36 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: 37 37 38 -(% border="1" style="background-color:#f2f2f2; width: 510px" %)31 +(% border="1" style="background-color:#f2f2f2; width:891px" %) 39 39 |(% style="background-color:#4f81bd; color:white; width:210px" %)**General Model**|(% style="background-color:#4f81bd; color:white; width:150px" %)((( 40 40 **Firmware version** 41 41 ... ... @@ -61,56 +61,27 @@ 61 61 |(% style="width:210px" %)RS485-NB|(% style="width:150px" %)Before V1.0.8|(% style="width:150px" %)After V1.0.8 (including V1.0.8) 62 62 63 63 64 -= 4. How to solve = 65 65 66 66 67 -== 4.1 Method 1: Erase the chip before upgrading the firmware == 68 68 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 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. 71 71 72 -The chipcanonly be erasedby updating the firmwarethroughtheUART TTL interface.See [[UART Connection>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]].63 +The password address for firmware prior to v1.2.0(including v1.2.0): **0x08019000** 73 73 74 - Methodof erasingfullchipflashmemory65 +The password address for firmware after v1.2.1(including V1.2.1): **0x08025D00** 75 75 76 -* Connect to the STM32CubeProgrammer 77 77 78 - [[image:image-20240827164813-1.png||height="457"width="791"]]68 +So users can also choose to query the password using the STM32 Cube after upgrading the firmware. 79 79 80 -* Select Erase full chip flash memory 81 - 82 -[[image:image-20240827165549-2.png||height="462" width="800"]] 83 - 84 - 85 -After the erase is complete, download the new firmware directly. 86 - 87 -* 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]]**. 88 - 89 - 90 -== 4.2 Method 2: Update the firmware directly and query the password via STM32CubeProgrammer == 91 - 92 - 93 -If you do not want to erase the chip flash memory, you can also use the password address to query the password through STM32CubeProgrammer. 94 - 95 -* The password address for old firmware(without FDR1 function) : **0x08019000** 96 -* The password address for new firmware(with FDR1 function) : **0x08025D00** 97 - 98 -(% style="color:red" %)**Notice: The password can only be queried after the firmware is run once.** 99 - 100 - 101 -**Procedure for querying the password(old firmware):** 102 - 103 103 * After the firmware upgrade is complete, switch back to the FLASH and reset the node to run the new firmware once. 104 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. 72 +* Click "Device memory", enter **0x08025D00** in "Address", and click "Read" 107 107 108 -[[image:image-2024082 7171901-3.png||height="562" width="973"]]74 +[[image:image-20240826160842-1.png||height="460" width="1247"]] 109 109 110 110 111 -**Procedure for querying the password(new firmware):** 112 112 113 -Refer to the old and new firmware division above, and run the firmware first after updating the firmware. 114 114 115 115 116 116
- image-20240827171901-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -326.9 KB - Content