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-20240827173538-5.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,32 +1,123 @@ 1 -{{box cssClass="floatinginfobox" title="**Contents**"}} 1 + 2 + 3 + 4 +**Table of Contents:** 5 + 2 2 {{toc/}} 3 -{{/box}} 4 4 5 -= Paragraph 1 = 6 6 7 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 8 8 9 -== Sub-paragraph == 10 10 11 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 12 12 13 -== Sub-paragraph == 14 14 15 - Loremipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit essecillum dolore eu fugiatnulla pariatur. Excepteur sintoccaecat cupidatatnonproident, sunt in culpa qui officia deserunt mollit anim id est laborum.13 += 1. Introduction = 16 16 17 - ===Sub-sub paragraph===15 +This chapter describes why the password is wrong after upgrading the firmware and what to do about it. 18 18 19 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 20 20 18 += 2. Why can't the password access AT command after upgrade(-NB)? = 21 21 22 -= Paragraph 2 = 23 23 24 - Lorem ipsum dolorsit amet,consecteturadipiscingelit,sed do eiusmod temporcididuntut laboreetdoloremagnaaliqua. Utnim adminim veniam,quis nostrudexercitation ullamco laboris nisiut aliquip ex eacommodo consequat.Duisaute iruredolorin reprehenderitin voluptatevelitessecillum doloreeufugiatnullapariatur.Excepteursintccaecatcupidatatnon proident,suntin culpa quiofficiadeseruntmollitanimidestlaborum.21 +Because the new version of -NB firmware has updated the factory reset function, users can choose to restore all parameters to factory Settings, or keep the password to restore the rest of the parameters to factory Settings. 25 25 26 - ==Sub-paragraph==23 +This update changes the password address of the firmware, so the password will be invalid after the customer upgrades from the old version of firmware (without FDR1 function) to the new version of firmware (with FDR1 function). 27 27 28 - Loremipsumdolor sit amet, consecteturadipiscingelit, sed do eiusmod tempor incididuntut laboreet dolore magna aliqua. Ut enim ad minim veniam, quisnostrud exercitation ullamco laboris nisi ut aliquipexeaommodo consequat. Duis aute irure dolorin reprehenderitin voluptate velit essecillum dolore eufugiat nulla pariatur. Excepteur sintoccaecat cupidatatnon proident,sunt in culpa qui officia deserunt mollit anim id est laborum.25 +Two different restore factory Settings configurations. 29 29 30 - ==Sub-paragraph==27 +(% style="color:blue" %)**AT command:** 31 31 32 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 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) 31 + 32 + 33 += 3. Version Confirmation = 34 + 35 + 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 + 38 +(% border="1" style="background-color:#f2f2f2; width:510px" %) 39 +|(% style="background-color:#4f81bd; color:white; width:210px" %)**General Model**|(% style="background-color:#4f81bd; color:white; width:150px" %)((( 40 +**Firmware version** 41 + 42 +**(without FDR1 function)** 43 +)))|(% style="background-color:#4f81bd; color:white; width:150px" %)((( 44 +**Firmware version** 45 + 46 +**(with FDR1 function)** 47 +))) 48 +|(% style="width:210px" %)((( 49 +CPL03-NB, S31-NB, SN50V3-NB, TS01-NB, D20-NB, DS03A-NB, DDS04-NB, DDS45-NB, DDS20-NB, DDS75-NB, LDS12-NB, LDS40-NB, LMS01-NB, MDS120-NB, MDS200-NB, SE01-NB, SPH01-NB; 50 +)))|(% style="width:150px" %)Before V1.2.1|(% style="width:150px" %)After V1.2.1 (including V1.2.1) 51 +|(% style="width:210px" %)((( 52 +WL03A-NB, SDI-12-NB; 53 +)))|(% style="width:150px" %)Before V1.0.2|(% style="width:150px" %)((( 54 +After V1.0.8 (including V1.0.2) 55 +))) 56 +|(% style="width:210px" %)((( 57 +SW3L-NB, PS-NB; 58 +)))|(% style="width:150px" %)Before V1.0.5|(% style="width:150px" %)((( 59 +After V1.0.5 (including V1.0.5) 60 +))) 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 + 63 + 64 += 4. How to solve = 65 + 66 + 67 +== 4.1 Method 1: Erase the chip before upgrading the firmware == 68 + 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 + 72 +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]]. 73 + 74 +Method of erasing full chip flash memory 75 + 76 +* Connect to the STM32CubeProgrammer 77 + 78 +[[image:image-20240827164813-1.png||height="457" width="791"]] 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 +* 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 + 108 +[[image:image-20240827171901-3.png||height="562" width="973"]] 109 + 110 + 111 +**Procedure for querying the password(new firmware):** 112 + 113 +Refer to the old and new firmware division above, and run the firmware first after updating the firmware. 114 + 115 + 116 + 117 + 118 + 119 + 120 + 121 + 122 + 123 +
- image-20240827164813-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +303.6 KB - Content
- image-20240827165549-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +373.6 KB - Content
- 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