念慈菴

CKLINK is suitable for Hailink W800 series microcontrollers

 
Overview

CDK uses CKLINK to download and debug SDK

Hardware wiring

CK-LINK

W806

3V3

3V3

RST

RST (reset pin)

TCK

CLK(PA1)

TMS

DAT(PA4)

GND

GND

  1. Open Flash->Flash Management… (the default project has been configured, no configuration is required)

C:UserswanghfAppDataLocalTemp1603879407(1).png

  1. Click Add to add the Flash device driver elf file

C:UserswanghfAppDataLocalTemp1603879511(1).png

  1. Select the W800_Flash_Tool.elf file and click to open (the default project has been configured, no configuration is required)

C:UserswanghfAppDataLocalTemp1603879653(1).png

  1. Open Flash->Configure Flash Tool…

C:UserswanghfAppDataLocalTemp1603879748(1).png

Click Add to add w800-flash. Other options are in the red box in the picture. It is recommended to select Erase Sectors for the erasure option.

C:UserswanghfAppDataLocalTemp1603879866(1).png

  1. Click Flash->Download or the Flash Download button on the toolbar to download the firmware to Flash

C:UserswanghfAppDataLocalTemp1603880055(1).png

  1. To add a breakpoint, select a line of code and click the Toggle Breakpoint button on the toolbar

C:UserswanghfAppDataLocalTemp1603880489(1).png

  1. Right-click on the red breakpoint before the line of code and select Edit Breakpoint

C:UserswanghfAppDataLocalTemp1603880602(1).png

  1. Set to HardPoint

C:UserswanghfAppDataLocalTemp1603880687(1).png

  1. Click Debug->Start/Stop Debugger

C:UserswanghfAppDataLocalTemp1603880750(1).png

  1. Start debugging

C:UsersASUSAppDataLocalTempWeChat Files8c3cea3768062cce6855d86207cc021.png

 

common problem:

1. The program does not stop at the breakpoint after running.

The breakpoint needs to be set as a hardware breakpoint. Right-click and select Add Hard breakpoint, or see Chapters 7 and 8 of this document.

2. The progress bar does not move after clicking DownLoad.

e3e37a2b30753847ea07afc9b8db856

When you need to print CCC on the ROM or secondary boot or serial port 0, download the firmware (press and hold the boot button, then press the reset button, and then click the download button)

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-18 16:54:30

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号