<
From version < 16.1
edited by Mengting Qiu
on 2024/08/27 18:17
To version < 10.2 >
edited by Mengting Qiu
on 2024/08/27 18:02
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -62,24 +62,33 @@
62 62  = 4. How to solve =
63 63  
64 64  
65 -Users can manually query the password via STM32CubeProgrammer.
65 +== 4.1 Method 1: Erase the chip before upgrading the firmware ==
66 66  
67 67  
68 -== 4.1 UART connection and firmware update methods ==
68 +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 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]].
70 70  
71 -Users can query passwords only using the UART interface via the STM32CubeProgrammer.
72 +Method of erasing full chip flash memory
72 72  
73 -See **[[UART Connection>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]]**.
74 +* Connect to the STM32CubeProgrammer
74 74  
75 -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]]**.
76 +[[image:image-20240827164813-1.png||height="457" width="791"]]
76 76  
78 +* Select Erase full chip flash memory
77 77  
78 -== 4.2 query the password via STM32CubeProgrammer ==
80 +[[image:image-20240827165549-2.png||height="462" width="800"]]
79 79  
80 80  
81 -Users can use the password address to query the password through STM32CubeProgrammer.
83 +After the erase is complete, download the new firmware directly.
82 82  
85 +* 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]]**.
86 +
87 +== 4.2 Method 2: Update the firmware directly and query the password via STM32CubeProgrammer ==
88 +
89 +
90 +If you do not want to erase the chip flash memory, you can also use the password address to query the password through STM32CubeProgrammer.
91 +
83 83  * The password address for old firmware(without FDR1 function) : **0x08019000**
84 84  * The password address for new firmware(with FDR1 function) : **0x08025D00**
85 85  
... ... @@ -88,39 +88,24 @@
88 88  
89 89  **Procedure for querying the password(old firmware):**
90 90  
91 -* After the firmware upgrade is complete, switch back to the **FLASH** and reset the node to **run the firmware once**.
92 -* Then place the switch at the **ISP** and connect to the STM32CubeProgrammer (same as when burning the firmware).
100 +* After the firmware upgrade is complete, switch back to the FLASH and reset the node to run the new firmware once.
101 +* Then place the switch at the ISP and connect to the STM32CubeProgrammer (same as when burning the firmware).
93 93  * Click "Device memory", enter **0x08019000** in "Address", and click "Read"
94 94  * Find the 0x08019000 address field and then read the current password as shown in the screenshot below.
95 95  
96 -[[image:image-20240827171901-3.png||height="528" width="912"]]
105 +[[image:image-20240827171901-3.png||height="562" width="973"]]
97 97  
98 98  
99 99  **Procedure for querying the password(new firmware):**
100 100  
101 -Refer to [[the old and new firmware division>>http://wiki.dragino.com/xwiki/bin/view/Why%20can%27t%20the%20password%20access%20AT%20command%20after%20upgrade%28-NB%29%3F/#H3.A0VersionConfirmation]] above, and run the firmware first after updating the firmware.
110 +Refer to the old and new firmware division above, and run the firmware first after updating the firmware.
102 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 **0x08025D00** in "Address", and click "Read"
106 -* Find the 0x08025D00 address field and then read the current password as shown in the screenshot below.
107 107  
108 -[[image:image-20240827180414-1.png||height="527" width="910"]]
109 109  
110 110  
111 111  
112 -= 5. Special case =
113 113  
114 114  
115 -If the user has never changed the password manually, the user cannot find the valid password through the above two password addresses. In this case, the valid password is still the original password on the node box label (**AT+PIN**).
116 116  
117 -Invalid query screenshot example:
118 118  
119 -[[image:image-20240827181447-4.png||height="519" width="889"]]
120 -
121 -[[image:image-20240827181431-3.png||height="515" width="892"]]
122 -
123 -
124 -
125 -
126 126  
image-20240827180414-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -311.7 KB
Content
image-20240827181431-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -331.6 KB
Content
image-20240827181447-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -302.2 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0