new chibios
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 4 Oct 2011 06:27:57 +0000 (15:27 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 4 Oct 2011 06:27:57 +0000 (15:27 +0900)
README
chibios

diff --git a/README b/README
index e1295f2..b0535df 100644 (file)
--- a/README
+++ b/README
@@ -250,6 +250,25 @@ On STBee (high-density device of STM32), I observed stall of
 generation of random number, after two hours, two hours and half, etc.
 Not yet identified the bug.
 
+Identified somehow:
+       adcp->state = ADC_ACTIVE
+       main thread: wait on condition variable at neug_get
+       rng thread: holding rb->m, event wait at rng_gen for ADC_DATA_AVAILABLE
+       idle thread: running
+       LED thread: event wait
+
+Kicking DMA controller again (ADC is continuous mode).
+
+(gdb) set ADCD1.dmastp->channel->CCR = 0
+(gdb) set ADCD1.dmastp->channel->CNDTR = 8
+(gdb) set ADCD1.dmastp->channel->CCR = 0x258f
+(gdb) x/x 0x40020000           # DMA interrupt status register (DMA_ISR)
+0x40020000:    0x00000007
+
+Then, it goes again.
+
+Lost DMA finish interrupt?
+
 
 Your Contributions
 ==================
diff --git a/chibios b/chibios
index 88ba80f..4da01a0 160000 (submodule)
--- a/chibios
+++ b/chibios
@@ -1 +1 @@
-Subproject commit 88ba80f31e181a85bb5357849a439d037093c761
+Subproject commit 4da01a052c7ca04eeacb564e1dbdc3c989348d64