亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
欧美性大战久久| 奇米亚洲午夜久久精品| 久久久久国产精品免费免费搜索| 欧美日韩在线亚洲一区蜜芽| 色综合久久中文综合久久97| 91亚洲精品久久久蜜桃网站| 在线观看日产精品| 91福利在线看| 91黄视频在线| 欧美三级午夜理伦三级中视频| 欧美在线一二三四区| 在线观看欧美黄色| 欧美福利电影网| 日韩女优视频免费观看| 日韩精品一区二区三区在线观看| 精品国产免费久久| 日本一区二区三区在线不卡| 国产精品每日更新| 亚洲免费观看高清完整版在线 | 欧美精品一区二区三区高清aⅴ| 日韩无一区二区| 久久久亚洲综合| 日韩美女久久久| 天天综合色天天综合| 美女性感视频久久| 懂色av一区二区三区免费观看| 不卡视频在线观看| 欧美三级韩国三级日本一级| 日韩精品一区二| 国产精品久久久久影视| 又紧又大又爽精品一区二区| 日韩**一区毛片| 成人免费看的视频| 久久综合av免费| 中文字幕日本不卡| 蜜臀av国产精品久久久久| 国产在线精品一区二区夜色| 91麻豆国产精品久久| 4438成人网| 18涩涩午夜精品.www| 青青草国产精品亚洲专区无| 国产一区美女在线| 91传媒视频在线播放| 久久综合色一综合色88| 一区二区三区中文免费| 国产精品一区二区你懂的| 91精彩视频在线| 亚洲国产成人午夜在线一区| 天天综合网 天天综合色| 成人禁用看黄a在线| 日韩亚洲欧美成人一区| 亚洲精品成人a在线观看| 国产在线不卡一卡二卡三卡四卡| 欧美性一二三区| 亚洲国产成人私人影院tom| 日韩 欧美一区二区三区| 91福利资源站| 1024成人网| 国产jizzjizz一区二区| 日韩精品一区二区在线观看| 亚洲成人一二三| 91蜜桃视频在线| 国产精品不卡在线| 国产成人av电影在线| 精品国产乱码久久久久久久久| 亚洲大尺度视频在线观看| 色综合一区二区| 国产精品国产自产拍高清av| 国产高清成人在线| 2020国产成人综合网| 麻豆高清免费国产一区| 555夜色666亚洲国产免| 日本亚洲欧美天堂免费| 欧美精品乱人伦久久久久久| 亚洲一区二三区| 欧美日韩在线一区二区| 亚洲成a人片在线不卡一二三区| 色欧美片视频在线观看 | 欧美日韩国产精品自在自线| 成人免费在线视频观看| 成人av在线看| 亚洲日本乱码在线观看| 91搞黄在线观看| 午夜伊人狠狠久久| 制服丝袜在线91| 美女一区二区久久| 精品国产一区二区三区不卡| 久久精品国产亚洲高清剧情介绍| 日韩精品一区二区三区在线观看| 精品一区二区三区免费毛片爱| 日韩欧美一区中文| 国产精品一级黄| 国产精品成人午夜| 欧美色图免费看| 美女脱光内衣内裤视频久久网站| 精品毛片乱码1区2区3区| 国产成人亚洲精品青草天美| 亚洲欧洲一区二区三区| 欧美日韩在线播| 美美哒免费高清在线观看视频一区二区| 精品久久久久久最新网址| 国产成人免费视频网站| 亚洲另类一区二区| 日韩亚洲欧美一区| 成人激情电影免费在线观看| 亚洲综合男人的天堂| 日韩欧美在线综合网| 北条麻妃一区二区三区| 亚洲成人精品一区二区| 久久久噜噜噜久久人人看 | 欧美精品乱人伦久久久久久| 久久99热这里只有精品| 中文字幕视频一区| 欧美成人在线直播| 色综合久久六月婷婷中文字幕| 人人爽香蕉精品| 中文字幕一区二| 欧美大白屁股肥臀xxxxxx| 波多野结衣91| 韩国三级在线一区| 午夜精品福利视频网站| 中文字幕精品一区| 日韩久久精品一区| 91美女视频网站| 国产乱子伦视频一区二区三区| 亚洲综合色噜噜狠狠| 国产欧美日韩在线| 日韩欧美国产精品| 欧美日韩亚洲综合一区| 成人精品鲁一区一区二区| 裸体一区二区三区| 亚洲一级二级三级在线免费观看| 国产亚洲女人久久久久毛片| 欧美日韩一卡二卡三卡| av在线播放成人| 国产91精品久久久久久久网曝门| 日本美女视频一区二区| 亚洲国产中文字幕在线视频综合| 日本一区二区三区dvd视频在线| 欧美一区二区免费| 欧美日韩成人激情| 欧美综合一区二区三区| 91麻豆文化传媒在线观看| 成人免费毛片片v| 高清在线成人网| 国产激情偷乱视频一区二区三区 | 久久久蜜桃精品| 日韩欧美在线1卡| 这里只有精品电影| 国产日韩欧美电影| 欧美成人精品1314www| 日韩一级视频免费观看在线| 欧美日韩一区二区三区在线| 欧美日韩一区二区在线视频| 欧美丝袜丝nylons| 欧美日韩国产123区| 欧美性受xxxx黑人xyx性爽| 欧美中文字幕亚洲一区二区va在线| 91在线精品一区二区| 91麻豆swag| 精品视频一区三区九区| 欧美在线free| 91精品国产综合久久久久| 6080日韩午夜伦伦午夜伦| 日韩女优制服丝袜电影| 精品国产成人在线影院| 国产无一区二区| 中文字幕高清不卡| 亚洲激情五月婷婷| 亚洲一区二区三区四区在线| 舔着乳尖日韩一区| 韩国一区二区三区| eeuss鲁片一区二区三区| 99久久精品情趣| 欧美日韩国产电影| 久久综合九色综合久久久精品综合| 国产视频在线观看一区二区三区| 国产精品三级在线观看| 亚洲黄色小视频| 免费观看久久久4p| 国产99一区视频免费| 在线看一区二区| 日韩欧美一级二级三级 | 91亚洲精品久久久蜜桃| 欧美日韩成人在线| 国产欧美中文在线| 亚洲午夜激情网页| 国产精品一区免费视频| 在线免费观看一区| 欧美不卡在线视频| 亚洲女人的天堂| 美女视频第一区二区三区免费观看网站| 精品无人码麻豆乱码1区2区| 色婷婷综合五月| 欧美成人艳星乳罩| 亚洲在线视频免费观看| 国产在线观看一区二区| 欧美日韩国产在线播放网站| 国产欧美日韩精品在线| 蜜臀99久久精品久久久久久软件|