Hide last authors
Mengting Qiu 7.1 1
2
3
4 **Table of Contents:**
5
Mengting Qiu 1.1 6 {{toc/}}
7
8
Mengting Qiu 7.1 9
10
11
12
Mengting Qiu 2.2 13 = 1. Introduction =
Mengting Qiu 1.1 14
Mengting Qiu 2.2 15 This chapter describes why the password is wrong after upgrading the firmware and what to do about it.
Mengting Qiu 1.1 16
Mengting Qiu 2.2 17
18 = 2. Why can't the password access AT command after upgrade(-NB)? =
19
20
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.
22
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).
24
25 Two different restore factory Settings configurations.
26
27 (% style="color:blue" %)**AT command:**
28
29 * (% style="color:#037691; font-weight:bold" %)**AT+FDR**(%%)**       **~/~/ Reset Parameters to Factory Default.
Mengting Qiu 7.1 30 * (% style="color:#037691; font-weight:bold" %)**AT+FDR1**(%%)**     **~/~/ Reset parameters to factory default values except for passwords.(new)
Mengting Qiu 2.2 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
Mengting Qiu 7.1 38 (% border="1" style="background-color:#f2f2f2; width:510px" %)
Mengting Qiu 2.2 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
Mengting Qiu 7.1 64 = 4. How to solve =
Mengting Qiu 2.2 65
66
Mengting Qiu 7.1 67 == 4.1 Method 1: Erase the chip before upgrading the firmware ==
Mengting Qiu 2.2 68
Mengting Qiu 1.1 69
Mengting Qiu 7.1 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.
Mengting Qiu 1.1 71
Mengting Qiu 7.1 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]].
Mengting Qiu 1.1 73
Mengting Qiu 7.1 74 Method of erasing full chip flash memory
Mengting Qiu 1.1 75
Mengting Qiu 7.1 76 * Connect to the STM32CubeProgrammer
Mengting Qiu 1.1 77
Mengting Qiu 7.1 78 [[image:image-20240827164813-1.png||height="457" width="791"]]
Mengting Qiu 1.1 79
Mengting Qiu 7.1 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
Mengting Qiu 2.1 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).
Mengting Qiu 7.1 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.
Mengting Qiu 1.1 107
Mengting Qiu 7.1 108 [[image:image-20240827171901-3.png||height="562" width="973"]]
Mengting Qiu 1.1 109
110
Mengting Qiu 7.1 111 **Procedure for querying the password(new firmware):**
Mengting Qiu 1.1 112
Mengting Qiu 7.1 113 Refer to the old and new firmware division above, and run the firmware first after updating the firmware.
Mengting Qiu 1.1 114
Mengting Qiu 2.1 115
116
117
118
119
120
121
122
Mengting Qiu 1.2 123
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0