An online programming method based on GJB289A bus, which includes: 1) external GJB289A transceiver power on, enter the online programming waiting state; 2) external GJB289A transceiver device sends commands to the handshake embedded computer through GJB289A bus; 3) embedded computer power on self check is completed to the external GJB289A transceiver device response handshake, establish the GJB289A transceiver is connected to the external device; 4) external GJB289A transceiver software programming software, address length and checksum sent to the embedded computer; 5) embedded computer receives the external GJB289A transceiver device sends a software programming software, address length and check code and check; 6) determine the calibration results. The invention can meet the requirement of the embedded computer curing the code / data through the GJB289A bus.
【技術實現步驟摘要】
本專利技術屬于嵌入式計算機領域,涉及一種編程方法,尤其涉及一種基于GJB289A總線的在線編程方法。
技術介紹
嵌入式計算機的在線編程是實際應用中必須面對的問題,目前,嵌入式計算機的代碼/數據在線編程方法包括RS232總線和以太網兩種方式,它們的物理連接接口一般都是通過專用的測試插頭座引出使用。在一些實際應用中,某些嵌入式環境中僅有GJB289A總線引出,傳統意義上的代碼/數據兩種固化方法無法使用,需要一種基于GJB289A總線的在線編程方法。
技術實現思路
為了解決
技術介紹
中存在的上述技術問題,本專利技術提供了一種可滿足嵌入式計算機通過GJB289A總線固化代碼/數據的要求的基于GJB289A總線的在線編程方法。本專利技術的技術解決方案是:本專利技術提供了一種基于GJB289A總線的在線編程方法,其特殊之處在于:所述基于GJB289A總線的在線編程方法包括以下步驟:1)外部GJB289A收發裝置先上電,進入在線編程等待狀態;2)外部GJB289A收發裝置通過GJB289A總線向嵌入式計算機發出握手命令;3)嵌入式計算機上電自檢完成后向外部GJB289A收發裝置回復握手應答,并與外部GJB289A收發裝置建立連接;4)外部GJB289A收發裝置將需要交互接收的軟件編程地址、軟件長度及校驗碼發送給嵌入式計算機;5)嵌入式計算機接收到來自外部GJB289A收發裝置所發送的軟件編程地 ...
【技術保護點】
一種基于GJB289A總線的在線編程方法,其特征在于:所述基于GJB289A總線的在線編程方法包括以下步驟:1)外部GJB289A收發裝置先上電,進入在線編程等待狀態;2)外部GJB289A收發裝置通過GJB289A總線向嵌入式計算機發出握手命令;3)嵌入式計算機上電自檢完成后向外部GJB289A收發裝置回復握手應答,并與外部GJB289A收發裝置建立連接;4)外部GJB289A收發裝置將需要交互接收的軟件編程地址、軟件長度及校驗碼發送給嵌入式計算機;5)嵌入式計算機接收到來自外部GJB289A收發裝置所發送的軟件編程地址、軟件長度及校驗碼后并進行校驗;6)判斷校驗結果;若校驗成功,則外部GJB289A收發裝置向嵌入式計算機發送目標代碼,并完成后續在線編程;若校驗失敗,則向外部GJB289A收發裝置返回錯誤命令,結束在線編程。
【技術特征摘要】
1.一種基于GJB289A總線的在線編程方法,其特征在于:所述基于GJB289A
總線的在線編程方法包括以下步驟:
1)外部GJB289A收發裝置先上電,進入在線編程等待狀態;
2)外部GJB289A收發裝置通過GJB289A總線向嵌入式計算機發出握手命
令;
3)嵌入式計算機上電自檢完成后向外部GJB289A收發裝置回復握手應答,
并與外部GJB289A收發裝置建立連接;
4)外部GJB289A收發裝置將需要交互接收的軟件編程地址、軟件長度及校
驗碼發送給嵌入式計算機;
5)嵌入式計算機接收到來自外部GJB289A收發裝置所發送的軟件編程地
址、軟件長度及校驗碼后并進行校驗;
6)判斷校驗結果;若校驗成功,則外部GJB289A收發裝置向嵌入式計算機
發送目標代碼,并完成...
【專利技術屬性】
技術研發人員:薄涵睿,蔡堅,徐寧,趙熠,劉金學,王國東,
申請(專利權)人:中國航空工業集團公司第六三一研究所,
類型:發明
國別省市:陜西;61
還沒有人留言評論。發表了對其他瀏覽者有用的留言會獲得科技券。