Tsev > Xov xwm > Ntsiab lus

MSVC Emulator

Apr 26, 2019

3.3 MSVC Emulator

MSVC Emulator version ntawm tus txheej txheem pub rau tus qauv yuav tsum khiav tsis muaj hardware. Nws

siv cov kev pabcuam EVE Screen Editor los ntawm FTDI

3.3.1 Kev Kho Mob Ruaj Ntseg

Khiav ntawm lub MSVC Emulator tsis yuav tsum tau muaj kev kho vajtse vim tias qhov screen simulated nyob rau hauv

PC daim ntawv thov.

Txawm li cas los, los ntawm kev siv ib lub tswv yim EVE rau lub PC ntawm FTDI MPSSE interface, nws yuav siv rau

saib ua ntej qhov tshwm sim ntawm cov lus pom tseeb. Piv txwv

 VM800B / C, VM801B / C, VM810C tuaj yeem siv tau nrog USB-SPI adapter

(CM232H lossis VA800A-SPI)

 VM80xBU muaj USB-SPI adapter on-board thiab txuas tau ncaj qha mus rau lub PC

USB chaw nres nkoj.

Thaum siv C232HM, cov kev sib txuas yog tib yam li hauv seem 3.1.

3.3.2 Kev Tsim Nyog Ua Yeeb Yam

Piv txwv qhov project yuav tsum pom kev pom Studio 2012 (los yog Express 2012) los sis tom qab ntawd yuav tsum muab ntsia.

Qhov tseeb FTDI EVE Screen Editor tseem yuav tsum tau ntsia. Qhov no tuaj yeem muab tau los ntawm

http://www.ftdichip.com/Support/Utilities.htm#EVEScreenEditor

3.3.3 Cov Qauv Khwm

Cov ntaub ntawv zauv teb txhawb ntau lub platform. Cov ntaub ntawv tseem ceeb hais txog lub Emulator platform

yog:

 Cov Haujlwm Nplaub tshev -> MSVC_Emulator muaj qhov project thiab cov ntaub ntawv daws (xws li Project ->

MSVC_Emulator -> FT_App_Gradient -> Ft_App_Gradient.sln)

 Folder Src muaj cov c cov ntaub ntawv khaws tseg rau cov ntaub ntawv tseem ceeb thiab kev txhawb zog

 Folder Hdr muaj cov ntaub ntawv header thiab sub-fold MSVC_Emulator muaj ntxiv headers

rau MSVC platform

 Cov ntawv pov thawj muaj cov ntaub ntawv txhawb rau qhov project uas yuav tsum tau muaj (piv txwv li,

bitmap dluab)

Cov ntaub ntawv tag nrho yog muab nyob rau hauv cov ntaub ntawv nyeem uas muaj nyob rau hauv qhov project zip pob.

3.3.4 Them Ntaus Qhov Project

Qhov project qhov project ces yuav qhib rau hauv Studio pom kev. Cov tshuaj yuav ua tau

qhib los ntawm ob-txhaj cov ntaub ntawv .sln (xws li Project -> MSVC_Emulator -> FT_App_Gradient ->

Ft_App_Gradient.sln) los yog los ntawm Cov Ntaub Ntawv -> Qhib Xwb / Kaw hauv qhov Visual Studio software nws tus kheej.

3.3.5 Kho qhov project

Ua ntej qhib qhov demo, xyuas kom tseeb tias qhov project yog teeb tsa rau qhov tseeb FT8xx pawg thawj coj thiab

npo me me nyob hauv FT_Platform.h cov ntaub ntawv uas tau qhib ntawm qhov rais Explorer qhov rai

hauv Studio. Thov saib ntu 4.

3.3.6 Khiav ntawm qhov Project

Los khiav qhov project, xaiv qhov Tso tawm los ntawm txoj kev nco thiab nias qhov chaw Xaus Hauv Zos

Debugger khawm.

image

Lub qhov rais yuav tshwm rau lub PC uas sawv cev rau qhov screen. Txhaj nrog tus nas simulates

nphav ntawm qhov screen. Nco ntsoov tias Screen Editor program nws tus kheej yuav tsis qhib lossis pom tab sis

yuav tsum muab nruab rau hauv kev txiav txim rau cov emulation ua hauj lwm.

image