Ibiranga ibicuruzwa
.
Kugeza ubu, jlink / umunuko ku isoko irasahurwa, kandi hari ibibazo byemewe n'amategeko mukoresha. Iyo jlink imwe ikoreshwa hamwe na IDE nka MDK, izahita yibisambo kandi ntishobora gukoreshwa mubisanzwe, kandi verisiyo zimwe za jlink zifite ikibazo cyo gutakaza software nyuma yo gukoresha mugihe runaka. Iyo porogaramu imaze kubura, ugomba kugarura intoki.
.
. JTAG nigipimo mpuzamahanga cya IEEE 1149. Intego isanzwe yigana chip mubisanzwe ARM Cortex-M ikurikirana, itamenyekanisha JTAG, kandi iki gicuruzwa cyerekana interineti ya JTAG, ikwiranye nogutezimbere no gukemura imirimo munsi yizindi mbuga.
.
. Hano hazaba USB flash ya USB, gusa ukurura software nshya (hex cyangwa bin dosiye) muri USB flash ya USB kugirango urangize kuzamura software. Kuberako DAPLink ishyira mubikorwa bootloader ifite imikorere ya U disiki, irashobora kurangiza byoroshye kuzamura software. Niba ufite ibicuruzwa bishingiye kuri STM32 mubikorwa byinshi, kandi ibicuruzwa birashobora gukenera kuzamurwa nyuma, code ya boot loader muri DAPLink irakwiriye cyane ko ubyerekana, umukiriya ntabwo akeneye gushiraho IDE igoye cyangwa ibikoresho byo gutwika kugirango arangize kuzamura, gusa kurura kuri U disiki irashobora kurangiza byoroshye kuzamura ibicuruzwa byawe.
Uburyo bwo gukoresha insinga
1.Huza abigana kubibaho
Igishushanyo cya SWD
Igishushanyo cya JTAG
Ikibazo
1. Gutwika kunanirwa, byerekana AMAKOSA ya RDDI-DAP, wabikemura ute?
Igisubizo: Kuberako simulator yaka yihuta, ibimenyetso hagati yumurongo wa dupont bizabyara umuhanda, nyamuneka gerageza guhindura umurongo mugufi wa Dupont, cyangwa umurongo wa Dupont uhujwe cyane, urashobora kandi kugerageza kugabanya umuvuduko wo gutwika, mubisanzwe birashobora gukemuka bisanzwe.
2.Ni iki kigomba gukorwa niba intego idashobora kumenyekana, byerekana kunanirwa kw'itumanaho?
Igisubizo: Nyamuneka banza ugenzure niba insinga yibikoresho ari byo (GND, CLK, 10,3V3), hanyuma urebe niba amashanyarazi yatanzwe nintego yintego ari ibisanzwe. Niba ikibaho cyerekanwe gikoreshwa na simulator, kubera ko umusaruro mwinshi wa USB ari 500mA gusa, nyamuneka reba niba amashanyarazi yatanzwe nintego adahagije.
3. Ni ubuhe bwoko bwa chip debugging gutwika bushyigikiwe na CMSIS DAP / DAPLink?
Igisubizo: Ubusanzwe gukoresha ibintu ni gahunda no gukuramo MCU. Mubyukuri, intangiriro yuruhererekane rwa Cortex-M irashobora gukoresha DAP mugutwika no gukemura, chip zisanzwe nka STM32 yuzuye ya chipi, GD32 yuzuye, nRF51 / 52 nibindi.
4. Nshobora gukoresha DAP yigana mugukemura munsi ya Linux?
Igisubizo: Munsi ya Linux, urashobora gukoresha openocd na DAP yigana mugukemura. openocd niyo izwi cyane kandi ikomeye ifungura isoko yambere kwisi. Urashobora kandi gukoresha openocd munsi ya windows, wanditse iboneza ryimyandikire iboneye irashobora kugera kumurongo wa chip, gutwika nibindi bikorwa.
Kurasa ibicuruzwa