共用方式為


復原系統軟體

復原是使用特殊的修復開機機取代裝置上的系統軟體,而非雲端更新的程式。 復原程式會清除 Flash 的內容、取代系統軟體,以及重新開機裝置。 因此,應用程式軟體和組態資料,包括 Wi-Fi 認證,都會從裝置上清除。 復原之後,您必須恢復認證 (如果有) ,並重新將裝置連線到網際網路。

重要

只有在 Microsoft 指示下,才執行復原程式。 只有當雲端更新無法使用時,才需要復原。

若要復原系統軟體:

  1. 確定您的裝置已透過 USB 連接到您的電腦。

  2. 執行 azsphere 裝置復原 命令:

    azsphere device recover
    

    雖然影像數目可能會有所不同,但結果應該如下所示。

    azsphere device recover
    
    Starting device recovery. Please note that this may take up to 10 minutes.
    Board found. Sending recovery bootloader.
    Erasing flash.
    Sending images.
    Sending image 1 of 16.
    Sending image 2 of 16.
    Sending image 3 of 16.
    ...
    Sending image 16 of 16.
    Finished writing images; rebooting board.
    Device ID: 6a06x8x8cxdxa8ed4223a267656cxd59x99a0ced693a2446884a236d925aaaex9axdd0550438595658addc66723x32decx5494x7a20d067c6c8x77a6020c9a46
       Device recovered successfully.
    Command completed successfully in 00:02:39.9343076.
    
  3. 若要繼續使用您的裝置進行開發,請執行 azsphere 裝置啟用開發 ,以重新啟用應用程式側載和偵錯。

  4. 若要將裝置重新連線到 Wi-Fi,請更換裝置上的 Wi-Fi 認證