1. 程式人生 > >JLINK除錯STM32L063筆記

JLINK除錯STM32L063筆記

JLINK除錯筆記@TOC

#J-LINK開發STM32L063

開發環境Keil_v5;版本資訊如下:

IDE-Version: μVision V5.20.0.0 Copyright © 2016 ARM Ltd and ARM Germany GmbH. All rights reserved.

License Information: l b keb LIC=HF8NN-YGUNJ-SEDH0-BF9B9-L32TY-G2MVF

Tool Version Numbers: Toolchain: MDK-ARM Professional Version: 5.20 Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin C Compiler: Armcc.exe V5.06 update 2 (build 183) Assembler: Armasm.exe V5.06 update 2 (build 183) Linker/Locator: ArmLink.exe V5.06 update 2 (build 183) Library Manager: ArmAr.exe V5.06 update 2 (build 183) Hex Converter: FromElf.exe V5.06 update 2 (build 183) CPU DLL: SARMCM3.DLL V5.20 Dialog DLL: DARMCM1.DLL V1.14.0.0 Target DLL: Segger\JL2CM3.dll V2.99.20.0 Dialog DLL: TARMCM1.DLL V1.10.0.0

硬體環境為STM32L063R8T6;採用 J-LINK除錯,下載需注意,必須選擇在這裡插入圖片描述 必須選擇USE,且選擇J-LINK/J-TRACE Cortex;

否則顯示編譯輸出視窗輸出: DLL: V5.12e, compiled Apr 29 2016 15:03:58 Firmware: J-Link V9 compiled Mar 29 2016 18:46:37 Hardware: V9.40 S/N : 59408669 Feature(s) : RDI, GDB, FlashDL, FlashBP, JFlash

Error: Flash Download failed - Target DLL has been cancelled Flash Load finished at 14:16:54