freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

外文翻譯--單片機(jī)在編程電路中的應(yīng)用(存儲版)

2025-07-01 07:46上一頁面

下一頁面
  

【正文】 except that the data field is empty. This packet type has special meaning to the programmer, as explained below. Any packet which contains an invalid record type, record length or checksum is invalid. Program data accumulated during the processing of an invalid packet is discarded. The programmer sends a NAK to the transmitter to signal reception of an invalid packet and resumes polling for a valid packet header. Receipt of the first valid data packet causes the programmer to interrupt the application controller. The controller responds to the interrupt by abandoning execution of its usual program and displaying a message indicating that programming is taking place. If this is the first valid data packet since power was applied or an endoffile packet was received, the programmer asserts the control signals necessary to erase the program memory in the application controller. The programmer then places the controller in programming mode. The first and subsequent valid data packets are dissected as they are received and the data which they contain is programmed into the application controller at the address indicated in the packet load address field. After programming, the data is read back from the controller and verified against the received packet data. Successful verification indicates that programming was successful, causing the programmer to send ACK to the transmitter. The programmer then resumes polling for a valid packet header, subject to the thirty second reset delay. If programming fails, the programmer sends CAN to signal the transmitter to abort the file transfer. The modem drops the line and the programmer returns to sleep, waiting for the next call. The application controller is left in programming mode, preventing it from executing the inplete or invalid program which it contains. It is important to note that invalid packets are NEVER programmed into the application controller. To do so would require that the program memory in the controller be pletely erased before the error could be corrected, causing the nonrecoverable loss of all previous program data. Upon receipt of an endoffile packet, the programmer returns its control outputs to the inactive, power on state, allowing the application controller to begin execution of the new program. The programmer then resumes polling for a valid packet header, subject to the thirty second reset delay. If a valid packet is received prior to the expiration of the thirty second delay, another programming cycle begins, which can only be terminated by the reception of a valid endoffile packet. If the reset delay expires prior to the reception of a valid endoffile packet, the modem will drop the line and the programmer will return to sleep, waiting for the next call. In this case, the application controller is left in programming mode, preventing it from executing its program. To return the application to normal operation, another call must be received, and a valid program file uploaded, terminated by an endoffile packet. 單片機(jī)在編程電路中的應(yīng)用 本應(yīng)用指南說明了 Atmel AT89C51 是可在線可編程的微控制器。 總論 在編程期間必須重視 EA/VPP 這一腳。如何做到這一點取決于應(yīng)用程序。文本顯示被設(shè)計作為其硬件的一部分,不能在無改編情況下變化。上電復(fù)位電路和一個 6 MHz 的晶體振蕩器完成應(yīng)用軟件程序。編程器是與那些應(yīng)用程序未使用的控制器的引腳相連的,而這些應(yīng)用程序的引腳需要最低有效位的四所產(chǎn)生的地址是可獲得的,如下段所述。顯示數(shù)據(jù)輸入是不能被孤立的,因為數(shù)據(jù)應(yīng)用到輸入被忽略時,控制信號無效。 程序控制器 程序控制器生成的地址,數(shù)據(jù)和控制信號,對嵌入到程序中的 AT89C51 有重要作用。如果有需要的應(yīng)用程序兼容性,程序發(fā)出的信號可能在類似 74xx125 三態(tài)緩沖緩沖區(qū)內(nèi)緩沖。選擇此調(diào)制解調(diào)器,因為它是廉價可得。不在流程控制下發(fā)射器發(fā)送每個數(shù)據(jù)包,并等待響應(yīng)。如果程序員沒有在有限的時間內(nèi)響應(yīng)到一個數(shù)據(jù)包,發(fā)送器將重新發(fā)送相同的數(shù)據(jù)包。對程序驗證的支持是透明的,不需要明確的命令或結(jié)果代碼,或轉(zhuǎn)讓的其他數(shù)據(jù)。當(dāng)編程完成后,應(yīng)用軟件程序獲準(zhǔn)開始其新的程序執(zhí)行,而程序控制器返回監(jiān)督下一個通話的電話線。如果調(diào)制解調(diào)器不響應(yīng)任何命令,包括命令掛斷,程序控制器抬高 DTR 點位,強(qiáng)制調(diào)制解調(diào)器下降。 如果復(fù)位延遲時間結(jié)束之前收到一個有效的數(shù)據(jù)包報頭,程序控制器將嘗試讀取和驗證傳入的數(shù)據(jù)包。 任何包含有效文種的數(shù)據(jù)包,記錄長度或校驗和無效。編程后,從控制器內(nèi)將數(shù)據(jù)讀回并與接收到的數(shù)據(jù)包中的數(shù)據(jù)進(jìn)行比較。 根據(jù)末端文件的接收,編程器向閑置的狀態(tài)電源返回其控制輸出,允許應(yīng)用程序控制器,開始執(zhí)行新的程序。 。 重要的是要注意,無效的數(shù)據(jù)包永遠(yuǎn)不會規(guī)劃到應(yīng)用程序控制器。然后編程器在程序模式中放置控制器。末端文件包中包含與數(shù)據(jù)包相同的領(lǐng)域的文件,但該數(shù)據(jù)字段是空的。如果來電掛斷,在得到下一次呼叫之前,三十秒時間必須終止。 串行接口,程序員通過它連接到調(diào)制解調(diào)器,它支持兩個握手信號, DTR 和 DSR。 通話被檢測到并連接建立后,程序器強(qiáng)迫暫停其程序的執(zhí)行。 簡單的 FTP 減少了 AT89C51 的程序在編程時使用的內(nèi)存量。以這種方式傳輸,直到整個文件已被移交。 文件傳輸協(xié)議( FTP)的實施,是一個簡單的發(fā)送和等 待的,數(shù)據(jù)包導(dǎo)向的協(xié)議。當(dāng)編程完成后,應(yīng)用程序執(zhí)行新的程序,它顯示新信息。 AT89C51 的端口 1, 2, 3內(nèi)部有大約 3000 歐姆的上拉電阻,因為端口 0 沒有內(nèi)部上拉電阻,所以外部 10千歐姆的上拉電阻已經(jīng)加上 并 允許適當(dāng)?shù)某绦蛘J(rèn)證模式操作。由于顯示控制輸入不為高電平,直到新的程序?qū)?入顯示器內(nèi)部不被打亂。 透明鎖存器被加在了控制器的兩個端口之間做輸入控制。在基本應(yīng)用時未使用的 PSEN 和 ALE/ PROG,是被程序員直接控制的。這就產(chǎn)生了 16 名顯示元素,每個數(shù)字有 09 的顯示能力,是大寫字母, 標(biāo)點符號和一些字符。鎖存在編程期間是可用的,并保存應(yīng)用程序的電路狀態(tài)。 ALE/ PROG 在編程過程中輸出低電平,在正常運行期間絕不能使用。該應(yīng)用 指南 所描述的電路只支持 5v 電壓下編程。這類顯示方法在應(yīng)用程序中的 AT89C51 單片機(jī)可通過電話線遠(yuǎn)程控制。 在編程過程中, PSEN 必須保持低電平,在正常運行期間絕不能使用。如果應(yīng)用電路的狀態(tài) 不變化 ,必須事先在編程過程中的保持不變,可能在控制器和應(yīng)用電路中插入鎖存。 輸出包括四個 DL1414T, 4 位 17 段的積分解碼器和驅(qū)動程序的字母數(shù)字顯示器。復(fù)位電路被兩種轉(zhuǎn)換器改變狀態(tài),此轉(zhuǎn)換器允許編程時 RST 接高電平。程序設(shè)計器連接端口 0 和 1,沒有緩沖,因為,在不活動時,它的存在不影響應(yīng)用程序的正常運作。 編程后,當(dāng)復(fù)位生效,當(dāng)鎖存可視控制器端口輸出高電平。這些信號,在不活動時,不再是三種狀態(tài),但被接高電平。使用鏈接調(diào)制解調(diào)器的個人電腦,用戶可以上傳包含一個新的消息的程序,這個信息被變成進(jìn)了嵌入到應(yīng)用程序的 AT89C51 中。一個簡單的腳本編寫用來讀取一個程序文件的內(nèi)容,并上傳到遠(yuǎn)程編程器 。如果傳送者接收到 NAK,它重新發(fā)送相同的數(shù)據(jù)包。如果編程失敗,程序員發(fā)送 CAN向傳送者發(fā)送信號中止文件傳輸。在正常操作時,應(yīng)用程序執(zhí)行其內(nèi)部程序,而調(diào)制解調(diào)器和程序員監(jiān)測來電電話線。該軟件是專為與海斯兼容使用的調(diào)制解調(diào)器,其中包括這里使用的 1200 普羅米修斯 ProModem。 傳入數(shù)據(jù)包必須在少于 30 秒內(nèi)到達(dá),否則調(diào)制解調(diào)器掛斷和程序控制器繼續(xù)停止工作,等待
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1