Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Summary of commands commonly used in JLINK v8

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces "command summary commonly used in JLINK v8". In daily operation, I believe many people have doubts about command summary commonly used in JLINK v8. The editor consulted all kinds of data and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "command summary commonly used in JLINK v8". Next, please follow the editor to study!

JLink V8 common command set

Connect to the target board

Usb

Restart the target board

R

Stop cpu running (halt)

H halt

Load a file to a device

Loadbin

Download device data to a local file

Savebin, (hex) savebin aaa.bin 0 2000

Skip to code segment address execution

G

Single-step execution

S

Set the value of the pc register

SetPC

Set breakpoint (soft, hard)

SetBP [S/H]

Read the register value, which needs to be in the halt state

Regs

Write register

Wreg

The register name can be

R0-R15SP=R13PC=R15XPSRMSPPSPRAZCFBPAPSREPSRIPSRPRIMASKBASEPRIFAULTMASKCONTROLBASEPRI_MAIAPSREAPSRIEPSRFPSCRFPS0-FPS31CycleCnt

Read memory

Mem, mem 20002000 20mem8 20002000 20mem16 20002000 20mem32 20002000 20

Write memory

W4, w4 20002000 11223344 55667788w1 20002000 11223344 55 66w2 20002000 11223344 5566

Set the transfer rate of jtag

Speed | auto | adaptivespeed 2000kspeed auto at this point, the study on "summary of commands commonly used in JLINK v8" is over. I hope I can solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report