Date:2010-08-25 09:35:18 (9 years 11 months ago)
Author:Werner Almesberger
Commit:3584b5b7367c436737b91dd0d8a4a6f65327d784
Message:Got "cntr" to show signs of life. It was the watchdog, as usual.

- TODO: "cntr" now makes it to DFU and beyond
- atrf/fw/common/config.h (PLATFORM_SETUP): rename to PLATFORM_ENTER
- cntr/fw/common/config.h (PLATFORM_SETUP): rename to PLATFORM_ENTER and
make the new PLATFORM_SETUP turn off the watchdog
Files: TODO (2 diffs)
atrf/fw/common/config.h (1 diff)
cntr/fw/common/config.h (1 diff)

Change Details

TODO
1616
1717- implement return to DFU in application's EP0 protocol
1818
19- consider removing *_ID and using bcdDevice instead
20
1921
2022Bugs to fix
2123-----------
...... 
110112- evaluate termination resistance
111113
112114- document circuit design
113
114
115Bugs to fix
116
117- the firmware flashes okay and there are no outward signs of problems, yet the
118  board doesn't do anything so far, not even blink the LED. Kinda embarrassing.
atrf/fw/common/config.h
2525 * This turns on the LED, to indicate that we're in the boot loader.
2626 */
2727
28#define PLATFORM_SETUP \
28#define PLATFORM_ENTER \
2929    LED_MODE |= 1 << LED_BIT;
3030
3131
cntr/fw/common/config.h
2121/* ----- Boot loader configuration ----------------------------------------- */
2222
2323/*
24 * Make LED output push-pull so that we can output a high voltage.
25 * This turns on the LED, to indicate that we're in the boot loader.
24 * Disable the watchdog.
2625 */
2726
28#define PLATFORM_SETUP \
27#define PLATFORM_SETUP \
28    PCA0MD = 0;
29
30
31/*
32 * Make LED output push-pull so that we can output a high voltag, then enable
33 * the crossbar. This turns on the LED, to indicate that we're in the boot
34 * loader.
35 */
36
37#define PLATFORM_ENTER \
2938    LED_MODE |= 1 << LED_BIT; \
3039    XBR1 = XBARE;
3140

Archive Download the corresponding diff file



interactive