Mariano Alvira
e510c078d8
Merge branch 'untested'
2009-04-22 16:09:07 -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
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
28c1ed2105
added function sections and long-calls
2009-04-20 15:43:24 -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
4f45e43984
nvm source file
2009-04-20 14:29:20 -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
3171d01b7c
added my info to the copyright.
2009-04-18 15:56:49 -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
99c91d7e3e
Merge branch 'untested'
2009-04-16 07:55:23 -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
28242cc8e1
performs rom_data_init
2009-04-15 16:14:34 -04:00
Mariano Alvira
d76846385a
startup with rom reserved vars and patch tables
2009-04-15 15:13:38 -04:00
Mariano Alvira
721173449c
startup code
2009-04-15 15:03:47 -04:00
Mariano Alvira
f4312f7cf6
I think this dis. output is better.
2009-04-15 14:15:31 -04:00
Mariano Alvira
6c40e18b03
ok. I think this is right.
2009-04-15 14:02:39 -04:00
Mariano Alvira
d75d9d98f5
This makefile seems to do better.
2009-04-15 13:40:21 -04:00
Mariano Alvira
02dfccee44
thumb code starts up properly now.
2009-04-15 12:20: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
5e64ec62f2
notes about initfromflash. verified that there is important init in
...
there.
2009-04-14 17:43:29 -04:00
Mariano Alvira
530c54d794
note about performance and suspicion that InitFromFlash is a factory
...
trim.
2009-04-13 18:59:37 -04:00
Mariano Alvira
f580b84693
Merge branch 'untested'
2009-04-13 18:40:28 -04:00
Mariano Alvira
3c72e35ed0
rename ws.dis to ws-dis so distclean stops killing it.
2009-04-13 18:39:59 -04:00
Mariano Alvira
121c1bfc07
Merge branch 'untested'
...
Conflicts:
qemu/README.qemu.mc1322x
qemu/hw/mc1322x.c
qemu/hw/mc1322x.h
2009-04-13 18:21:40 -04:00
Mariano Alvira
4998a75ada
this is working well
2009-04-13 18:19:13 -04:00
Mariano Alvira
3ecb690c8e
fixed term cmdline option
2009-04-13 18:11:48 -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
ebbcebee3a
set channel is good.
2009-04-13 12:49:28 -04:00
Mariano Alvira
08c64f776e
didn't actually do the last step. fixed.
2009-04-13 12:45:46 -04:00
Mariano Alvira
35a49ef52b
found problems and fixed them.
2009-04-13 12:33:31 -04:00
Mariano Alvira
94b04d4cd2
added missing semicolon
2009-04-13 12:18:11 -04:00
Mariano Alvira
4c2fcbecdc
removed old table
2009-04-13 12:14:34 -04:00
Mariano Alvira
7ab82dd4ab
that's how you set the channel
2009-04-13 12:13:38 -04:00
Mariano Alvira
28e49b8a7d
I think that is set_power
2009-04-13 11:29:41 -04:00
Mariano Alvira
2120524903
notes.
2009-04-13 09:55:35 -04:00
Mariano Alvira
43b9b47b99
found what I need to dump, just need the addr.
2009-04-13 08:19:46 -04:00
Mariano Alvira
2306e8cb6e
9a000 is the RF_BASE, evidently.
2009-04-13 08:16:31 -04:00
Mariano Alvira
40207dc533
working on initfromflash
2009-04-13 08:09:36 -04:00
Mariano Alvira
bc68d77b66
Lots of progress!
2009-04-12 18:31:52 -04:00
Mariano Alvira
63a7b54593
my interpretaion of the get_ctov/radio_buffer_init loop was
...
incorrect. I think it is right now.
2009-04-12 09:31:22 -04:00
Mariano Alvira
ebd1b7a2e4
correction
2009-04-11 17:51:04 -04:00