What's new?
|
Help
|
Directory
|
Sign in
amoxiflash
Open-Source NAND Flash programmer driver for Infectus chip
Project Home
Wiki
Issues
Source
Checkout
|
Browse
|
Changes
|
Source Path:
svn
/
trunk
/
amoxiflash.h
‹ r16
r30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
amoxiflash -- NAND Flash chip programmer utility, using the Infectus 1 / 2 chip
Copyright (C) 2008 bushing
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 2.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
For more information, contact bushing@gmail.com, or see http://code.google.com/p/amoxiflash
*/
typedef unsigned char u8;
typedef unsigned int u32;
#define ECC_OK 0
#define ECC_WRONG 1
#define ECC_INVALID 2
#define ECC_BLANK 3
typedef unsigned long long int u64;
u8 * calc_page_ecc(u8 *data);
int check_ecc(u8 *page);
Show details
Hide details
Change log
r17
by bushing on May 04, 2008
Diff
more cleanup and error checking
Go to:
/trunk/Makefile
/trunk/amoxiflash.c
/trunk/amoxiflash.h
/trunk/ecc.c
Project members,
sign in
to write a code review
Older revisions
r16
by bushing on May 04, 2008
Diff
added ECC-checking code
All revisions of this file
File info
Size: 1050 bytes, 33 lines
View raw file