1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-12-26 08:41:45 +02:00
Commit Graph

170 Commits

Author SHA1 Message Date
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
Werner Almesberger
9942f62cb8 ubb-vga/regs4740.h: add some more register locations 2012-07-22 02:31:38 -03:00
Werner Almesberger
d897d8fcac ubb-usb/pin-change.fig: corrected some small errors in drawing or style 2011-10-05 03:43:33 -03:00
Werner Almesberger
f8185f4e65 ubb-usb/pin-change.fig: illustration of how to change multiple pins with a single write 2011-10-04 20:40:36 -03:00
Werner Almesberger
bdd95bdbf8 ubb-usb/Makefile: added PDF generation 2011-10-04 12:49:13 -03:00
Werner Almesberger
540f224962 ubb-usb/: concept drawing of simple UBB-USB hardware 2011-10-04 12:44:48 -03:00
Werner Almesberger
70ca7a5676 Merge branch 'master' of projects.qi-hardware.com:ben-blinkenlights 2011-08-14 02:55:47 -03:00
Werner Almesberger
9bb36e668d Moved atmega48-mmu symbol from ben-blinkenlights to kicad-libs (deletion) 2011-08-14 02:53:58 -03:00
Werner Almesberger
d16acb6295 Moved atmega48-mmu symbol from ben-wpan to kicad-libs (deletion) 2011-08-14 02:48:53 -03:00
Werner Almesberger
a4ca380663 nxuart/nxuart.pro: updated for move of atmega48-mmu symbol 2011-08-14 02:48:53 -03:00
Werner Almesberger
437eafe2cc nxuart/nxuart.pro: updated for move of qfn.fpd 2011-08-14 00:41:20 -03:00
Werner Almesberger
92ce05358b ubb-vga.c (usage): correct synopsis (-r is now called -m) 2011-07-04 15:09:22 -03:00
Werner Almesberger
cd3dbc04f0 avrdude/README: added build instructions for making a static executable 2011-05-10 17:47:38 -03:00