1
0
mirror of git://projects.qi-hardware.com/f32xbase.git synced 2024-11-23 21:52:28 +02:00
f32xbase/f32x
Werner Almesberger 88fa3ad057 Improved chip identification, added C8051F34x support, some cleanup.
- f32x/f32x.c (identify_chip, identify, main): identify the chip and print
  its name
- f32x/f32x.c (identify): exit if communication is unstable already during
  chip identification
- f32x/f32x.c (chips): added the C8051F34x
- f32x/f32x.c (determine_layout, main): determine memory layout based on
  flash size
- f32x/f32x.c (usage, main): new option  -k flash_kb  to set/override the
  flash size
- f32x/f32x.c (LOCK_BYTE, protect, need_layout, main): use memory layout
  determined at run-time instead of hard-coded layout
- f32x/f32x.c (main): throw an error of -p is used without flashing
- f32x/f32x.c: added section titles and rearranged the order of some
  functions
2010-11-07 01:52:19 -03:00
..
boundary.c Switched from four-spaces to one-tab indentation. 2010-10-21 10:05:26 -03:00
boundary.h f32x/ - firmware uploader for the C2 protocol. From IDBG. 2010-08-13 08:46:38 -03:00
c2-ben.c Cleaned up command-line parsing. Added option -n to disable target power. 2010-10-22 14:50:13 -03:00
c2-bitbang.c Don't call gpio_init in c2_init, so that we can do additional setup work before 2010-10-21 19:28:00 -03:00
c2-drv.h Cleaned up command-line parsing. Added option -n to disable target power. 2010-10-22 14:50:13 -03:00
c2-om.c Cleaned up command-line parsing. Added option -n to disable target power. 2010-10-22 14:50:13 -03:00
c2.c Cleaned up command-line parsing. Added option -n to disable target power. 2010-10-22 14:50:13 -03:00
c2.h Cleaned up command-line parsing. Added option -n to disable target power. 2010-10-22 14:50:13 -03:00
f32x.c Improved chip identification, added C8051F34x support, some cleanup. 2010-11-07 01:52:19 -03:00
flash.c Switched from four-spaces to one-tab indentation. 2010-10-21 10:05:26 -03:00
flash.h f32x/ - firmware uploader for the C2 protocol. From IDBG. 2010-08-13 08:46:38 -03:00
gpio-s3c24xx.c Include gpio-s3c24xx.h in gpio-s3c24xx.c 2010-10-21 20:25:17 -03:00
gpio-s3c24xx.h Renamed gpio.* to gpio-s3c24xx.* 2010-10-21 18:30:02 -03:00
gpio-xburst.c f32x: added support for the c2ben adapter 2010-10-21 20:15:07 -03:00
gpio-xburst.h f32x: added support for the c2ben adapter 2010-10-21 20:15:07 -03:00
Makefile Changed default target to "ben" and added Ben upload. 2010-10-22 14:50:13 -03:00
README Add DFU to BOOKSHELF. Add MMC driver unloading instructions to f32x/README 2010-11-05 22:00:13 -03:00
rt.c Switched from four-spaces to one-tab indentation. 2010-10-21 10:05:26 -03:00

Targets: C8051F326/C8051F327
Programmer: OpenMoko GTA01/GTA02 with a debug v2 board

To do:
- support C8051F320/1 as well
- port to Ben NanoNote

Signal	DbgV3	Net		GPIO	V0: C2	V1: C2
------	-----	-------		----	------	------
CLK	3	SPI_CLK0	E13	C2CK	C2D
MOSI	4	SPI_MOSI0	E12	C2D	-
MISO	5	SPI_MISO0	E11	-	C2CK
nSS	6	SS0		G2	-	-


On the Ben, the kernel driver has to release the MMC port before it
can be used by f32x:

echo jz4740-mmc.0 >/sys/bus/platform/drivers/jz4740-mmc/unbind