亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? bl_commands.h

?? 基于周立功公司的EasyARM615開發套件的串口驅動程序
?? H
字號:
//*****************************************************************************
//
// bl_commands.h - The list of commands and return messages supported by the
//                 boot loader.
//
// Copyright (c) 2006-2007 Luminary Micro, Inc.  All rights reserved.
// 
// Software License Agreement
// 
// Luminary Micro, Inc. (LMI) is supplying this software for use solely and
// exclusively on LMI's microcontroller products.
// 
// The software is owned by LMI and/or its suppliers, and is protected under
// applicable copyright laws.  All rights are reserved.  You may not combine
// this software with "viral" open-source software in order to form a larger
// program.  Any use in violation of the foregoing restrictions may subject
// the user to criminal sanctions under applicable laws, as well as to civil
// liability for the breach of the terms and conditions of this license.
// 
// THIS SOFTWARE IS PROVIDED "AS IS".  NO WARRANTIES, WHETHER EXPRESS, IMPLIED
// OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
// LMI SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
// CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
// 
// This is part of revision 1928 of the Stellaris Peripheral Driver Library.
//
//*****************************************************************************

#ifndef __BL_COMMANDS_H__
#define __BL_COMMANDS_H__

//*****************************************************************************
//
// This command is used to receive an acknowledge from the the boot loader
// proving that communication has been established.  This command is a single
// byte.
//
// The format of the command is as follows:
//
//     unsigned char ucCommand[1];
//
//     ucCommand[0] = COMMAND_PING;
//
//*****************************************************************************
#define COMMAND_PING            0x20

//*****************************************************************************
//
// This command is sent to the boot loader to indicate where to store data and
// how many bytes will be sent by the COMMAND_SEND_DATA commands that follow.
// The command consists of two 32-bit values that are both transferred MSB
// first.  The first 32-bit value is the address to start programming data
// into, while the second is the 32-bit size of the data that will be sent.
// This command also triggers an erasure of the full application area in the
// flash or possibly the entire flash depending on the address used.  This
// causes the command to take longer to send the ACK/NAK in response to the
// command.  This command should be followed by a COMMAND_GET_STATUS to ensure
// that the program address and program size were valid for the microcontroller
// running the boot loader.
//
// The format of the command is as follows:
//
//     unsigned char ucCommand[9];
//
//     ucCommand[0] = COMMAND_DOWNLOAD;
//     ucCommand[1] = Program Address [31:24];
//     ucCommand[2] = Program Address [23:16];
//     ucCommand[3] = Program Address [15:8];
//     ucCommand[4] = Program Address [7:0];
//     ucCommand[5] = Program Size [31:24];
//     ucCommand[6] = Program Size [23:16];
//     ucCommand[7] = Program Size [15:8];
//     ucCommand[8] = Program Size [7:0];
//
//*****************************************************************************
#define COMMAND_DOWNLOAD        0x21

//*****************************************************************************
//
// This command is sent to the boot loader to transfer execution control to the
// specified address.  The command is followed by a 32-bit value, transferred
// MSB first, that is the address to which execution control is transferred.
//
// The format of the command is as follows:
//
//     unsigned char ucCommand[5];
//
//     ucCommand[0] = COMMAND_RUN;
//     ucCommand[1] = Run Address [31:24];
//     ucCommand[2] = Run Address [23:16];
//     ucCommand[3] = Run Address [15:8];
//     ucCommand[4] = Run Address [7:0];
//
//*****************************************************************************
#define COMMAND_RUN             0x22

//*****************************************************************************
//
// This command returns the status of the last command that was issued.
// Typically this command should be received after every command is sent to
// ensure that the previous command was successful or, if unsuccessful, to
// properly respond to a failure.  The command requires one byte in the data of
// the packet and the boot loader should respond by sending a packet with one
// byte of data that contains the current status code.
//
// The format of the command is as follows:
//
//     unsigned char ucCommand[1];
//
//     ucCommand[0] = COMMAND_GET_STATUS;
//
// The following are the definitions for the possible status values that can be
// returned from the boot loader when <tt>COMMAND_GET_STATUS</tt> is sent to
// the microcontroller.
//
//     COMMAND_RET_SUCCESS
//     COMMAND_RET_UNKNOWN_CMD
//     COMMAND_RET_INVALID_CMD
//     COMMAND_RET_INVALID_ADD
//     COMMAND_RET_FLASH_FAIL
//
//*****************************************************************************
#define COMMAND_GET_STATUS      0x23

//*****************************************************************************
//
// This command should only follow a COMMAND_DOWNLOAD command or another
// COMMAND_SEND_DATA command, if more data is needed.  Consecutive send data
// commands automatically increment the address and continue programming from
// the previous location.  The transfer size is limited by the size of the
// receive buffer in the boot loader (as configured by the BUFFER_SIZE
// parameter).  The command terminates programming once the number of bytes
// indicated by the COMMAND_DOWNLOAD command has been received.  Each time this
// function is called, it should be followed by a COMMAND_GET_STATUS command to
// ensure that the data was successfully programmed into the flash.  If the
// boot loader sends a NAK to this command, the boot loader will not increment
// the current address to allow retransmission of the previous data.
//
// The format of the command is as follows:
//
//     unsigned char ucCommand[9];
//
//     ucCommand[0] = COMMAND_SEND_DATA
//     ucCommand[1] = Data[0];
//     ucCommand[2] = Data[1];
//     ucCommand[3] = Data[2];
//     ucCommand[4] = Data[3];
//     ucCommand[5] = Data[4];
//     ucCommand[6] = Data[5];
//     ucCommand[7] = Data[6];
//     ucCommand[8] = Data[7];
//
//*****************************************************************************
#define COMMAND_SEND_DATA       0x24

//*****************************************************************************
//
// This command is used to tell the boot loader to reset.  This is used after
// downloading a new image to the microcontroller to cause the new application
// or the new boot loader to start from a reset.  The normal boot sequence
// occurs and the image runs as if from a hardware reset.  It can also be used
// to reset the boot loader if a critical error occurs and the host device
// wants to restart communication with the boot loader.
//
// The format of the command is as follows:
//
//     unsigned char ucCommand[1];
//
//     ucCommand[0] = COMMAND_RESET;
//
// The boot loader responds with an ACK signal to the host device before
// actually executing the software reset on the microcontroller running the
// boot loader.  This informs the updater application that the command was
// received successfully and the part will be reset.
//
//*****************************************************************************
#define COMMAND_RESET           0x25

//*****************************************************************************
//
// This is returned in response to a COMMAND_GET_STATUS command and indicates
// that the previous command completed successful.
//
//*****************************************************************************
#define COMMAND_RET_SUCCESS     0x40

//*****************************************************************************
//
// This is returned in response to a COMMAND_GET_STATUS command and indicates
// that the command sent was an unknown command.
//
//*****************************************************************************
#define COMMAND_RET_UNKNOWN_CMD 0x41

//*****************************************************************************
//
// This is returned in response to a COMMAND_GET_STATUS command and indicates
// that the previous command was formatted incorrectly.
//
//*****************************************************************************
#define COMMAND_RET_INVALID_CMD 0x42

//*****************************************************************************
//
// This is returned in response to a COMMAND_GET_STATUS command and indicates
// that the previous download command contained an invalid address value.
//
//*****************************************************************************
#define COMMAND_RET_INVALID_ADR 0x43

//*****************************************************************************
//
// This is returned in response to a COMMAND_GET_STATUS command and indicates
// that an attempt to program or erase the flash has failed.
//
//*****************************************************************************
#define COMMAND_RET_FLASH_FAIL  0x44

//*****************************************************************************
//
// This is the value that is sent to acknowledge a packet.
//
//*****************************************************************************
#define COMMAND_ACK             0xcc

//*****************************************************************************
//
// This is the value that is sent to not-acknowledge a packet.
//
//*****************************************************************************
#define COMMAND_NAK             0x33

#endif // __BL_COMMANDS_H__

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区三区在线观看| 欧美国产综合色视频| 91视频在线看| 国内精品伊人久久久久av一坑 | 国产午夜精品一区二区三区四区 | 91麻豆免费在线观看| 99r国产精品| 日本大香伊一区二区三区| youjizz久久| 色八戒一区二区三区| 欧美三级视频在线| 日韩一本二本av| 国产性天天综合网| 国产精品亲子伦对白| 18欧美乱大交hd1984| 亚洲在线视频免费观看| 国产精品乱人伦| 国产精品久久久久9999吃药| 亚洲欧洲综合另类| 久久99国产乱子伦精品免费| 国产激情精品久久久第一区二区 | 亚洲国产精品黑人久久久| 综合激情成人伊人| 国产精品一区二区男女羞羞无遮挡 | 欧美性淫爽ww久久久久无| 日韩欧美亚洲一区二区| 亚洲乱码国产乱码精品精的特点| 日本少妇一区二区| 欧美三级日韩三级国产三级| 欧美一区二区性放荡片| 国产精品久久久久影院色老大| 人禽交欧美网站| 欧美日韩午夜精品| 亚洲精品国产a久久久久久| 国产麻豆视频一区二区| 91精品婷婷国产综合久久性色| 亚洲精品免费播放| 不卡的av中国片| 中文字幕在线不卡| 国产精品一区二区在线看| 久久一夜天堂av一区二区三区| 午夜成人在线视频| 在线播放国产精品二区一二区四区 | 国产午夜精品一区二区三区视频 | 亚洲线精品一区二区三区 | 日韩久久一区二区| 日本久久电影网| 亚洲综合一区二区精品导航| 欧美色手机在线观看| 日本不卡在线视频| 久久久综合网站| 91九色02白丝porn| 国产成人精品亚洲午夜麻豆| 国产精品福利影院| 日韩区在线观看| 日本福利一区二区| 国产精品中文字幕一区二区三区| 中文子幕无线码一区tr| 色综合天天综合| 五月综合激情婷婷六月色窝| 日韩欧美亚洲国产另类| 国产精品一区二区三区99| 亚洲成人先锋电影| 国产精品久久久99| 在线不卡中文字幕| 91国产精品成人| 成人午夜免费电影| 国产成人免费av在线| 日韩电影在线观看电影| 亚洲图片你懂的| 亚洲图片激情小说| 国产精品理论在线观看| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 精东粉嫩av免费一区二区三区| 欧美一级片免费看| 欧美一区二区啪啪| 一个色妞综合视频在线观看| 亚洲综合网站在线观看| 精品一二三四在线| 日韩欧美在线1卡| 亚洲激情自拍偷拍| 精品伊人久久久久7777人| 欧美狂野另类xxxxoooo| 国产精品国产三级国产| 成人性生交大片免费看中文| 欧美一区二区三区爱爱| 亚洲二区在线观看| 欧美日韩精品综合在线| 亚洲欧美日韩国产一区二区三区| 日韩福利电影在线观看| 色婷婷综合久久久久中文| 久久久www免费人成精品| 国产一区视频在线看| 欧美一区二区在线免费播放| 亚洲国产日韩精品| 制服丝袜亚洲播放| 视频一区在线播放| 日韩一区二区三区精品视频| 亚洲高清免费观看高清完整版在线观看| 国产v综合v亚洲欧| 亚洲人成精品久久久久久| 盗摄精品av一区二区三区| 日韩视频免费观看高清完整版| 久久99精品久久久久久动态图 | 成人免费精品视频| 久久久99精品久久| 一本大道久久a久久精二百| 国产精品萝li| 成人免费视频caoporn| 亚洲女与黑人做爰| 欧美性受极品xxxx喷水| 亚洲va国产va欧美va观看| 欧美剧情电影在线观看完整版免费励志电影| 国产精品欧美经典| 欧美一区二区在线观看| 麻豆精品蜜桃视频网站| 国产精品三级在线观看| 91一区二区在线观看| 一个色在线综合| 久久精品一区二区三区四区| 国产成人精品免费视频网站| 亚洲午夜精品久久久久久久久| 欧美日韩大陆一区二区| 久久99国产精品成人| 亚洲精品网站在线观看| 91精品黄色片免费大全| 国产麻豆视频一区| 一区二区三区波多野结衣在线观看 | 成人视屏免费看| 日本va欧美va欧美va精品| 精品国产乱码久久| 精品夜夜嗨av一区二区三区| 亚洲一区欧美一区| 欧美大片一区二区三区| 欧美综合色免费| 国产精品一区二区久久精品爱涩| 亚洲国产精品成人久久综合一区 | 日韩毛片高清在线播放| 久久丁香综合五月国产三级网站| 亚洲日本中文字幕区| 欧美一区二区久久| 欧美色中文字幕| 国产精品91一区二区| 亚洲国产视频a| 亚洲欧美激情在线| 久久精品一区二区三区av| 在线不卡免费av| 色综合夜色一区| 国产一区二区三区在线观看免费 | 欧美一级欧美三级| 成人午夜免费电影| 蜜桃视频一区二区| 亚洲一区二区在线免费观看视频| 亚洲欧美一区二区三区孕妇| 精品少妇一区二区三区日产乱码 | 亚洲一区二区三区四区在线观看| 91在线无精精品入口| 久久精品国产成人一区二区三区 | 26uuu色噜噜精品一区| 日本高清免费不卡视频| 国产999精品久久久久久| 午夜影视日本亚洲欧洲精品| 国产精品美女久久久久久久久| 久久影视一区二区| 日韩一区二区麻豆国产| 欧美日韩视频专区在线播放| 欧美性猛片xxxx免费看久爱| 成人蜜臀av电影| 欧美性色黄大片手机版| 欧美性高清videossexo| 91污在线观看| 欧美亚洲另类激情小说| 欧美日韩国产小视频在线观看| 国产揄拍国内精品对白| 成人激情动漫在线观看| 国产精品一区二区三区四区 | 欧美成人精品二区三区99精品| 欧美日韩免费观看一区三区| 91麻豆精品国产综合久久久久久| 欧美日韩国产区一| 蜜桃视频第一区免费观看| 国产一区二区视频在线播放| 蜜臀久久久99精品久久久久久| 国产麻豆精品theporn| 国产成人免费视| av中文字幕一区| 精品1区2区3区| 在线不卡欧美精品一区二区三区| 亚洲精品一区二区三区四区高清| 久久一区二区视频| 国产欧美一区二区三区沐欲| 一区二区国产视频| 午夜不卡av在线| 国产乱理伦片在线观看夜一区| 国产精品99久久久久久久女警 | 国产在线看一区| 91在线视频播放地址| 在线观看av一区| 宅男在线国产精品| 一区二区三区在线免费视频|