Cov txheej txheem:

TM4C123G LaunchPad Starter Guide: 7 Kauj Ruam
TM4C123G LaunchPad Starter Guide: 7 Kauj Ruam

Video: TM4C123G LaunchPad Starter Guide: 7 Kauj Ruam

Video: TM4C123G LaunchPad Starter Guide: 7 Kauj Ruam
Video: Getting Started with tm4c123g Tiva C Series launchpad using keil | keil embedded tools 2024, Kaum ib hlis
Anonim
TM4C123G LaunchPad Starter Guide
TM4C123G LaunchPad Starter Guide

Raws li kev taw qhia rau kev teeb tsa cov phiaj xwm, txhim kho cov laug cam xws li TM4C123G lub communitypad muab txoj hauv kev yooj yim los teeb tsa kho vajtse kom txaus los pib ua haujlwm. Txawm li cas los xij, txheej txheem teeb tsa kev txhim kho ib puag ncig rau koj pawg thawj coj tuaj yeem ua rau me ntsis. Phau ntawv qhia no lub hom phiaj los pab koj kom nyob ib puag ncig txhua qhov kinks ntawm kev npaj koj lub communitypad npaj mus.

Kauj ruam 1: Unboxing Hardware

Unboxing Hardware
Unboxing Hardware
Unboxing Hardware
Unboxing Hardware

Thaum unboxing koj hom tshiab launchpad, koj yuav pom nws los nrog peb yam.

  • TM4C123G Launchpad Board
  • Me Micro USB rau USB-A Cable
  • Launchpad Quick Start Guide

Rau peb lub hom phiaj, peb yuav tsum teeb tsa lub cuab yeej hom rau "debug" los ntawm kev siv lub dip hloov ntawm lub ces kaum ntawm lub communitypad. Peb tuaj yeem txuas rau hauv peb lub xov tooj usb rau hauv qhov chaw nres nkoj debug tam sim tom ntej no mus rau qhov hloov pauv. Los ntawm no, peb txuas rau lwm qhov kawg rau peb lub khoos phis tawj txhim kho.

Kauj Ruam 2: Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub TivaWare rau C Series

Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub TivaWare rau C Series
Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub TivaWare rau C Series
Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub TivaWare rau C Series
Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub TivaWare rau C Series
Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub TivaWare rau C Series
Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub TivaWare rau C Series
Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub TivaWare rau C Series
Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub TivaWare rau C Series

Tam sim no peb muaj peb lub rooj tsav xwm tso tawm ntawm lub thawv, tam sim no peb yuav tsum tau teeb tsa qee cov software ntawm peb lub khoos phis tawj txhim kho. Cov kauj ruam no sib txawv raws koj lub operating system, yog li saib rau lub platform cov lus qhia tshwj xeeb.

Ua ntej tshaj yog rub tawm TivaWare rau C Series software pob.

Pob software no muaj tag nrho cov ntaub ntawv txhawb nqa thiab lub hauv paus tsim nyog rau kev tsim kho pib.

Rub tawm SW_TM4C-ver#.exe ntawv. Koj yuav tsum ua tus lej TI txhawm rau rub tawm cov ntawv no.

Hauv Windows

Tom qab rub tawm khiav cov ntawv.exe, Kuv pom zoo muab cov ntaub ntawv tso rau hauv daim nplaub tshev uas koj npaj yuav muab koj cov ntaub ntawv txhim kho. Txog qhov no, Kuv tau ua daim nplaub tshev ntawm kuv lub desktop npe "TM4C123G Cov Ntaub Ntawv" thiab hauv nws, kuv ua daim nplaub tshev npe "TivaWare" qhov twg kuv rho tawm cov ntawv.

Hauv Mac/Linux

Ntawm Mac thiab Linux systems, koj tsis tuaj yeem ib txwm khiav cov ntaub ntawv.exe. Txawm li cas los xij, koj tuaj yeem tshem cov ntsiab lus ib yam nkaus. Tom qab muab lub.exe tso rau hauv "TivaWare" nplaub tshev uas koj npaj yuav muab koj cov ntaub ntawv txhim kho, khiav "unzip SW_TM4C-ver#.exe hauv lub davhlau ya nyob twg thiab nws yuav rho tag nrho cov ntaub ntawv rau hauv koj cov npe ua haujlwm.

CEEB TOOM - Nco ntsoov tias koj siv "cd" hais kom teeb tsa koj cov npe ua haujlwm hauv cov ntawv tshwj xeeb rau koj cov ntaub ntawv TivaWare hauv lub davhlau ya nyob twg, lossis koj yuav muaj qhov tsis meej pem ntawm cov ntaub ntawv thiab cov ntawv tais ceev tseg hauv qhov chaw tsis xav tau.

Kauj Ruam 3: (Windows) Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub Stellaris ICDI Tsav Tsheb

(Windows) Rub Tawm Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub Stellaris ICDI Tsav Tsheb
(Windows) Rub Tawm Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub Stellaris ICDI Tsav Tsheb

Stellaris ICDI cov neeg tsav tsheb tso cai rau koj siv cov kab hauv kab debugger txuas rau lub rooj tsavxwm tso tawm kom nyem thiab teeb tsa lub cim tseem ceeb. Hauv Windows, nws yuav tsis lees paub lub debugger kom txog thaum tom qab koj teeb tsa cov tsav tsheb. Txhawm rau ua qhov no, rho cov ntaub ntawv tsav tsheb los ntawm rub tawm zip archive. Los ntawm tus thawj tswj hwm tsav tsheb, koj tuaj yeem hloov kho cov tsav tsheb los ntawm txoj nyem rau ntawm Unellognized Stellaris debugger device thiab tshawb nrhiav cov ntaub ntawv tsav tsheb uas koj tau muab rho tawm.

Kauj Ruam 4: (Xaiv tau) Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub UniFlash Software Flashing Tool

(Tsis teb los tau) Rub tus tsav tsheb thiab lwm yam cuab yeej - Rub tawm UniFlash Software Flashing Tool
(Tsis teb los tau) Rub tus tsav tsheb thiab lwm yam cuab yeej - Rub tawm UniFlash Software Flashing Tool
(Tsis teb los tau) Rub tus tsav tsheb thiab lwm yam cuab yeej - Rub tawm UniFlash Software Flashing Tool
(Tsis teb los tau) Rub tus tsav tsheb thiab lwm yam cuab yeej - Rub tawm UniFlash Software Flashing Tool
(Tsis teb los tau) Rub tus tsav tsheb thiab lwm yam cuab yeej - Rub tawm UniFlash Software Flashing Tool
(Tsis teb los tau) Rub tus tsav tsheb thiab lwm yam cuab yeej - Rub tawm UniFlash Software Flashing Tool

UniFlash tso cai rau koj nyem qhov twb tau sau cov program rau hauv koj lub communitypad.

Qhov no muaj txiaj ntsig tshaj plaws rau pom cov piv txwv muab pom hauv TivaWare/piv txwv. Kev teeb tsa yog ncaj ncaj, raws li lawv muab lub platform tshwj xeeb teeb tsa ntawm lub vev xaib. Tom qab rub tawm lub cuab yeej, koj tuaj yeem qhib nws, pib ntsuas Stellaris Debugger, xaiv tus kheej TM4C123G module koj tab tom siv, thiab tom qab ntawd nyem lub pob pib. Los ntawm qhov ntawd, koj tuaj yeem thauj cov ntaub ntawv.bin los ntawm cov piv txwv thiab nyem rau hauv lub cim xeeb kom pom cov cai hauv kev nqis tes ua.

Kauj Ruam 5: Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Download Code Composer Studio (CCS) Installer

Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub Tus Qauv Composer Studio (CCS) Installer
Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub Tus Qauv Composer Studio (CCS) Installer
Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub Tus Qauv Composer Studio (CCS) Installer
Rub Tawm Cov Tsav Tsheb thiab Lwm Yam Cuab Yeej - Rub Tus Qauv Composer Studio (CCS) Installer

Code Composer Studio yog lub portal uas koj tuaj yeem sau koj tus kheej los ua ke lossis C code thiab nyem nws ncaj qha mus rau lub community launch rau kev debugging.

Cov txheej txheem teeb tsa rau CCS yog qhov yooj yim haum. Raws li ib txwm muaj, koj xaiv qhov chaw nyob ntawm koj lub computer txhawm rau txhim kho software ua ntej. Tom qab ntawd txawm li cas los xij, nws muab cov kev xaiv rau koj los nruab cov khoom sib txuas rau ntau yam khoom sib txawv microcontroller. Koj yuav xav xaiv qhov "TM4C12X ARM" xaiv. Tom qab ntawd, yog tias nws tseem tsis tau xaiv, nco ntsoov qhib lub "Stellaris ICDI Debug Probe."

Tom qab ua tiav kev teeb tsa CCS, peb tuaj yeem teeb tsa CCS kom pib peb thawj txoj haujlwm.

Kauj Ruam 6: CCS - Tsim Peb Thawj Txoj Haujlwm

CCS - Tsim Peb Thawj Txoj Haujlwm
CCS - Tsim Peb Thawj Txoj Haujlwm
CCS - Tsim Peb Thawj Txoj Haujlwm
CCS - Tsim Peb Thawj Txoj Haujlwm
CCS - Tsim Peb Thawj Txoj Haujlwm
CCS - Tsim Peb Thawj Txoj Haujlwm
CCS - Tsim Peb Thawj Txoj Haujlwm
CCS - Tsim Peb Thawj Txoj Haujlwm

Qhov nyuaj tshaj plaws yog nyob rau theem no, tab sis tom qab peb ua tiav, peb qhov chaw txhim kho yuav zoo mus! Cov kauj ruam yuav muab rau hauv kev txiav txim nrog cov duab kom koj thiaj yooj yim ua raws nrog.

1. Xaiv "Tsim txoj haujlwm CCS tshiab."

2. Xaiv lub Tiva C Series board koj tab tom siv, hauv kuv qhov xwm txheej, kuv muaj TM4C123GH6PM. Nco ntsoov xaiv Stellaris Debug interface.

3. Mus rau qhov haujlwm tshiab yam khoom.

4/5. Tsim txoj hauv kev sib txawv rau koj li TivaWare nplaub tshev. Hauv Cov Chaw Pabcuam -> Txuas Cov Khoom Siv, koj yuav tsum ntxiv txoj hauv kev hloov pauv tshiab hu ua TivaWare nrog cov npe kab lus taw qhia rau koj li TivaWare nruab daim nplaub tshev.

6. Tsim kom muaj qhov sib txawv rau koj li TivaWare nplaub tshev. Hauv Kev Tsim -> Hloov pauv, ntxiv cov npe sib txawv rau koj li TivaWare nplaub tshev ib yam.

Ua ke, txoj hauv kev thiab tsim cov kev hloov pauv yuav ua kom yooj yim dua suav nrog cov ntaub ntawv tsim nyog los ntawm TivaWare teeb tsa rau hauv peb txoj haujlwm, thiab tso cai hloov kho TivaWare lub tsev qiv ntawv yam tsis tas yuav rov ua dua peb cov npe kev.

7. Hauv qab -> ARM Compiler -> Xws li Kev Xaiv, ntxiv cov npe npe $ {TivaWare}. Qhov no yuav taw qhia rau txoj hauv kev sib txawv uas koj tau hais ua ntej thiab ua rau nws kom tus neeg sau ntawv tuaj yeem pom qhov tsim nyog suav nrog cov ntaub ntawv.

8/9/10. Qhov kawg tab sis tsis tsawg, peb xav tau ntxiv lub tsev qiv ntawv tsav tsheb los ntawm TivaWare nplaub tshev rau peb txoj haujlwm. Qhov no tuaj yeem ua tiav los ntawm txoj nyem rau ntawm txoj haujlwm thiab xaiv "ntxiv cov ntawv." Nkag mus rau cov npe qhia kom xaiv cov ntaub ntawv driverlib.lib. Tom qab ntawd, xaiv "txuas rau cov ntaub ntawv" txheeb ze rau peb cov npe TivaWare.

Yog tias koj ua qhov no deb, koj ib puag ncig yuav tsum tau teeb tsa kom tiav!

Kauj Ruam 7: Qee Cov Lus Cim Kawg

Txij ntawm no mus, koj yuav tsum muaj kev txhim kho kev ua haujlwm ib puag ncig, nrog rau tag nrho cov tsav tsheb ntxiv thiab pob software uas koj xav tau.

Los ntawm no, txoj hauv kev zoo los kawm paub txog lub hauv paus pib tsim khoom yog sim qee qhov piv txwv piv txwv hauv TivaWare -> piv txwv. Koj tuaj yeem nyem cov ntaub ntawv binary uas tuaj ua ntej sau ua ke rau ntawm lub rooj tsavxwm ncaj qha, lossis ntshuam cov cai rau hauv koj qhov haujlwm txhawm rau txhawm rau ncig.

Kuv vam tias Phau Ntawv Qhia no tau ua pov thawj los pab tau, thiab kuv vam tias koj muaj hmoo hauv koj qhov kev paub nrog lub communitypad!

Cov peev txheej ntxiv:

TM4C123G Cov ntawv xov xwm

Kev Ruaj Ntseg Virtual Nrog Txoj Cai Qhia

Pom zoo: