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:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -62,33 +62,24 @@ 62 62 = 4. How to solve = 63 63 64 64 65 - == 4.1 Method1:Erase thechipbefore upgradingthefirmware==65 +Users can manually query the password via STM32CubeProgrammer. 66 66 67 67 68 -T heusercan choose to erase all contents before upgradingthe firmware andthen burn the new version ofthe firmware.Theuser can still usethe original password, but thismethodwill restoreall configurations to the default firmware Settings.68 +== 4.1 UART connection and firmware update methods == 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]]. 71 71 72 - Methodoferasingfull chipflashmemory71 +Users can query passwords only using the UART interface via the STM32CubeProgrammer. 73 73 74 -* Connect totheM32CubeProgrammer73 +See **[[UART Connection>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]]**. 75 75 76 - [[image:image-20240827164813-1.png||height="457"width="791"]]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]]**. 77 77 78 -* Select Erase full chip flash memory 79 79 80 - [[image:image-20240827165549-2.png||height="462"width="800"]]78 +== 4.2 query the password via STM32CubeProgrammer == 81 81 82 82 83 - After theeraseiscomplete,download thenew firmwaredirectly.81 +Users can use the password address to query the password through STM32CubeProgrammer. 84 84 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 - 92 92 * The password address for old firmware(without FDR1 function) : **0x08019000** 93 93 * The password address for new firmware(with FDR1 function) : **0x08025D00** 94 94 ... ... @@ -102,19 +102,34 @@ 102 102 * Click "Device memory", enter **0x08019000** in "Address", and click "Read" 103 103 * Find the 0x08019000 address field and then read the current password as shown in the screenshot below. 104 104 105 -[[image:image-20240827171901-3.png||height="5 62" width="973"]]96 +[[image:image-20240827171901-3.png||height="528" width="912"]] 106 106 107 107 108 108 **Procedure for querying the password(new firmware):** 109 109 110 -Refer to the old and new firmware division above, and run the firmware first after updating the firmware. 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. 111 111 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. 112 112 108 +[[image:image-20240827180414-1.png||height="527" width="910"]] 113 113 114 114 115 115 112 += 5. Special case = 116 116 117 117 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**). 118 118 117 +Invalid query screenshot example: 119 119 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 + 120 120
- image-20240827181431-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +331.6 KB - Content
- image-20240827181447-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +302.2 KB - Content