1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-27 17:05:20 +02:00
Commit Graph

203 Commits

Author SHA1 Message Date
Werner Almesberger
09bf9c23ab ubb-patgen/: add DMA-based pattern transfer (WIP)
Works for some patterns but seems to have issues at the edge of
transfers. Clock selection also needs more work.
2013-01-14 03:55:51 -03:00
Werner Almesberger
8d59f8a206 libubb/: add experimental physical memory allocation/mapping module
The API is fairly inflexible and is very likely to change.
2013-01-14 03:54:17 -03:00
Werner Almesberger
47140384ee ubb-patgen/hw/: a simple resistor on CMD is sufficient - no need for a cap
Cheaper and easier to control.
2013-01-14 03:11:39 -03:00
Werner Almesberger
52ce1947c5 ubb-patgen/: UBB-based pattern generator (WIP)
For now, it only knows to synthesize the clock and to output it.
2013-01-07 17:01:51 -03:00
Werner Almesberger
7c1f06530d ubb-patgen/hw/labels.fig: cut-out labels for the wires 2013-01-07 17:01:17 -03:00
Werner Almesberger
ed91f621e5 ubb-patgen/hw/: schematics of a pattern generator based on UBB 2013-01-07 17:00:28 -03:00
Werner Almesberger
127e18d7ed libubb/Makefile: get rid of version bureaucracy (suggested by Kyak) 2013-01-07 16:28:59 -03:00
Werner Almesberger
b18d688570 libubb/mmcclk.c (mmcclk_first): base clock calculation on state of CPCCR.PCS
Also rename BEN_SYS_CLK_HZ to BEN_PLL_CLK_HZ, since the system clock
depends on CPCCR.PCS (while we assume BEN_PLL_CLK_HZ to be constant.)
2013-01-07 16:16:31 -03:00
Werner Almesberger
2f4e1bd6d7 libubb/include/ubb/regs4740.h: add CPCCR (clock control register) 2013-01-07 16:15:38 -03:00
Werner Almesberger
1eb8e64811 libubb/mmcclk.c: helper functions for selecting and configuring the MMC bus clock
Experimental.
2013-01-07 15:19:19 -03:00
Werner Almesberger
a593da0cd0 libubb/Makefile: unleak mmcclk.o and mis-typed mmclk.h 2013-01-07 14:20:39 -03:00
Werner Almesberger
2004d8c90a ubblib/Makefile: don't generate the versioned shared library
We only need libubb.so for installation.
2013-01-07 11:47:53 -03:00
Werner Almesberger
b557adf95e ubbctl/Makefile: add copyright header 2013-01-07 08:25:16 -03:00
Werner Almesberger
7b8a2e13ed ubbctl/Makefile: make default build shared; add target "static" 2013-01-07 08:24:11 -03:00
Werner Almesberger
64c14fb709 libubb/Makefile: build also a shared version of libubb; better cleanup
The improved cleanup removes the library after a partially successful build.
2013-01-07 08:21:00 -03:00
Werner Almesberger
ed192391ea ubbctl/README: short documentation 2013-01-06 13:40:11 -03:00
Werner Almesberger
5fadbce41d ubbctl/ubbctl.c: new option -c for continuous display 2013-01-06 13:24:56 -03:00
Werner Almesberger
fd5707ee72 ubbctl/ubbctl.c: add actions "on" and "off" to control nPWR 2013-01-06 11:38:01 -03:00
Werner Almesberger
246a8a0a5f ubbctl/ubbctl.c: add setting of UBB signals (DAT0=1, etc.) 2013-01-06 11:34:56 -03:00
Werner Almesberger
5297de4d83 ubbctl/ubbctl.c (show_pins): indicate function pins with "F" instead of "FN"
For consistency with Z and R.
2013-01-06 10:47:31 -03:00
Werner Almesberger
77fd696067 ubbctl/ubbctl.c (show_pins): also show level seen at pin 2013-01-06 10:00:52 -03:00
Werner Almesberger
33085cee44 ubbctl/ubbctl.c (main): add command line processing and usage display 2013-01-06 09:54:54 -03:00
Werner Almesberger
e6a0e42296 ubbctl/ubbctl.c (main): move pin status display to separate function 2013-01-06 09:12:37 -03:00
Werner Almesberger
fe96b3b297 ubbctl/ubbctl.c: add copyright header 2013-01-06 08:57:48 -03:00
Werner Almesberger
85ed493e08 README: add ubbctl and ubb-jtag 2013-01-06 08:56:48 -03:00
Werner Almesberger
a58e78910e ubb-jtag/ubb-jtag-m1.sch: connect VREF to 2.5 V; explain that R3 is untested 2013-01-04 15:57:12 -03:00
Werner Almesberger
b6a9e234b1 ubb-jtag/README: ideas for increasing the speed 2013-01-04 15:41:34 -03:00
Werner Almesberger
d16af2aa38 ubb-jtag/ubb-jtag-m1.sch: schematics for UBB-VGA-M1 cable 2013-01-04 15:09:55 -03:00
Werner Almesberger
1024f48093 ubb-jtag/: instructions for building a JTAG interface with UBB 2013-01-04 14:36:45 -03:00
Werner Almesberger
f0c6e87222 ubbctl/: UBB pin status decoder 2013-01-04 05:40:19 -03:00
Werner Almesberger
d33da7076c README: there's much more than the blinkenlights here 2013-01-02 16:22:31 -03:00
Werner Almesberger
376aa543a9 lpc111x-isp/lpc111x.c: new option -P function=signal to reassign pins 2013-01-02 10:33:28 -03:00
Werner Almesberger
3b0c8c699e lpc111x-isp/lpc111x.c: define IO pins via array, not #defines 2013-01-02 10:12:23 -03:00
Werner Almesberger
9ddc377969 libubb/README.SWUART: document the software-implemented UART 2012-12-31 19:30:18 -03:00
Werner Almesberger
6dfaeddd15 lpc111x-isp/lpc111x.c (start_isp): check for swuart_open failure 2012-12-31 19:29:35 -03:00
Werner Almesberger
0b81ffabd1 swuart-chat/chat.c (main): use perror if swuart_open fails 2012-12-31 19:28:46 -03:00
Werner Almesberger
5f3828f710 libubb/swuart.c: only return error codes or fail silently; don't print messages 2012-12-31 19:27:16 -03:00
Werner Almesberger
506db2d69e libubb/README: describe how to get rid of competing drivers 2012-12-31 09:58:08 -03:00
Werner Almesberger
9d298216e7 libubb/README: document GPIO and register access 2012-12-31 09:44:05 -03:00
Werner Almesberger
49ff81fa70 lpc111x-isp/test/: proof of concept LED-blinking code 2012-12-31 03:19:59 -03:00
Werner Almesberger
c7a7d358bb lpc111x-isp/lpc111x.c: new option -r to reset the target and let it run 2012-12-31 01:54:36 -03:00
Werner Almesberger
66d091317a lpc111x-isp/lpc111x.c: if file argument is given, flash that file 2012-12-30 23:29:24 -03:00
Werner Almesberger
5246f5fbc6 lpc111x-isp/lpc111x.c: read and dump (to stdout) the entire Flash 2012-12-29 22:58:02 -03:00
Werner Almesberger
b2f131003d lpc111x-isp/lpc111x.c: new option -n to disable powering the device 2012-12-29 21:18:32 -03:00
Werner Almesberger
be82db036f libubb/swuart.c (swuart_open): don't call ubb_power
Leave all this to the libubb user.
2012-12-29 21:17:09 -03:00
Werner Almesberger
505caf997b lpc111x-isp/lpc111x.c (identify): retrieve and print the chip's unique ID 2012-12-29 21:12:09 -03:00
Werner Almesberger
eda1135cb0 lpc111x-isp/lpc111x.c: straighten *dialog*() API; radically simplify tracing 2012-12-29 20:54:24 -03:00
Werner Almesberger
90d39d3fdd lpc111x-isp/lpc111x.c: flesh out device identification 2012-12-29 06:27:04 -03:00
Werner Almesberger
0553fed424 lpc111x-isp/lpc111x.c: add printf-style dialog() variants 2012-12-28 23:26:13 -03:00
Werner Almesberger
c4d64fafa4 lpc111x-isp/lpc111x.c: option -v to control verbosity level 2012-12-28 23:12:37 -03:00