bootloader.h
Go to the documentation of this file.
00001 //
00002 // © 2010 Shadow Robot Company Limited.
00003 //
00004 // FileName:        bootloader.h
00005 // Dependencies:
00006 // Processor:       PIC18
00007 // Compiler:        MPLAB® C32
00008 //
00009 //  +------------------------------------------------------------------------+
00010 //  | This file is part of The Shadow Robot PIC32 firmware code base.        |
00011 //  |                                                                        |
00012 //  | It is free software: you can redistribute it and/or modify             |
00013 //  | it under the terms of the GNU General Public License as published by   |
00014 //  | the Free Software Foundation, either version 3 of the License, or      |
00015 //  | (at your option) any later version.                                    |
00016 //  |                                                                        |
00017 //  | It is distributed in the hope that it will be useful,                  |
00018 //  | but WITHOUT ANY WARRANTY; without even the implied warranty of         |
00019 //  | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          |
00020 //  | GNU General Public License for more details.                           |
00021 //  |                                                                        |
00022 //  | You should have received a copy of the GNU General Public License      |
00023 //  | along with this code repository. The text of the license can be found  |
00024 //  | in Pic32/License/gpl.txt. If not, see <http://www.gnu.org/licenses/>.  |
00025 //  +------------------------------------------------------------------------+
00026 //
00027 //
00028 //
00029 //
00030 //  Doxygen
00031 //  -------
00032 //
00038 //
00039 
00040 
00041 #ifndef BOOTLOADER_H_INCLUDED
00042 #define BOOTLOADER_H_INCLUDED
00043 
00046 typedef enum
00047 {
00048     WRITE_FLASH_DATA_COMMAND      = 0x00,
00049     READ_FLASH_COMMAND            = 0x01,
00050     ERASE_FLASH_COMMAND           = 0x02,
00051     RESET_COMMAND                 = 0x03,
00052     READ_VERSION_COMMAND          = 0x04,
00053     WRITE_FLASH_ADDRESS_COMMAND   = 0x05,
00054     START_FLASH_WRITE_COMMAND     = 0x06,
00055     MAGIC_PACKET                  = 0x0A
00056 }BOOTLOADER_COMMAND;
00057 
00058 
00059 #endif


sr_external_dependencies
Author(s): Ugo Cupcic
autogenerated on Mon Jul 1 2019 20:06:25