Cov txheej txheem:

CH341A Programmer: 8 Kauj Ruam
CH341A Programmer: 8 Kauj Ruam

Video: CH341A Programmer: 8 Kauj Ruam

Video: CH341A Programmer: 8 Kauj Ruam
Video: Прошивка BIOS программатором CH341A #РемонтПодписчику | Deny Simple 2024, Hlis ntuj nqeg
Anonim
CH341A Tus Kws Ua Haujlwm
CH341A Tus Kws Ua Haujlwm

Tsis ntev los no kuv tau yuav CH341A tus khoos phis tawj me. Tus programmer me me yog OK thiab tuaj yeem siv los ua haujlwm rau 24 thiab 24 series chips. Nws yog tus nqi qis heev tab sis muaj txiaj ntsig zoo li kuv tuaj yeem siv nws nyem kuv lub computer BIOS thiab router firmware.

WCH tau ua siab zoo tso nws lub tsev qiv ntawv API thiab C rau cov tsim tawm los siv cov nti. Yog li kuv tau txiav txim siab los tsim kuv tus kheej software software rau tus programmer mini.

Lub software software kuv tau siv CH341DLL.dll lub tsev qiv ntawv muab los ntawm WCH. Nws tuaj yeem siv I2C thiab SPI raws tu qauv ntawm USB.

Txhua tus lej tau sau hauv C# thiab tag nrho C ++ kev hu xov tooj tau muab qhwv los siv los ntawm C#.

Tus tsav tsheb thiab C lub tsev qiv ntawv tuaj yeem rub tawm los ntawm WCH lub vev xaib.

Kauj Ruam 1: Lub Qhov Ncauj Qhov Ncauj

Lub Qhov Ncauj Qhov Ncauj
Lub Qhov Ncauj Qhov Ncauj

Lub qhov rais tseem ceeb muab txhua txoj haujlwm peb yuav tsum tau nyeem thiab teeb tsa cov Flash NOR / EEPROM chips. Koj kuj tseem tuaj yeem siv cov ntawv qhia zaub mov kom ua haujlwm zoo ib yam.

Nws muaj tus tsim HEX tus kws kho mob los kho cov ntaub ntawv lossis cov ntsiab lus nyeem los ntawm lub nti. Piv txwv li, peb tuaj yeem ntxiv MAC code hauv router router ua ntej ua haujlwm rau nws rau lub nti.

Txhua yam muaj feem cuam tshuam (Luam / Muab tshuaj txhuam / Tshawb nrhiav thiab lwm yam) tau muab rau kev kho cov ntaub ntawv binary.

Kauj ruam 2: Xaiv Chip

Xaiv Chip
Xaiv Chip
Xaiv Chip
Xaiv Chip
Xaiv Chip
Xaiv Chip

Koj yuav tsum xaiv lub nti uas koj xav ua haujlwm thawj zaug.

Tsuas yog nyem rau ntawm "Tshawb" khawm txhawm rau tshawb cov nti hauv cov ntaub ntawv nti. Tsuas yog ntaus cov ntsiab lus ntawm koj cov nti thiab txhua qhov sib txuam ua ke yuav raug nthuav tawm hauv kab sib chaws.

Rau 24 series chips (I2C), koj yuav tsum xaiv nws tus kheej vim tias lawv tsis muaj tus lej / kos npe rau peb los txheeb xyuas lawv.

Rau 25 series chips (SPI), koj tuaj yeem siv "Auto Detect" khawm los nyeem tus lej / kos npe ntawm lub nti. Yog tias pom tus lej, lub qhov rai xaiv lub qhov rai yuav tshwm rau koj xaiv nws.

Kauj ruam 3: Nyeem Chip

Nyeem Chip
Nyeem Chip

Siv "Nyeem" khawm los nyeem cov nti uas koj tau xaiv. Cov ntsiab lus ntawm cov nti yuav raug muab tso rau ntawm HEX editor.

Koj tuaj yeem siv lub pob "Txuag" los khaws cov ntsiab lus nti.

Kauj ruam 4: Program Chip

Program Chip
Program Chip

Koj tuaj yeem qhib cov ntawv uas twb muaj lawm los ntawm nyem rau ntawm "Qhib" khawm.

Thaum cov ntawv tau raug xaiv, nws cov ntsiab lus yuav raug thauj mus rau HEX tus khoos phis tawj.

Koj tuaj yeem thov hloov pauv rau cov ntsiab lus ua ntej qhov program nws rau lub nti.

Thaum koj txaus siab nrog cov ntsiab lus rub tawm, nyem rau ntawm "Program" khawm kom ua haujlwm rau lub nti.

Koj kuj tseem tuaj yeem siv khawm "Pib" los teeb tsa lub nti uas yuav txheeb xyuas cov ntaub ntawv tom qab nws tau ua haujlwm.

SPI nti yuav raug laij tawm ua ntej pib lub phiaj xwm pib. Txawm li cas los xij, koj tuaj yeem tshem tawm cov nti ib yam nkaus.

Kauj ruam 5: Txheeb xyuas Chip

Txheeb xyuas Chip
Txheeb xyuas Chip

Thaum koj tau nyeem lossis sau lub nti, Nws tau hais kom rov ua dua los txheeb xyuas qhov nyeem / sau cov ntsiab lus tiv thaiv cov ntsiab lus nkag hauv HEX editor.

Koj tuaj yeem txheeb xyuas cov ntsiab lus los ntawm nyem rau ntawm "Txheeb Xyuas" khawm.

Kauj Ruam 6: Cov Ntaub Ntawv Slicer

Cov Ntaub Ntawv Slicer
Cov Ntaub Ntawv Slicer

Qhov kev zov me nyuam muaj qhov ua haujlwm txiav cov ntawv txiav ua ntu ntu ib feem ntawm cov ntsiab lus fiile / thauj khoom thiab khaws nws rau hauv ib daim ntawv.

Txoj haujlwm no muaj txiaj ntsig zoo thaum ua haujlwm ntawm router firmwares. Piv txwv li, rho tawm 64KB kawg ntawm cov ntaub ntawv los cawm koj tus router cov ntaub ntawv ART.

Kauj ruam 7: File Merger

Cov ntaub ntawv ua ke
Cov ntaub ntawv ua ke

Koj tseem tuaj yeem siv cov ntaub ntawv sib koom ua ke los ua ke ob cov ntaub ntawv rau hauv ib qho.

Qee lub khoos phis tawj BIOS siv ntau daim npav los khaws BIOS thiab EC cov ntaub ntawv. Koj yuav tsum tau ua ke lawv ua ntej koj tuaj yeem ua haujlwm rau nws.

Los ntawm kev siv cov haujlwm ua haujlwm ua ke, koj tuaj yeem muab ob daim ntawv ua ib qho rau txheej txheem ntxiv.

Kauj ruam 8: Rub tawm qhov program

Thov rub tawm qhov program thiab qhov chaws los ntawm kuv Google Drive hauv qab no.

drive.google.com/drive/folders/17xf3EKIPe2Nhx2obE235PBRnkSKaU4uv?usp=sharing

Cov peev txheej tseem tsis tau hais tawm zoo. Kuv yuav tshaj tawm cov lus hais zoo ib yam thaum kuv tau ntxiv cov lus pom no rau kev nyeem tau zoo dua thiab tsis zoo.

Pom zoo: