00001 /* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved. 00002 * 00003 * The information contained herein is confidential property of Nordic 00004 * Semiconductor ASA. Terms and conditions of usage are described in detail 00005 * in NORDIC SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 00006 * 00007 * Licensees are granted free, non-transferable use of the information. NO 00008 * WARRENTY of ANY KIND is provided. This heading must NOT be removed from 00009 * the file. 00010 * 00011 */ 00012 #ifndef BOOTLDR_USB_CMDS_H_ 00013 #define BOOTLDR_USB_CMDS_H_ 00014 00015 typedef enum 00016 { 00017 CMD_FIRMWARE_VERSION = 1, 00018 CMD_FLASH_WRITE_INIT, // Eigth 64 bytes bulk packets <- PC follow after this command 00019 CMD_FLASH_READ, 00020 CMD_FLASH_ERASE_PAGE, 00021 CMD_FLASH_SET_PROTECTED, 00022 CMD_FLASH_SELECT_HALF 00023 } usb_command_t; 00024 00025 #endif // BOOTLDR_USB_CMDS_H_