Commit graph

57 commits

Author SHA1 Message Date
Mariano Alvira e1059a9b15 updated to use the leds on the RedBee hardware and made it a little more general.
Signed-off-by: Mariano Alvira <mar@devl.org>
2009-06-22 12:35:39 -04:00
Mariano Alvira bf9e762a81 moved crm addresses to crm.h 2009-05-27 15:05:25 -04:00
Mariano Alvira 0696772202 more current data with hobby board. 32kHZ mode doesn't seem to use
much more power than 2kHz.
2009-05-21 17:30:00 -04:00
Mariano Alvira 34c91a6726 this code starts up the 32kHZ clock 2009-05-21 14:52:27 -04:00
Mariano Alvira 9f075dcf1a cause TX_ON to flash when transmitting 2009-05-20 20:12:39 -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 13656da889 corrected comments about ram retention 2009-05-11 17:26:10 -04:00
Mariano Alvira 5dbd9aa02f added a few comments 2009-05-11 17:03:20 -04:00
Mariano Alvira 4ca63b9b86 this test demonstrates sleeping in both hibernate and doze.
wake up is controlled with the wake up timer.

read the comments for current measurments.
2009-05-11 17:01:31 -04:00
Mariano Alvira bc59b04bbf sleep tests. 2009-05-11 15:52:30 -04:00
Mariano Alvira cb4dd0d23e reverting this file back to dumping the calibration section. 2009-05-09 15:48:02 -04:00
Mariano Alvira 706da17807 clean up and flash type workaround. 2009-05-09 15:30:54 -04:00
Mariano Alvira 2783ad26f0 clean up debug. 2009-05-09 14:55:48 -04:00
Mariano Alvira a0db791175 add support for extra write data string. 2009-05-09 14:43:17 -04:00
Mariano Alvira cd973de335 catch the aux. send.
still need to parse it for something like:

0x1e000,0x11223344,0x55667788
2009-05-08 18:04:55 -04:00
Mariano Alvira 3bea9ac2f0 this version of flasher works. 2009-05-08 17:27:24 -04:00
Mariano Alvira c0b912dca2 flash and burn
completely untested.
2009-05-08 12:32:14 -04:00
Mariano Alvira 102149cd91 change write address to be the same as what I'm using as my RIME
address.
2009-05-05 16:25:46 -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 b6eb7ca6ff send big packets. 2009-05-03 18:50:47 -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 f421cde7f8 changed tmr test to blink purple 2009-04-22 16:11:32 -04:00
Mariano Alvira 8964c60d9a enabling thumb only enter user mode in tmr-ints.
usermode breaks rftests.
2009-04-22 16:06:35 -04:00
Mariano Alvira 9f31e40864 only go into usermode in the interrupt test... still sorting out the
best way to handle this.
2009-04-22 15:14: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 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 e012142abe initial interrupt stuff
taken from Contiki
2009-04-20 14:28:53 -04:00
Mariano Alvira d25385d2aa blink blue but with the timer. 2009-04-20 14:15:24 -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 a5656b81b0 full dis of init exec entry. ready to implement this now. 2009-04-15 19:26:49 -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 d75d9d98f5 This makefile seems to do better. 2009-04-15 13:40:21 -04:00
Mariano Alvira f023a1a8f7 turn on thumb. untested.
make system still links in a lot of unnecessary stuff.
2009-04-15 11:58:29 -04:00
Mariano Alvira 2136e0fe06 removed dump_regs --- can add it back later if we need it.
builds now.
2009-04-14 17:47:51 -04:00
Mariano Alvira d3fecae255 template for new nvm-read test 2009-04-14 17:46:35 -04:00
Mariano Alvira 4998a75ada this is working well 2009-04-13 18:19:13 -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 2120524903 notes. 2009-04-13 09:55:35 -04:00
Mariano Alvira 8d25438841 checkpoint 2009-04-11 17:17:37 -04:00
Mariano Alvira 3a0505d2f6 test to make a rom image 2009-04-10 16:01:57 -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 fe7dabd1f2 updated other tests with startup section 2009-04-04 15:52:09 -04:00
Mariano Alvira a940f4db2b maybe the modem syn. needs to be set right.
reenabled the uart1-loopback code --- doesn't seem to be working ---
strange.
2009-04-04 15:27:08 -04:00
Mariano Alvira ef276e336c lots of code. Still doesn't work though.
Thanks Jim!
2009-04-02 18:05:13 -04:00
Mariano Alvira 4db3756dac checkpoint 2009-04-02 14:54:02 -04:00
Mariano Alvira 8221cc260e starting a rftest rx test. This will put it in the continuous receive
mode and send the bytes received to the uart.
2009-04-01 17:57:02 -04:00