Commit graph

7295 commits

Author SHA1 Message Date
adamdunkels f5a57a4e54 Fixes by Ward Van Heddeghem (reapplied from versioin 1.24) 2009-04-30 20:21:06 +00:00
fros4943 09409fc5a7 fixed last commit regarding "run_bigmem": some windows systems cannot allocate more than 1500mb maxmemory 2009-04-30 08:16:34 +00:00
fros4943 b22cfd88bd increased maximum heap memory 2009-04-30 07:46:17 +00:00
adamdunkels e70cf0c7c6 Rewrite of the collect module. The new version uses a packet queue for outgoing and forwarded packets so that more than one packet can be forwarded at the same time. The new version uses the packetqueue module to maintain the packet queue. 2009-04-29 20:48:57 +00:00
adamdunkels c489b1118d New module: packetqueue. The packetqueue module maintains packet queues for other modules. 2009-04-29 20:47:30 +00:00
fros4943 dbd5f095e4 new default clock frequency for Contiki's sky motes: 3.9MHz 2009-04-29 20:04:56 +00:00
nvt-se 17fa2f1618 make sure that page isolation is called after erasing a sector in reluctant GC.
simplified the GC logic a bit.
2009-04-29 13:15:59 +00:00
adamdunkels 3c68862599 Make wpcapslip compile with current uip headers 2009-04-29 11:56:14 +00:00
adamdunkels 6fcca2d545 Initialize ctimer, add IPv6 address configuration for the aaaa prefix 2009-04-29 11:49:27 +00:00
adamdunkels e6215712ca When a node is configured as an IP gateway, we switch off the power-saving MAC protocolto improve performance and to avoid problems with the serial communication that X-MACs use of rtimers can cause 2009-04-29 11:46:20 +00:00
adamdunkels 064f4488d4 Increase default CPU speed from 2.4576 MHz to 3.9 MHz. Communication works better, at a low power cost 2009-04-29 11:43:48 +00:00
adamdunkels bbab7ba55c When the tmote-bsl binary is found, program only one mote at once (parallel programming with tmote-bsl doesn't seem to work) 2009-04-29 11:42:56 +00:00
adamdunkels cc44e89415 Reduced default strobe time, which seems to work well. Avoid running the interrupt if the power-save feature is turned off (fixes problems with serial data reception on a gateway mote) 2009-04-29 11:42:13 +00:00
adamdunkels c02a82ac41 Tag outgoing TCP packets with the ERELIABLE attribute so that an underlying power-saving MAC protocol can treat them differently, because it knows that an ACK might be arriving soon 2009-04-29 11:40:33 +00:00
adamdunkels 92862ad2a5 Increased the number of iterations for ugly-hack-loop that checks if a transmission has started, to accommodate a faster CPU speed on the MSP430 2009-04-29 11:38:50 +00:00
adamdunkels c9df0ab123 Bugfix in debug message printout 2009-04-28 14:01:46 +00:00
adamdunkels 81ef83b856 Added option to wait randomly before sending a packet. A few code cleanups. Avoid switching radio off when sending a packet with end-to-end acks, because an ACK may arrive shortly after the transmission. 2009-04-28 14:00:53 +00:00
adamdunkels fdd05f5c71 Bugfix: psock send should use PT_WAIT_UNTIL() not PT_YIELD_UNTIL(). This improves TCP throughput by 100x under minimal-net 2009-04-28 13:52:04 +00:00
fros4943 330b5275a1 bug fix: bytes were not displayed correctly (signed) 2009-04-28 07:33:09 +00:00
fros4943 3aac9a49ce bug fix: last address bytes were not displayed correctly (signed) 2009-04-28 07:29:26 +00:00
joxe eec984dfe3 minor bugfix - added process_pause 2009-04-25 22:38:00 +00:00
joxe 889a2bb024 minor improvements 2009-04-25 10:21:51 +00:00
joxe 19a30284e5 fixed minor bug in viewer 2009-04-25 10:04:38 +00:00
joxe d8d7e9142d added a hi-res RSSI scanner and viewer for sky/jcreate 2009-04-25 09:41:37 +00: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
fros4943 332d1f45c0 running test with simulation delay to avoid test timeout while external ping process has not finished 2009-04-23 10:53:32 +00:00
fros4943 964310303d cloned sky ip ping test, but for contiki motes 2009-04-23 10:43:16 +00:00
fros4943 382d69ed5d release semaphores before stopping simulation (may deadlock) 2009-04-23 10:41:35 +00:00
fros4943 921ceabb50 implemented writeArray() and writeByte() for Contiki serial interface 2009-04-23 09:17:01 +00:00
fros4943 9f299c277e added experimental slip support for contiki motes 2009-04-23 09:15:51 +00:00
fros4943 9bd3d07510 implemented slip_arch_writeb() function 2009-04-23 09:02:06 +00:00
fros4943 11879f210c improved debug output 2009-04-23 08:59:22 +00:00
fros4943 2768a96b9b minor fixes: remember last used test, respect maximum window size etc 2009-04-23 08:54:10 +00:00
fros4943 3a6e561ea8 better button description: "Stop" -> "Pause" 2009-04-23 08:48:01 +00:00
fros4943 0d82fcb143 contiki shell example with only platform independent commands 2009-04-23 08:42:07 +00: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
fros4943 997a5f6983 reverting previous accidental commit 2009-04-21 20:46:02 +00:00
fros4943 4790ff8f74 increasing loop symbols for higher clock speed 2009-04-21 18:22:41 +00: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