Anonymous 發表於 2020-8-17 21:36:30

nRF5340 Flash 錯誤的HEX檔案,無法再次寫入該如何處理

看了官方的說明後,開始練習如何使用nRF5340-PDK
沒想到怎麼也學不會
去官方詢問了之後
官方回復請練習入門的閃爍教程
Download the latest SDK.www.nordicsemi.com/.../DownloadThen navigate to examples -> ble_peripherals -> blinky exampleinfocenter.nordicsemi.com/.../ble_sdk_app_blinky.html
就把SDK下載來燒錄到nRF5340-PDK了components\softdevice\SoftDevice\hex沒想到nRF5340-PDK死掉了,顯示無法再次抹除燒錄了
logs顯示ERROR Error when closing nrfjprog: Error: Error occured when close opened device. Errorcode: CouldNotResetDevice (0x5)
Lowlevel error: CANNOT_CONNECT (fffffff5)

2020-08-17T13:43:25.291Z INFO Model: NRF5340_xxAA_ENGA.
2020-08-17T13:43:25.294Z ERROR Error when getting device info: Error: Error: Error occured when open device long term. Errorcode: CouldNotOpenDevice (0x4)
Lowlevel error: INVALID_OPERATION (fffffffe)

2020-08-17T13:43:25.296Z ERROR Error when closing nrfjprog: Error: Error occured when close opened device. Errorcode: CouldNotOpenDevice (0x4)
Lowlevel error: INVALID_OPERATION (fffffffe)

到官方詢問後官方說下載nRF-Command-Line-Tools/Download並安裝
並到終端機下執行兩條指令就可以了nrfjprog -f NRF53 --coprocessor CP_NETWORK --recover
nrfjprog -f NRF53 --coprocessor CP_APPLICATION --recover

如是nRF52840,抹除加上寫入hex檔案教學網址詳細教學網址nrfjprog -f NRF52 --program file.hex –-chiperase
單純抹除nrfjprog -f NRF52 --recover
訊息回應代碼網址https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf5x_cltools%2FUG%2Fcltools%2Fnrf5x_nrfjprogexe_return_codes.html

文章出處:網頁設計,網站架設 ,網路行銷,網頁優化,SEO - NetYea 網頁設計

頁: [1]
查看完整版本: nRF5340 Flash 錯誤的HEX檔案,無法再次寫入該如何處理