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

182 Commits

Author SHA1 Message Date
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
Werner Almesberger
e4f8b97e36 libubb/swuart.c: use mlockall to prevent page faults with interrupts off 2012-12-28 22:55:06 -03:00
Werner Almesberger
5487578ee7 lpc111x-isp/lpc111x.c: restructure code (WIP) 2012-12-28 22:45:26 -03:00
Werner Almesberger
eea0484a41 lpc111x-isp/: Ben-based in-system programmer (ISP) for NXP LPC111x chips (WIP)
Uses SWUART. This is just a "first contact" skeleton.
2012-12-28 21:00:28 -03:00
Werner Almesberger
ace55ffb37 swuart-chat/chat.c: open/close UBB explicitly (tracking API change) 2012-12-28 17:11:19 -03:00
Werner Almesberger
661420933e libubb/swuart.c: don't open/close UBB
This way, we can set things up before and after using SWUART
2012-12-28 17:09:44 -03:00
Werner Almesberger
842766b9ed libubb/swuart.c (swuart_open): start TX high, not low 2012-12-17 22:44:47 -03:00
Werner Almesberger
519ebe648c swuart/: convert "hammering the peer" demo into a primitive interactive chat
Also rename directory from swuart/ to swuart-chat/, and application from
"swuart" to "chat".
2012-12-17 22:44:23 -03:00
Werner Almesberger
1c51cc6757 swuart/: merge library part into libubb 2012-12-17 22:16:32 -03:00
Werner Almesberger
2e749f901c swuart/: split general UART functions from application
... in preparation for making it a library.
2012-12-17 18:43:51 -03:00
Werner Almesberger
b4530ffc4d ioscript/ioscript: allow positions to be redefined
For that purpose, we reset the mapping each time a new set of definitions
is encountered.
2012-12-17 14:41:23 -03:00
Werner Almesberger
8816dcfa3c swuart/: use a hardware timer and allow full-duplex operation 2012-12-17 12:31:27 -03:00
Werner Almesberger
4689882497 swuart/: half-duplex software UART for UBB (WIP) 2012-12-17 00:45:21 -03:00
Werner Almesberger
2c52dac4ca libubb/: helper library for UBB access 2012-12-17 00:44:48 -03:00
Werner Almesberger
025726e48b ioscript/: script-based toggling of IO pins (for device testing) 2012-11-06 12:05:52 -03:00
Werner Almesberger
a628cfa33c avrduded/patches/: remove ATmega32u2 config entry
Avrdude 5.11.1 already comes with an ATmega32u2 configuration.
2012-07-22 13:16:12 -03:00
Werner Almesberger
acac482908 avrdude/patches/local-config.patch: new option -L to add local config files
This can be used to add project-specific programmers, such as
nanonote_atusb, nanonote_antorcha, etc.
2012-07-22 12:00:36 -03:00
Werner Almesberger
266fe49f0c avrdude/patches/nanonote.patch: clean up initialization of pin_map 2012-07-22 10:51:09 -03:00
Werner Almesberger
6b838ee479 avrdude/: support use of CLK for regular I/O 2012-07-22 10:51:09 -03:00
Werner Almesberger
f67681360f avrdude/: upgrade from avrdude-5.10 to avrdude-5.11.1
Only one trivial context mismatch. Plus a refresh of all the patches.
2012-07-22 10:34:42 -03:00
Werner Almesberger
2f65672dfc avrdude/patches/nanonote.patch: fix pin inversion in nanonote.c:nanonote_getpin 2012-07-22 09:52:55 -03:00
Werner Almesberger
b0e83a9202 avrdude/: make patches relative to avrdude-<version> directory
This way, the path names in the patch files stay the same across
avrdude versions.
2012-07-22 02:37:19 -03:00