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 = 3. Version Confirmation =
33
34
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
Mengting Qiu 7.1 37 (% border="1" style="background-color:#f2f2f2; width:510px" %)
Mengting Qiu 2.2 38 |(% style="background-color:#4f81bd; color:white; width:210px" %)**General Model**|(% style="background-color:#4f81bd; color:white; width:150px" %)(((
39 **Firmware version**
40
41 **(without FDR1 function)**
42 )))|(% style="background-color:#4f81bd; color:white; width:150px" %)(((
43 **Firmware version**
44
45 **(with FDR1 function)**
46 )))
47 |(% style="width:210px" %)(((
48 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;
49 )))|(% style="width:150px" %)Before V1.2.1|(% style="width:150px" %)After V1.2.1 (including V1.2.1)
50 |(% style="width:210px" %)(((
51 WL03A-NB, SDI-12-NB;
52 )))|(% style="width:150px" %)Before V1.0.2|(% style="width:150px" %)(((
53 After V1.0.8 (including V1.0.2)
54 )))
55 |(% style="width:210px" %)(((
56 SW3L-NB, PS-NB;
57 )))|(% style="width:150px" %)Before V1.0.5|(% style="width:150px" %)(((
58 After V1.0.5 (including V1.0.5)
59 )))
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
Mengting Qiu 7.1 62 = 4. How to solve =
Mengting Qiu 2.2 63
64
Mengting Qiu 12.1 65 Users can manually query the password via STM32CubeProgrammer.
Mengting Qiu 2.2 66
Mengting Qiu 1.1 67
Mengting Qiu 12.1 68 == 4.1 UART connection and firmware update methods ==
Mengting Qiu 1.1 69
70
Mengting Qiu 12.1 71 Users can query passwords only using the UART interface via the STM32CubeProgrammer.
Mengting Qiu 1.1 72
Mengting Qiu 12.1 73 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 74
75
Mengting Qiu 12.1 76 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]]**.
Mengting Qiu 7.1 77
78
Mengting Qiu 12.1 79 == 4.2 query the password via STM32CubeProgrammer ==
Mengting Qiu 7.1 80
81
Mengting Qiu 12.1 82 Users can use the password address to query the password through STM32CubeProgrammer.
Mengting Qiu 7.1 83
84 * The password address for old firmware(without FDR1 function) : **0x08019000**
85 * The password address for new firmware(with FDR1 function) : **0x08025D00**
86
87 (% style="color:red" %)**Notice: The password can only be queried after the firmware is run once.**
88
89
90 **Procedure for querying the password(old firmware):**
91
Mengting Qiu 2.1 92 * After the firmware upgrade is complete, switch back to the FLASH and reset the node to run the new firmware once.
93 * Then place the switch at the ISP and connect to the STM32CubeProgrammer (same as when burning the firmware).
Mengting Qiu 7.1 94 * Click "Device memory", enter **0x08019000** in "Address", and click "Read"
95 * Find the 0x08019000 address field and then read the current password as shown in the screenshot below.
Mengting Qiu 1.1 96
Mengting Qiu 12.1 97 [[image:image-20240827171901-3.png||height="528" width="912"]]
Mengting Qiu 1.1 98
99
Mengting Qiu 7.1 100 **Procedure for querying the password(new firmware):**
Mengting Qiu 1.1 101
Mengting Qiu 7.1 102 Refer to the old and new firmware division above, and run the firmware first after updating the firmware.
Mengting Qiu 1.1 103
Mengting Qiu 12.1 104 * After the firmware upgrade is complete, switch back to the FLASH and reset the node to run the new firmware once.
105 * Then place the switch at the ISP and connect to the STM32CubeProgrammer (same as when burning the firmware).
106 * Click "Device memory", enter **0x08019000** in "Address", and click "Read"
107 * Find the 0x08019000 address field and then read the current password as shown in the screenshot below.
Mengting Qiu 2.1 108
109
Mengting Qiu 12.1 110 [[image:image-20240827180414-1.png||height="527" width="910"]]
Mengting Qiu 2.1 111
112
113
114
115
116
Mengting Qiu 1.2 117
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0