下載程式的時候老是提示“Could not stop Cortex-M device! Please check the JTAG cable”,點完確定后,出現另一個提示”Error: Flash Download failed - Target DLL has been cancelled“.而且JLINK還一直閃紅燈,不知道為什么。
JLink info:
------------
DLL: V4.62 , compiled Jan 25 2013 15:19:47
Firmware: J-Link ARM V8 compiled Jul 17 2014 12:31:18
Hardware: V8.00
S/N : 304427288
Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFULL
* JLink Info: TotalIRLen = 9, IRPrint = 0x0011
* JLink Info: TotalIRLen = 9, IRPrint = 0x0011
* JLink Info: Found Cortex-M3 r1p1, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
ROMTableAddr = 0xE00FF003
* JLink Info: Found Cortex-M3 r1p1, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
**JLink Warning: S_RESET_ST not cleared
**JLink Warning: CPU did not halt after reset.
* JLink Info: Found Cortex-M3 r1p1, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
**JLink Warning: CPU could not be halted
* JLink Info: Core did not halt after reset, trying to disable WDT.
**JLink Warning: CPU did not halt after reset.
* JLink Info: Found Cortex-M3 r1p1, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
**JLink Warning: CPU could not be halted
**JLink Warning: CPU did not halt after reset.
* JLink Info: Found Cortex-M3 r1p1, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
**JLink Warning: CPU could not be halted
**JLink Warning: S_RESET_ST not cleared
**JLink Warning: CPU could not be halted
試了好多方法了,都不行,請走過路過的大神幫忙看看!
uj5u.com熱心網友回復:
檢查一下jlink是否接好,mdk5魔術棒-debug里是否選擇了jlink,settings里flashdownload里是否勾選了flashuj5u.com熱心網友回復:
這些都設定好了,沒有問題的
uj5u.com熱心網友回復:
對Option中的c/c++中進行1級程式優化選擇、勾選“Optimize for time”,、勾選“One ELF Section per Function”;勾選Option中ASM的“Thumb Mode再不行)。解決是這樣解決的,出問題的時候都是設定了就換jlink吧c/c++和asm.uj5u.com熱心網友回復:
對Option中的c/c++中進行1級程式優化選擇、勾選“Optimize for time”、勾選“One ELF Section per Function”;勾選O再不行rtex-M3包含了Thumb指令集的呢?)。解決是這樣解決的,出問題的時候都是設定了c就換jlink吧/c++和asm.
uj5u.com熱心網友回復:
我服了這個CSDN打字功,能正常寫都能把順序整亂
uj5u.com熱心網友回復:
打開JFlash 直接燒HEX檔案uj5u.com熱心網友回復:
朋友你好,還是用mdk燒錄嗎?步驟能說詳細一點嗎,我才接觸這方面知識
uj5u.com熱心網友回復:
還是貼圖比較清楚,設定圖,和燒寫圖轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/106937.html
標籤:單片機/工控
上一篇:嵌入式linux中,wpa_supplicant 行程從S變成D狀態,導致無法連接wifi了
下一篇:風力擺控制
