ISP example program.
Dependencies: SLCD mbed USBLocalFileSystem
FRDM-KL46Z | LPC810 | |
---|---|---|
UART RXD | PTE23 | p2(P0_4) |
UART TXD | PTE22 | p8(P0_0) |
nRESET | D6 | p1(P0_5) |
nISP | D8 | p5(P0_1) |
GND | GND | p7 |
3.3V | P3V3 | p6 |
Copy binary image to the disk called LPC81ISP.
Push sw1 or sw3, start write to LPC810 flash.
fat/ChaN/integer.h@1:cccfc461c61f, 2014-02-16 (annotated)
- Committer:
- va009039
- Date:
- Sun Feb 16 12:56:12 2014 +0000
- Revision:
- 1:cccfc461c61f
- Parent:
- 0:ad2b1fc04955
add virtual COM.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
va009039 | 0:ad2b1fc04955 | 1 | /*-------------------------------------------*/ |
va009039 | 0:ad2b1fc04955 | 2 | /* Integer type definitions for FatFs module */ |
va009039 | 0:ad2b1fc04955 | 3 | /*-------------------------------------------*/ |
va009039 | 0:ad2b1fc04955 | 4 | |
va009039 | 0:ad2b1fc04955 | 5 | #ifndef _INTEGER |
va009039 | 0:ad2b1fc04955 | 6 | #define _INTEGER |
va009039 | 0:ad2b1fc04955 | 7 | |
va009039 | 0:ad2b1fc04955 | 8 | #ifdef _WIN32 /* FatFs development platform */ |
va009039 | 0:ad2b1fc04955 | 9 | |
va009039 | 0:ad2b1fc04955 | 10 | #include <windows.h> |
va009039 | 0:ad2b1fc04955 | 11 | #include <tchar.h> |
va009039 | 0:ad2b1fc04955 | 12 | |
va009039 | 0:ad2b1fc04955 | 13 | #else /* Embedded platform */ |
va009039 | 0:ad2b1fc04955 | 14 | |
va009039 | 0:ad2b1fc04955 | 15 | /* These types must be 16-bit, 32-bit or larger integer */ |
va009039 | 0:ad2b1fc04955 | 16 | typedef int INT; |
va009039 | 0:ad2b1fc04955 | 17 | typedef unsigned int UINT; |
va009039 | 0:ad2b1fc04955 | 18 | |
va009039 | 0:ad2b1fc04955 | 19 | /* These types must be 8-bit integer */ |
va009039 | 0:ad2b1fc04955 | 20 | typedef char CHAR; |
va009039 | 0:ad2b1fc04955 | 21 | typedef unsigned char UCHAR; |
va009039 | 0:ad2b1fc04955 | 22 | typedef unsigned char BYTE; |
va009039 | 0:ad2b1fc04955 | 23 | |
va009039 | 0:ad2b1fc04955 | 24 | /* These types must be 16-bit integer */ |
va009039 | 0:ad2b1fc04955 | 25 | typedef short SHORT; |
va009039 | 0:ad2b1fc04955 | 26 | typedef unsigned short USHORT; |
va009039 | 0:ad2b1fc04955 | 27 | typedef unsigned short WORD; |
va009039 | 0:ad2b1fc04955 | 28 | typedef unsigned short WCHAR; |
va009039 | 0:ad2b1fc04955 | 29 | |
va009039 | 0:ad2b1fc04955 | 30 | /* These types must be 32-bit integer */ |
va009039 | 0:ad2b1fc04955 | 31 | typedef long LONG; |
va009039 | 0:ad2b1fc04955 | 32 | typedef unsigned long ULONG; |
va009039 | 0:ad2b1fc04955 | 33 | typedef unsigned long DWORD; |
va009039 | 0:ad2b1fc04955 | 34 | |
va009039 | 0:ad2b1fc04955 | 35 | #endif |
va009039 | 0:ad2b1fc04955 | 36 | |
va009039 | 0:ad2b1fc04955 | 37 | #endif |