Cov txheej txheem:

Yuav Ua Li Cas Txhim Kho Lub Firmware ntawm Universal PCB: 4 Cov Kauj Ruam
Yuav Ua Li Cas Txhim Kho Lub Firmware ntawm Universal PCB: 4 Cov Kauj Ruam

Video: Yuav Ua Li Cas Txhim Kho Lub Firmware ntawm Universal PCB: 4 Cov Kauj Ruam

Video: Yuav Ua Li Cas Txhim Kho Lub Firmware ntawm Universal PCB: 4 Cov Kauj Ruam
Video: Технический разговор TUDev с профессором Борой Озкан - Финтех и будущее финансов 2024, Hlis ntuj nqeg
Anonim
Yuav Ua Li Cas Hloov Kho Firmware ntawm Universal PCB
Yuav Ua Li Cas Hloov Kho Firmware ntawm Universal PCB

Universal PCB (UPCB kom luv) txoj haujlwm tau pib tso cai rau ib tus tswj kev ua si, tshwj xeeb yog sib ntaus sib tua, ntawm ntau qhov sib txawv ntawm cov khoom siv tau. Cov ntaub ntawv hais txog txoj haujlwm tuaj yeem pom ntawm cov xov hauv qab no hauv Shoryuken.com cov rooj sib tham: Shoryuken.com Ib qho ntawm cov yam ntxwv loj tshaj plaws ntawm UPCB yog qhov tseeb tias nws tuaj yeem hloov kho tau. Kev tshaj tawm tseem yuav tshwm sim los daws teeb meem kev sib haum xeeb, txhim kho kev txhawb nqa rau cov kev txhawb nqa tam sim no, thiab suav nrog kev txhawb nqa rau cov tshiab thiab yav tom ntej consoles. Cov Lus Qhia no yuav taug koj txoj hauv kev los ntawm kev ua kom koj lub UPCB nrog cov ntaub ntawv tshiab. HEX cov ntaub ntawv. Qhov no tau tawg ua ob qho kev teeb tsa: teeb tsa tus tsav tsheb rau USB Bootloader, thiab cov txheej txheem ua kom pom tseeb. Yog tias koj twb tau teeb tsa tus tsav tsheb ib zaug, koj yuav tsis xav tau ntxiv ntawm qhov system ntawd; mus tom ntej thiab dhia mus rau Kauj Ruam 3 kom pib ua rau koj lub UPCB. Cov lus qhia no xav tias: 1. Koj muaj kev sib sau ua tiav, sim, thiab ua haujlwm UPCB. 2. Koj muaj kev sib dhos ua tiav, kuaj, thiab ua haujlwm 'Khawm Xaiv USB' UPCB cable. Saib Kauj Ruam 2 kom paub ntau ntxiv. 3. Koj tau rub tawm cov software UPCB tsis ntev los no, thiab rho tawm nws qhov chaw ntawm koj li kab ke uas koj tuaj yeem nkag tau yooj yim. Nco tseg rau cov neeg siv Vista thiab ntsib qhov ua yuam kev 997: Tsuas yog ceeb toom sai rau txhua tus neeg sim ua haujlwm PDFSUSB program hauv Vista thiab tau txais 'yuam kev 997', sim cov hauv qab no: Txoj nyem rau pdfsusb, cov khoom, sib xws, teeb tsa rau XP lossis 2000 lossis yog li Kuj xyuas 'khiav ua tus thawj coj' yog tias koj tsis tau xiam UAC Hauv tus thawj tswj ntaus ntawv, xaiv PIC18F4550 Tsev Neeg Ntaus Ntawv, nyem rau cov khoom, tswj lub zog, tshem tawm 'tso cai rau lub khoos phis tawj kaw lub cuab yeej no' nyem, khiav ua admin [yog tias muaj] Yuav tsum daws qhov teeb meem. Raws li pom ntawm

Kauj Ruam 1: Lo Lus Hais Txog UPCB Cable

Ib Lo Lus Hais Txog UPCB Cable
Ib Lo Lus Hais Txog UPCB Cable

Kev hloov kho lub firmware tau ua tiav ntawm USB 'Bootloader'. Yog li, peb yuav tsum txuas UPCB rau koj lub khoos phis tawj ntawm USB. Txoj hauv kev zoo tshaj los ua qhov no yog kom muaj 'Khawm Xaiv USB' UPCB cable. Phau ntawv qhia no yuav xav tias koj muaj ib qho. Yog tias koj tsis ua, saib Cov Lus Qhia Yuav ua li cas tsim USB cable rau Universal PCB rau cov lus qhia ua tiav rau ua ib qho. Txuas koj 'Khawm Xaiv USB' UPCB cable rau koj tus tswj. Txhawm rau nkag mus rau hom bootloader, koj ntsaws rau hauv USB cable rau koj lub khoos phis tawj nrog Pib thiab Xaiv cov nyees khawm tuav tseg. Tom qab lub khoos phis tawj paub tias koj tau ntsaws nws, koj tuaj yeem tso ntawm Start thiab Xaiv.

Kauj ruam 2: Txhim kho Bootloader Driver

Txhim kho Bootloader Driver
Txhim kho Bootloader Driver
Txhim kho Bootloader Driver
Txhim kho Bootloader Driver
Txhim kho Bootloader Driver
Txhim kho Bootloader Driver
Txhim kho Bootloader Driver
Txhim kho Bootloader Driver

Cov kauj ruam no tsuas yog yuav tsum tau ua tiav ib zaug rau ib qho system. Thaum koj tau teeb tsa tus tsav tsheb kom raug, tus neeg tsav tsheb yuav raug thauj khoom ncaj qha, thiab UPCB yuav raug lees paub los ntawm software bootloader.

Txog tam sim no, peb tau txuas Khawm Xaiv USB cable rau koj tus tswj, thiab txuas nws rau hauv koj lub PC nrog Pib thiab Xaiv cov nyees khawm tuav cia kom nkag mus rau hom bootloader. Koj kuj yuav tsum muaj daim ntawv theej ntawm UPCB software rho tawm qhov chaw ntawm koj lub cev, suav nrog. HEX cov ntaub ntawv koj xav hloov kho rau. Yog tias lub bootloader tsav tsheb tsis tau teeb tsa ua ntej, koj yuav pom lub npe nrov 'Pom Tshiab Kho Vajtse' lub qhov rais hauv qab no. Cov kauj ruam yog ncaj heev-rau pem hauv ntej. Tom qab qhov 'Pom Tshiab Kho Vajtse' lub qhov rai tau tshwm sim ib ntus, koj yuav raug nthuav tawm nrog Pom Pom Kho Vajtse Tshiab. Mus tom ntej thiab nias 'Tom ntej'. Tus kws pab tswv yim yuav nug seb koj puas xav 'Tshawb nrhiav tus tsav tsheb tsim nyog …' lossis 'Qhia cov npe..' Muab tus cim rau ntawm ib sab 'Tshawb nrhiav tus tsav tsheb tsim nyog …', thiab nias 'Tom ntej'. Tam sim no tus kws pab tswv yim yuav nug cov chaw los tshawb nrhiav tus tsav tsheb. Uncheck txhua lub thawv NTSEEG rau 'Qhia qhov chaw nyob'. Nias 'Tom ntej'. Tom ntej no, koj yuav muaj lub qhov rai tso cai rau koj xaiv qhov twg koj xav kom lub PC nrhiav tus tsav tsheb. Nyem 'Xauj'. Hauv qhov 'Nrhiav Cov Ntaub Ntawv' qhov rai uas tshwm, mus rau qhov chaw UPCB cov ntaub ntawv. Ib zaug hauv UPCB phau ntawv teev npe, nkag mus rau 'MCHPUSB Driver' subdirectory, thiab tom qab ntawd nkag mus rau hauv 'Release' directory. Koj yuav pom ib daim ntawv muaj npe 'mchpusb.inf'. Xaiv cov ntawv ntawd, thiab nyem 'Qhib'. Qhov 'Luam cov chaw tsim khoom cov ntaub ntawv los ntawm' lub thawv tam sim no yuav qhia tag nrho txoj hauv kev mus rau 'UPCB / MCHPUSB Driver / Release' directory. Nyem 'Ok'. Qhov Pom Tus Khoos Phis Tawm Tshiab yuav qhia tias nws pom tus tsav tsheb nyob hauv qhov chaw tseeb uas peb tau hais kom nws saib. Nyem 'Tom ntej'. Nplooj ntawv kawg ntawm tus kws qhia qhia tias 'Windows tau ua tiav kev teeb tsa software rau lub cuab yeej no.' Nyem 'Ua tiav'. Tam sim no kev teeb tsa tus neeg tsav tsheb tau ua tiav. Yog tias koj xav txheeb xyuas tias txhua yam zoo, mus rau hauv koj li Device Manager. Koj yuav pom ib lub cuab yeej nyob hauv 'Lwm yam khoom siv' nqe lus hu ua 'PIC 18F4550 Family Device'. Yog tias koj pom qhov no, tom qab ntawd tus neeg tsav tsheb raug teeb tsa ua haujlwm. Peb tau npaj los khiav lub bootloader software.

Kauj ruam 3: Siv Bootloader Software

Siv Bootloader Software
Siv Bootloader Software
Siv Bootloader Software
Siv Bootloader Software
Siv Bootloader Software
Siv Bootloader Software

Txog tam sim no, koj yog UPCB yuav tsum txuas nrog PC hauv hom bootloader, lub bootloader tsav tsheb tau teeb tsa, thiab UPCB software tau muab rho tawm ib qho ntawm koj lub cev, suav nrog. HEX cov ntaub ntawv koj xav hloov kho rau. Tam sim no peb yuav siv lub software bootloader los ua qhov flashing tiag tiag. Koj yuav pom cov ntawv qhia hauv qab UPCB hu ua 'Pdfsusb'. Sab hauv cov npe ntawd yog qhov ua tiav hu ua 'PDFSUSB. EXE'. Ob-nias kom khiav nws. Qhov 'PICDEM (TM) FS USB Demo Tool' qhov rai yuav tshwm sim. Nyem rau ntawm qhov nco-down hauv qab 'Xaiv PICDEM FS USB Board'; yuav tsum muaj kev nkag mus rau 'PICDEM FS USB 0' lossis zoo sib xws. Nov yog UPCB peb xav hloov kho, yog li xaiv nws. Yog tias qhov kev poob qis no tsis muaj dab tsi, tom qab ntawd tau muaj teeb meem. Txawm hais tias koj tsis nyob hauv hom bootloader, UPCB tsis tau ntsaws, lossis tus tsav tsheb tsis tau teeb tsa kom raug. Thov daws qhov no kom txog thaum nkag nkag tshwm hauv qhov nco-down. Thaum peb tau xaiv qhov nkag mus rau peb UPCB, tag nrho cov nyees khawm uas yav tas los grey yuav dhau los ua haujlwm. Tam sim no peb yuav siv sijhawm me ntsis los ua cov thaub qab ntawm cov firmware tam sim no ntawm UPCB. Yog tias muaj teeb meem nrog lub khoos phis tawj tshiab, koj ib txwm muaj qhov kev xaiv rov qab mus rau nws tam sim no uas koj twb muaj lawm. Xaiv lub khawm cim 'Nyeem Ntawv Ntaus Ntawv'. Qhov no yuav nyeem tag nrho cov phiaj xwm tam sim no ntawm UPCB rau hauv bootloader software Tom qab lub cuab yeej tau nyeem, cov lus saum toj kawg nkaus yuav yog 'MESSAGE - Nyeem Ua tiav'. Xaiv lub khawm cim 'Txuag rau Hex File'. Koj yuav raug nug rau lub npe thiab chaw nyob kom txuag tau lub firmware tam sim no raws li. Nws tsis muaj teeb meem qhov twg koj khaws nws, lossis koj lub npe. Tsuas yog xyuas kom koj tuaj yeem pom nws yog tias koj xav tau txo qis. Thaum koj tau xaiv koj lub npe thiab chaw nyob, nyem 'Txuag'. Tam sim no koj cov thaub qab tiav lawm, yog li cia peb hloov kho dua. Xaiv lub pob cim 'Load HEX File'. Lub qhov rai yuav tshwm sim nug koj kom xaiv cov ntawv. HEX. Nkag mus rau '_output' cov npe ntawm UPCB; Tsis yog '_output' subdirectory ntawm Boot directory, tsuas yog 'UPCB / _output'. Xaiv cov ntaub ntawv. HEX koj xav hloov kho rau. Yog tias muaj kev xaiv teeb tsa sib txawv, lawv yuav pom nrog sib txawv. HEX cov ntaub ntawv. Nrhiav ib qho uas zoo tshaj qhov koj teeb tsa, thiab nyem 'Qhib' Thaum twg. HEX cov ntaub ntawv tau raug thauj mus los, koj ib txwm tau txais lus ceeb toom txog Kev Kho Cov Ntaub Ntawv. Qhov no yog qhov qub. Tsuas yog nyem 'Yog'. Cov ntaub ntawv. HEX raug thauj khoom thiab pom nyob hauv ntu hauv qab ntawm lub qhov rais. Nyem rau ntawm 'Program Device' khawm kom sau cov firmware rau UPCB. Thov ua siab ntev thaum tus programmer khiav. Tag nrho cov txheej txheem yuav tsum siv sijhawm tsawg dua 60 vib nas this, tab sis tsis txhob txhawj xeeb yog tias nws siv sijhawm ntev dua. Yog tias cov nyees khawm tseem ceeb yog greyed tawm, ces peb paub tias nws tseem ua haujlwm. Yog tias txhua yam mus tau zoo, koj yuav pom cov lus ua tiav zoo li cov lus tshwm hauv daim duab kawg. Tsuas yog tawm ntawm PICDEM Demo Tool, tshem koj lub USB cable, thiab koj tau ua tiav. Nco tseg rau cov neeg siv Windows XP thiab tom qab: Nws zoo nkaus li tias PFSUSB. EXE zoo li tsis ua haujlwm zoo ntawm qee lub khoos phis tawj yam tsis teeb tsa hom sib xws rau nws. Yog tias 'PIC 18F4550 Tsev Neeg Ntaus Ntawv' tau tshwm sim hauv tus thawj tswj ntaus ntawv, tab sis tsis tshwm nyob rau hauv lub npov nco hauv PDFSUSB. EXE, tom qab ntawd koj yuav tsum ua kom muaj hom sib xws. Tawm ntawm PDFSUSB. EXE, nyem rau ntawm PDFSUSB. EXE cov ntaub ntawv thiab xaiv 'Properties'. Hauv qab Kev Sib Koom tab, tso daim tshev rau hauv 'Khiav qhov program no sib xws ntau dua' lub thawv, thiab xaiv ib qho ntawm cov txheej txheem ua haujlwm uas teev tseg. Nyem Ok, thiab tom qab ntawd sim cov theem no dua. Thaum tau teeb tsa hom kev sib raug zoo, koj yuav tsum tsis txhob ua nws dua ntawm cov kab ke ntawd.

Kauj ruam 4: Ua tiav

Ua tiav
Ua tiav

Tam sim no koj UPCB tau hloov kho nrog. HEX cov ntaub ntawv koj xaiv. Saib los ntawm cov ntawv tso tawm thiab cov cai los saib seb cov yam ntxwv thiab hloov pauv tau ntxiv, tom qab ntawd rov qab mus rau koj qhov kev ua si.

Pom zoo: