mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 17:21:52 +02:00
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
This commit is contained in:
parent
bb7b049f00
commit
3584b5b736
9
TODO
9
TODO
@ -16,6 +16,8 @@ Things not done yet
|
|||||||
|
|
||||||
- implement return to DFU in application's EP0 protocol
|
- implement return to DFU in application's EP0 protocol
|
||||||
|
|
||||||
|
- consider removing *_ID and using bcdDevice instead
|
||||||
|
|
||||||
|
|
||||||
Bugs to fix
|
Bugs to fix
|
||||||
-----------
|
-----------
|
||||||
@ -110,10 +112,3 @@ Things not done yet
|
|||||||
- evaluate termination resistance
|
- evaluate termination resistance
|
||||||
|
|
||||||
- document circuit design
|
- document circuit design
|
||||||
|
|
||||||
|
|
||||||
Bugs to fix
|
|
||||||
-----------
|
|
||||||
|
|
||||||
- the firmware flashes okay and there are no outward signs of problems, yet the
|
|
||||||
board doesn't do anything so far, not even blink the LED. Kinda embarrassing.
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* This turns on the LED, to indicate that we're in the boot loader.
|
* This turns on the LED, to indicate that we're in the boot loader.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define PLATFORM_SETUP \
|
#define PLATFORM_ENTER \
|
||||||
LED_MODE |= 1 << LED_BIT;
|
LED_MODE |= 1 << LED_BIT;
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,11 +21,20 @@
|
|||||||
/* ----- Boot loader configuration ----------------------------------------- */
|
/* ----- Boot loader configuration ----------------------------------------- */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Make LED output push-pull so that we can output a high voltage.
|
* Disable the watchdog.
|
||||||
* This turns on the LED, to indicate that we're in the boot loader.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define PLATFORM_SETUP \
|
#define PLATFORM_SETUP \
|
||||||
|
PCA0MD = 0;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Make LED output push-pull so that we can output a high voltag, then enable
|
||||||
|
* the crossbar. This turns on the LED, to indicate that we're in the boot
|
||||||
|
* loader.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define PLATFORM_ENTER \
|
||||||
LED_MODE |= 1 << LED_BIT; \
|
LED_MODE |= 1 << LED_BIT; \
|
||||||
XBR1 = XBARE;
|
XBR1 = XBARE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user