TMPM4G9
V1.0.0.0
|
ISP_BOOT Sample Application. More...
#include "stdio.h"
#include "system_TMPM4Gx.h"
#include "TMPM4Gx.h"
#include "txz_uart.h"
#include "txz_t32a.h"
#include "com_control.h"
#include "Flash_Erase.h"
#include "Flash_Write.h"
Go to the source code of this file.
Macros | |
#define | MAIN_NULL ((void *)0) |
#define | CGOSCCR_IHOSC1EN_MASK ((uint32_t)0x00000001) |
#define | CGOSCCR_IHOSC1EN_RW_ENABLE ((uint32_t)0x00000001) |
Functions | |
void | StartCom (void) |
void | SendData (uint8_t *pData, uint32_t nLen) |
uint32_t | RecvData (uint8_t *pData, uint32_t nLen) |
uint8_t | Flash_Erase (void) |
Flash Erase Main Function. More... | |
uint8_t | Flash_Write (void) |
Flash Write Main Function. More... | |
void | BOOT_boot (void) |
void | SendACK (void) |
Send 'ACK' to HOST. More... | |
void | SendNAK (void) |
Send 'NAK' to HOST. More... | |
Variables | |
uint8_t | Recvbuf [1+1+1+128+2] |
uint8_t | Sendbuf |
ISP_BOOT Sample Application.
DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LISENCE AGREEMENT.
Copyright(C) Toshiba Electronic Device Solutions Corporation 2019
#define CGOSCCR_IHOSC1EN_MASK ((uint32_t)0x00000001) |
IHOSC1EN :Mask
#define CGOSCCR_IHOSC1EN_RW_ENABLE ((uint32_t)0x00000001) |
IHOSC1EN :[R/W] :Enable
#define MAIN_NULL ((void *)0) |
NULL.
void BOOT_boot | ( | void | ) |
uint8_t Flash_Erase | ( | void | ) |
Flash Erase Main Function.
- |
- |
uint8_t Flash_Write | ( | void | ) |
Flash Write Main Function.
- |
- |
uint32_t RecvData | ( | uint8_t * | pData, |
uint32_t | nLen | ||
) |
void SendACK | ( | void | ) |
Send 'ACK' to HOST.
- |
- |
void SendData | ( | uint8_t * | pData, |
uint32_t | nLen | ||
) |
void SendNAK | ( | void | ) |
Send 'NAK' to HOST.
- |
- |
void StartCom | ( | void | ) |
uint8_t Recvbuf[1+1+1+128+2] |
uint8_t Sendbuf |