Izici zomkhiqizo
(1) I-PCB ye-Hardware schematic ingumthombo ovuleke ngokuphelele, umthombo ovulekile wesofthiwe, ayikho ingozi ye-copyright.
Okwamanje, i-jlink/stlink emakethe idliwe, futhi kunezinkinga zomthetho ekusetshenzisweni. Uma enye i-jlink isetshenziswa ne-IDE efana ne-MDK, izosheshisa ukuphanga futhi ayikwazi ukusetshenziswa ngokujwayelekile, futhi ezinye izinguqulo ze-jlink zinenkinga yokulahlekelwa i-firmware ngemva kokusebenzisa isikhathi esithile. Uma i-firmware ilahlekile, udinga ukubuyisela isofthiwe ngesandla.
(2)Isixhumi esibonakalayo esiholayo se-SWD, sisekela isofthiwe yokulungisa iphutha ye-PC evamile, okuhlanganisa i-keil, i-IAR, i-openocd, isekela ukulanda kwe-SwD, isinyathelo esisodwa sokulungisa iphutha.
(3)Isixhumi esibonakalayo se-JTAG, esine-openocd singasekela ukulungiswa kwamaphutha cishe kwawo wonke ama-chip e-SoC emhlabeni wonke, njengochungechunge lwe-ARM Cortex-A, i-DSP, i-FPGA, i-MIPS, njll., ngoba iphrothokholi ye-SWD iyiphrothokholi yangasese kuphela echazwa yi-ARM, futhi I-JTAG yizinga lamazwe ngamazwe le-IEEE 1149. I-chip evamile yokulingisa i-chip ngokuvamile iwuchungechunge lwe-ARM Cortex-M, olungathuli isixhumi esibonakalayo se-JTAG, futhi lo mkhiqizo wethula isixhumi esibonakalayo se-JTAG, esilungele ukuthi uthuthukise futhi ulungise umsebenzi ngaphansi kwezinye izinkundla.
(4)Sekela imbobo yesiriyeli ebonakalayo (okungukuthi, ingasetshenziswa njengesilingisi noma njengethuluzi lembobo yochungechunge, esikhundleni se-ch340, cp2102, p12303)
(5)I-DAPLink isekela ukuthuthukiswa kwe-firmware ye-USB flash drive, vele ugaye i-nRST, uyixhume ku-DAPLink, i-PC. Kuzoba ne-USB flash drive, vele udonse i-firmware entsha (i-hex noma ifayela le-bin) ku-USB flash drive ukuze uqedele ukuthuthukiswa kwe-firmware. Ngenxa yokuthi i-DAPLink isebenzisa i-bootloader enomsebenzi we-U disk, ingaqedela kalula ukuthuthukiswa kwe-firmware. Uma unomkhiqizo osuselwe ku-STM32 ekukhiqizweni ngobuningi, futhi umkhiqizo ungase udinge ukuthuthukiswa ngokuhamba kwesikhathi, ikhodi yesilayishi sebhuthi ku-DAPLink ifaneleka kakhulu ukuba ireferensi yakho, iklayenti alidingi ukufaka i-IDE eyinkimbinkimbi noma amathuluzi okushisa ukuze aqedele thuthukisa, vele udonsele ku-U disk ungaqedela ngokunenzuzo ukuthuthukiswa komkhiqizo wakho.
Inqubo yokufaka izintambo
1.Xhuma i-emulator ebhodini eliqondiwe
Umdwebo wezintambo ze-SWD
Umdwebo wezintambo we-JTAG
Q&A
1. Ukwehluleka okushisayo, okubonisa IPHUTHA le-RDDI-DAP, indlela yokuxazulula?
A: Ngenxa yokuthi isivinini esivuthayo se-simulator siyashesha, isignali phakathi komugqa we-dupont izokhiqiza i-crosstalk, sicela uzame ukushintsha umugqa omfushane we-Dupont, noma umugqa we-Dupont oxhumeke eduze, ungaphinda uzame ukunciphisa ijubane elivuthayo, ngokuvamile lingaxazululwa. ngokujwayelekile.
2. Yini okufanele yenziwe uma ilitshe lingabonwa, okubonisa ukwehluleka ukuxhumana?
A: Sicela uqale uhlole ukuthi ikhebuli yehadiwe ilungile yini (GND,CLK,10,3V3), bese uhlola ukuthi ukunikezwa kwamandla kwebhodi okuqondiwe kujwayelekile. Uma ibhodi eliqondiwe linikwa amandla yisifanisi, njengoba umthamo omkhulu wamanje we-USB ungu-500mA kuphela, sicela uhlole ukuthi ukunikezwa kwamandla kwebhodi okuqondiwe akonele yini.
3. Yikuphi ukushiswa kwe-chip debugging okusekelwa yi-CMSIS DAP/DAPLink?
A: Isimo sokusetshenziswa esijwayelekile ukuhlela nokulungisa iphutha le-MCU. Ngokwethiyori, i-kernel yochungechunge lwe-Cortex-M ingasebenzisa i-DAP ukushisa nokulungisa iphutha, ama-chips ajwayelekile njenge-STM32 uchungechunge olugcwele lwama-chips, uchungechunge olugcwele lwe-GD32, uchungechunge lwe-nRF51/52 njalonjalo.
4. Ngingakwazi ukusebenzisa i-emulator ye-DAP ukulungisa iphutha ngaphansi kwe-Linux?
A: Ngaphansi kwe-Linux, ungasebenzisa i-openocd ne-DAP emulator ukulungisa iphutha. i-openocd iyi-debugger yomthombo ovulekile edume kakhulu futhi enamandla emhlabeni. Ungasebenzisa futhi i-openocd ngaphansi kwamafasitela, ngokubhala isikripthi sokumisa esifanele singafeza ukulungisa iphutha kwe-chip, ukushiswa nokunye ukusebenza.
Ukudubula umkhiqizo