Commit Graph

22 Commits

Author SHA1 Message Date
Mariano Alvira
34c91a6726 this code starts up the 32kHZ clock 2009-05-21 14:52:27 -04:00
Mariano Alvira
d8a8d529bc Sleep works now. Make sure to turn the radio off first. 2009-05-12 17:19:57 -04:00
Mariano Alvira
fa91eed2a1 added crm.h from contiki 2009-05-11 17:58:21 -04:00
Mariano Alvira
ebee1f67d7 add radio_on and radio_off. 2009-05-11 12:01:15 -04:00
Mariano Alvira
d231cd0120 this version of nvm-write works because it erases the sector first
before writting it.
2009-05-05 15:18:28 -04:00
Mariano Alvira
48732b5379 nvm write test 2009-05-05 13:43:53 -04:00
Mariano Alvira
c0bb4cb810 slight timer cleanup 2009-04-24 17:07:15 -04:00
Mariano Alvira
d869766664 using weak links for individual isrs 2009-04-24 16:04:04 -04:00
Mariano Alvira
bdbf279d0f tmr imts works. I'm not thrilled with how the interrupts and modes are
set... but I'm not sure what to do about it. The big problem is that I
have to be in user mode to service irqs, but I can't enable and
disable F and I in usermode. All I can do is an swi and then have
handler which lets me enable or disable them (like a mini-syscall).
2009-04-22 14:55:40 -04:00
Mariano Alvira
10fdafbcb2 initial isr. has problems. 2009-04-20 18:38:45 -04:00
Mariano Alvira
09b15558a1 preliminary interrupts. looks like it is entering the isr but isn't
leaving correctly.
2009-04-20 18:31:13 -04:00
Mariano Alvira
cfd985c837 modified at91 interrupt code from contiki to use the mc1322x registers
and to produce code that works with THUMB.
2009-04-20 15:42:21 -04:00
Mariano Alvira
b508d138a8 flash init --- makes them work much better.
resumeMACAsync on each received packet --- no more lockups.
2009-04-16 17:59:00 -04:00
Mariano Alvira
424761f23d initial try at init entry execution 2009-04-16 10:51:20 -04:00
Mariano Alvira
438c940ed7 nvm read works now. 2009-04-15 17:32:00 -04:00
Mariano Alvira
721173449c startup code 2009-04-15 15:03:47 -04:00
Mariano Alvira
1cc946b53a rftest-rx is done for now. it prints out each received packet with a
timestamp and toggles the green led.
2009-04-13 15:54:10 -04:00
Mariano Alvira
b8a7dd0c9e Ha! I make you work!
rftest-rx gets something now.
2009-04-13 14:11:18 -04:00
Mariano Alvira
5144fe36dd fill with the magic data... going to try this in place of their radio
init and see if that gets there board working.
2009-04-07 18:52:12 -04:00
Mariano Alvira
bd459e187f found some magic data. best guess so far. 2009-04-07 18:19:00 -04:00
Mariano Alvira
7c55a53876 added maca files that got missed. 2009-04-07 09:33:04 -04:00
Mariano Alvira
77b920ffaa initial commit.
includes test code that toggles pin 26 and a perl script that loads
the code over UART1.
2009-03-27 16:00:10 -04:00