Commit Graph

63 Commits

Author SHA1 Message Date
Mariano Alvira
334c316c0a make xtal trimming part of the lowlevel init routines. 2010-03-16 10:40:25 -04:00
Mariano Alvira
6fa57c8e9f remove unused variable 2010-03-10 11:20:39 -05:00
Mariano Alvira
67aed03b1d added interrupt based uarts. 2010-03-09 18:23:40 -05:00
Mariano Alvira
3178906b43 surpress warning. 2010-03-08 18:13:19 -05:00
Mariano Alvira
20f6a749d1 isr updates 2010-03-04 18:52:04 -05:00
Mariano Alvira
a00b9f7bd0 better start file
removed unnecessary line from tmr-int test
2010-03-02 16:26:42 -05:00
Mariano Alvira
8bd9f182d4 link objects in as archives so only what we need gets linked.
Add an option to build objects without space resevered for rom calls.
2010-03-02 14:32:34 -05:00
Mariano Alvira
0187cfbf93 Now you can build targets with or without the reserved ROM var space. 2010-03-02 10:38:32 -05:00
Mariano Alvira
205b53787e cleaned up rftest-rx a little 2010-02-26 17:44:39 -05:00
Mariano Alvira
d3fed95235 tmr-ints 2010-02-26 16:15:26 -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
c4f6aa459e checkpoint -- reorganizing and fixing errors 2010-02-20 09:33:28 -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
c419d7403b generate ctov properly.
Thanks Umberto!

Signed-off-by: Mariano Alvira <mar@devl.org>
2009-05-29 14:50:38 -04:00
Mariano Alvira
ebee1f67d7 add radio_on and radio_off. 2009-05-11 12:01:15 -04:00
Mariano Alvira
be410aceaf cleanup 2009-05-05 16:24:47 -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
8b88d34678 address for nvm write. 2009-05-03 18:50:35 -04:00
Mariano Alvira
f7cc777ee1 fixed typo --- everything still works. 2009-05-01 16:47:02 -04:00
Mariano Alvira
efb6671bf7 Merge branch 'untested' 2009-04-24 16:04:37 -04:00
Mariano Alvira
d869766664 using weak links for individual isrs 2009-04-24 16:04:04 -04:00
Mariano Alvira
2288c9e2ff better way to do irqs 2009-04-24 15:42:15 -04:00
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
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
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
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