Mariano Alvira
d3fed95235
tmr-ints
2010-02-26 16:15:26 -05:00
Mariano Alvira
cd5e5b1706
tmr
2010-02-26 15:35:57 -05:00
Mariano Alvira
a2b51b0e3c
add flasher
2010-02-26 14:51:01 -05:00
Mariano Alvira
383a965c21
add romimg
2010-02-26 14:22:41 -05:00
Mariano Alvira
6309b16235
config is in config.h now
2010-02-26 14:22:28 -05:00
Mariano Alvira
64824b4ebc
place all the config into config.h
2010-02-26 14:21:46 -05:00
Mariano Alvira
87cd9c7a36
update build system for board specific code that's 'local' to the
...
program you are building.
update tests to consolidate common code.
2010-02-26 14:04:10 -05:00
Mariano Alvira
a791be393b
update nvm-write
2010-02-26 13:03:37 -05:00
Mariano Alvira
8f6e672cc0
fix warnings
2010-02-26 12:53:21 -05:00
Mariano Alvira
9a8004c177
working on nvm-read.
...
fixed lib ordering on link command
2010-02-26 12:37:13 -05:00
Mariano Alvira
59dca22769
clean up default_vreg_init
2010-02-26 07:30:53 -05:00
Mariano Alvira
0c4f5c61ef
need a way to run board specific lowlevel inits
...
like for vreg. this is a start.
2010-02-24 18:47:53 -05:00
Mariano Alvira
637c9ddab2
cleaned up uart1-loopback
2010-02-24 14:45:45 -05:00
Mariano Alvira
289a839161
finish blink tests
2010-02-24 13:35:37 -05:00
Mariano Alvira
f79c71153a
now running just 'make' builds all the targets for all the boards.
2010-02-23 18:54:50 -05:00
Mariano Alvira
dc9473a228
cleanup main makefile
2010-02-23 18:27:12 -05:00
Mariano Alvira
95dccba797
update blinks
2010-02-23 18:19:38 -05:00
Mariano Alvira
8ca9a0269e
better variable defs.
...
touch objdir to fix problem where board.h would try to get created
after it's already been created.
2010-02-23 18:14:32 -05:00
Mariano Alvira
59391d7529
board.h works now
2010-02-23 15:53:00 -05:00
Mariano Alvira
3cc6896981
fix blink-red
2010-02-23 15:52:46 -05:00
Mariano Alvira
1522b72b1e
clean up gpio and leds
2010-02-23 15:16:12 -05:00
Mariano Alvira
dcc2d5299c
for now you must define BOARD.
...
I'd like it to be though that if board isn't defined then it makes
everything.
2010-02-22 19:18:48 -05:00
Mariano Alvira
1759ff01a0
getting there...
2010-02-21 18:47:12 -05:00
Mariano Alvira
5adb6413d7
Hi Mar.
2010-02-21 17:34:27 -05:00
Mariano Alvira
948478193e
checkpoint
2010-02-21 10:25:22 -05:00
Mariano Alvira
8c17fc36d1
starting libmc1322x.a
2009-12-15 14:18:48 -05:00
Mariano Alvira
e340e234c6
clean up
2009-11-04 17:30:18 -05:00
Mariano Alvira
d247a613b7
Not all pins default to GPIO. Setting func_sel to 3 enables GPIO for
...
each pin. Do this.
2009-09-17 16:11:19 -04:00
Mariano Alvira
16f680544c
adding a test that blinks all the GPIO --- good for testing soldering
...
jobs.
2009-09-07 14:39:48 -04:00
Mariano Alvira
611370fe58
removing the old hardcoded type stuff from flasher.
...
doesn't seem to be a problem.
Signed-off-by: Mariano Alvira <mar@devl.org>
2009-08-06 09:56:47 -04:00
Mariano Alvira
3d7125e2a9
put rftests back to channel 11
...
Signed-off-by: Mariano Alvira <mar@devl.org>
2009-08-04 10:54:23 -04:00
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
Mariano Alvira
5fc1a9f224
baudrate mystery was my bad code.
2009-03-30 16:11:08 -04:00
Mariano Alvira
880c75d989
working test loopback. Baudrate value is still unexplained.
2009-03-30 15:52:15 -04:00
Mariano Alvira
ffcae0d070
looks like the bootload needs a character delay to work reliably ---
...
harcoded 1ms delay.
2009-03-30 15:48:11 -04:00
Mariano Alvira
952b9b5b7e
comment noting what I set mod and inc to.
2009-03-30 14:09:29 -04:00
Mariano Alvira
09e99ba429
this works, but there are unexplained things like why it can't print
...
the whole message, why I can't enable RX, and why the baud number is
what it is.
2009-03-30 14:07:42 -04:00
Mariano Alvira
b77fb10e63
multiple tests work now.
...
added blink code for all the leds.
2009-03-30 10:01:14 -04:00
Mariano Alvira
583e00d2d9
checkpoint... working on multiple test objects.
2009-03-29 09:42:20 -04:00