Commit graph

279 commits

Author SHA1 Message Date
Mariano Alvira 963d7a69de don't hose the cpu by using read instead of input 2009-05-09 15:43:22 -04:00
Mariano Alvira d47aa338ec Merge branch 'untested' of git://git.devl.org/git/malvira/mc1322x-tests into untested 2009-05-09 15:31:13 -04:00
Mariano Alvira 706da17807 clean up and flash type workaround. 2009-05-09 15:30:54 -04:00
Mariano Alvira e50480adea Merge branch 'untested' of ssh://git.devl.org/home/malvira/git-pub/mc1322x-tests into untested 2009-05-09 14:56:59 -04:00
Mariano Alvira 37a5b3d2ec Merge branch 'untested' of git://git.devl.org/git/malvira/mc1322x-tests into untested 2009-05-09 14:56:12 -04:00
Mariano Alvira 2783ad26f0 clean up debug. 2009-05-09 14:55:48 -04:00
Mariano Alvira c68af8819f print appended , to the extra data 2009-05-09 14:53:27 -04:00
Mariano Alvira a0db791175 add support for extra write data string. 2009-05-09 14:43:17 -04:00
Mariano Alvira d60cc72ac4 terminate extra data string with a comma for flasher.c 2009-05-09 14:42:07 -04:00
Mariano Alvira 60582e33bf changed the test condition to match the end of the captured string.
this is better in case there is junk at the beginning or if the first
one is incomplete.

also removed the debug ARGV print
2009-05-09 13:22:14 -04:00
Mariano Alvira 834ac85603 Merge branch 'untested' of ssh://git.devl.org/home/malvira/git-pub/mc1322x-tests into untested 2009-05-08 18:06:46 -04:00
Mariano Alvira 002d63056b send aux data on the command line after writing the files. 2009-05-08 18:06:06 -04:00
Mariano Alvira 04286f8aa7 Merge branch 'untested' of git://git.devl.org/git/malvira/mc1322x-tests into untested 2009-05-08 18:05:48 -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 6b77fe8c37 flashing needs a little more time. 2009-05-08 17:41:24 -04:00
Mariano Alvira 75cede71a6 Merge branch 'untested' of ssh://git.devl.org/home/malvira/git-pub/mc1322x-tests into untested 2009-05-08 17:29:44 -04:00
Mariano Alvira 6fbc97a798 this version of mc1322x can flash code with flasher. 2009-05-08 17:29:01 -04:00
Mariano Alvira 274f715f22 Merge branch 'untested' of git://git.devl.org/git/malvira/mc1322x-tests into untested 2009-05-08 17:27:53 -04:00
Mariano Alvira 3bea9ac2f0 this version of flasher works. 2009-05-08 17:27:24 -04:00
Mariano Alvira 311b2f49c4 finish merge of fast with repeat with second stage loading 2009-05-08 15:33:05 -04:00
Mariano Alvira b7b99c15f2 first try at dual stage loading. 2009-05-08 15:31:18 -04:00
Mariano Alvira 4730dc048d fixed syntax errors. 2009-05-08 15:28:34 -04:00
Mariano Alvira e18588dd1a first try at dual stage loading. 2009-05-08 15:10:21 -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 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 b6eb7ca6ff send big packets. 2009-05-03 18:50:47 -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 c0bb4cb810 slight timer cleanup 2009-04-24 17:07:15 -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 ba2bf34b13 Merge branch 'untested' 2009-04-22 16:12:02 -04:00
Mariano Alvira f421cde7f8 changed tmr test to blink purple 2009-04-22 16:11:32 -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 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