Wiki source code of Why can't the password access AT command after upgrade(-NB)?
Version 2.2 by Mengting Qiu on 2024/08/27 16:33
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="**Contents**"}} | ||
2 | {{toc/}} | ||
3 | {{/box}} | ||
4 | |||
5 | |||
6 | = 1. Introduction = | ||
7 | |||
8 | This chapter describes why the password is wrong after upgrading the firmware and what to do about it. | ||
9 | |||
10 | |||
11 | = 2. Why can't the password access AT command after upgrade(-NB)? = | ||
12 | |||
13 | |||
14 | 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. | ||
15 | |||
16 | 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). | ||
17 | |||
18 | Two different restore factory Settings configurations. | ||
19 | |||
20 | (% style="color:blue" %)**AT command:** | ||
21 | |||
22 | * (% style="color:#037691; font-weight:bold" %)**AT+FDR**(%%)** **~/~/ Reset Parameters to Factory Default. | ||
23 | * (% style="color:#037691; font-weight:bold" %)**AT+FDR1**(%%)** **~/~/ Reset parameters to factory default values **except for passwords**.(new) | ||
24 | |||
25 | |||
26 | = 3. Version Confirmation = | ||
27 | |||
28 | |||
29 | 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: | ||
30 | |||
31 | (% border="1" style="background-color:#f2f2f2; width:891px" %) | ||
32 | |(% style="background-color:#4f81bd; color:white; width:210px" %)**General Model**|(% style="background-color:#4f81bd; color:white; width:150px" %)((( | ||
33 | **Firmware version** | ||
34 | |||
35 | **(without FDR1 function)** | ||
36 | )))|(% style="background-color:#4f81bd; color:white; width:150px" %)((( | ||
37 | **Firmware version** | ||
38 | |||
39 | **(with FDR1 function)** | ||
40 | ))) | ||
41 | |(% style="width:210px" %)((( | ||
42 | 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; | ||
43 | )))|(% style="width:150px" %)Before V1.2.1|(% style="width:150px" %)After V1.2.1 (including V1.2.1) | ||
44 | |(% style="width:210px" %)((( | ||
45 | WL03A-NB, SDI-12-NB; | ||
46 | )))|(% style="width:150px" %)Before V1.0.2|(% style="width:150px" %)((( | ||
47 | After V1.0.8 (including V1.0.2) | ||
48 | ))) | ||
49 | |(% style="width:210px" %)((( | ||
50 | SW3L-NB, PS-NB; | ||
51 | )))|(% style="width:150px" %)Before V1.0.5|(% style="width:150px" %)((( | ||
52 | After V1.0.5 (including V1.0.5) | ||
53 | ))) | ||
54 | |(% style="width:210px" %)RS485-NB|(% style="width:150px" %)Before V1.0.8|(% style="width:150px" %)After V1.0.8 (including V1.0.8) | ||
55 | |||
56 | |||
57 | |||
58 | |||
59 | |||
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. | ||
61 | |||
62 | |||
63 | The password address for firmware prior to v1.2.0(including v1.2.0): **0x08019000** | ||
64 | |||
65 | The password address for firmware after v1.2.1(including V1.2.1): **0x08025D00** | ||
66 | |||
67 | |||
68 | So users can also choose to query the password using the STM32 Cube after upgrading the firmware. | ||
69 | |||
70 | * After the firmware upgrade is complete, switch back to the FLASH and reset the node to run the new firmware once. | ||
71 | * Then place the switch at the ISP and connect to the STM32CubeProgrammer (same as when burning the firmware). | ||
72 | * Click "Device memory", enter **0x08025D00** in "Address", and click "Read" | ||
73 | |||
74 | [[image:image-20240826160842-1.png||height="460" width="1247"]] | ||
75 | |||
76 | |||
77 | |||
78 | |||
79 | |||
80 | |||
81 | |||
82 | |||
83 | |||
84 | |||
85 | |||
86 | |||
87 |