I just installed cygwin and the rpms for avr tool chain, nesc on my 64 bit
PC.
i used the rpms from this repository
http://tinyos.stanford.edu/tinyos/dists/cygwin/avr-beta/
When i try to compile Blink, i get the following error.
/opt/tinyos-2.x/support/make/avr/avr.rules:144: recipe for target
I have a generic module that expects a struct as a typedef argument
e.g. generic module LogReadWriteM(typedef LOG_STRUCT)
how can i instantiate and access member variables of the struct inside this
module?
The typedef syntax seems confusing, cos as of now it seems that i can only
pass a 'value'
I am writing my own bootloader to read an external image stored on the
External Flash memory (of an IRIS mote)
I have my own communication protocol and hence do not want to use Deluge.
So far i have been able to store an image in a volume on the external flash
memory using ConfigStorage.
Now, in
I recently cam across a possible bug in the Timer module for the IRIS
motes. I occasionally noticed that the timer would fire very late thus
causing a whole series of cascading failures in my modules.
After days of debugging, I traced the problem to the routine setInterrupt()
in the module
I have a total of 8 timers in my test app.
3 timers are periodic and fire every 7,500 and 500ms.
Fourth timer is configured to fire (one shot) based on certain parameters
on the app. Remining timers are never used.
Occasionally when i configure to the fourth fire (one shot) in 8ms, it
fires
-02-06 4:27 GMT+01:00 Roadstar Runner redstripe...@gmail.com:
I am using the Timer TMilli interface to fire every 1000ms. I have a
pin toggling every time the timer fires. The actual period i see is about
980 ms instead of 1s.
I tried using Atm128Calibrate.calibrateMicro(), but the period now
I am using the Timer TMilli interface to fire every 1000ms. I have a pin
toggling every time the timer fires. The actual period i see is about 980
ms instead of 1s.
I tried using Atm128Calibrate.calibrateMicro(), but the period now is 1020
ms.
Please advise.
Thanks.
, Martin Cerveny mar...@c-home.cz wrote:
Hello.
(this may be irrelevant hint)
On Sun, 14 Sep 2014, Roadstar Runner wrote:
I have noticed that resource.granted() is signaled at startup.
What kind of startup what kind of module ?
There is still unresolved bug for modules, that call request
But if thee is no default owner for the resource, then the system could be
locked because module 2 will never get the resource. I was under the
impression that if a call to Resouce.request() returns SUCCESS , then
either granted or requested will have to be signaled so that the resource
is
are vying for a resource.
On Sun, Sep 14, 2014 at 12:59 PM, Eric Decker cire...@gmail.com wrote:
On Sun, Sep 14, 2014 at 7:28 AM, Roadstar Runner redstripe...@gmail.com
wrote:
But if thee is no default owner for the resource, then the system could
be locked because module 2 will never get
:
On Sun, Sep 14, 2014 at 7:28 AM, Roadstar Runner redstripe...@gmail.com
wrote:
But if thee is no default owner for the resource, then the system could
be locked because module 2 will never get the resource. I was under the
impression that if a call to Resouce.request() returns SUCCESS
I have noticed that resource.granted() is signaled at startup.If
ResourceRequested.requested() is signaled to a module that does not own the
resource, i think that is a bug
On Sun, Sep 14, 2014 at 3:32 PM, Eric Decker cire...@gmail.com wrote:
On Sun, Sep 14, 2014 at 11:16 AM, Roadstar Runner
On Sat, Jun 7, 2014 at 7:03 PM, Roadstar Runner redstripeva2 at
gmail.com
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
wrote:
* I am not sure if this is a bug, though certainly not the behavior i
** expected.
** i am using FcfsArbiterC to manage my resources. .
** I
command line option '-_fnesc-no-debug'
/opt/tinyos-2.x/support/make/avr/avr.rules:144: recipe for target 'exe0'
failed
make: *** [exe0] Error 1
On Fri, Jul 25, 2014 at 9:12 AM, Roadstar Runner redstripe...@gmail.com
wrote:
Thats what i did.
I installed cygwin from scratch
On Thu, Jul 24
, Roadstar Runner redstripe...@gmail.com
wrote:
I just installed the new rpms.
i am currently stuck on the following error
avr-gcc: error: unrecognized command line option '-_fnesc-gcc=avr-gcc'
avr-gcc: error: unrecognized command line option '-_fnesc-include=nesc_nx'
avr-gcc: error: unrecognized
use a VM with full-fledged Linux running.
Regards
Anton
On 22.06.2014 15:50, Roadstar Runner wrote:
i agree that cygwin is a mess, but there are quite a few TinyOS users
out there using cygwin.
Is there a way to tell NesC to use windows style paths ?
On Fri, Jun 20, 2014 at 1:14 PM
, sometimes it gives unexpected errors, and it's really-really
slow, so I might not have the patience to fix it.
Andris
On Fri, Jun 20, 2014 at 5:55 PM, Roadstar Runner redstripe...@gmail.com
wrote:
The Atmel binaries do not work on Cygwin because of cygwin/linux path
syntax problems.
I
The Atmel binaries do not work on Cygwin because of cygwin/linux path
syntax problems.
I get an error avr-gcc.exe: error: /usr/lib/ncc/tdspecs: No such file or
directory even though the file is present.
On Fri, Jun 20, 2014 at 7:37 AM, András Bíró andras.b...@ucmote.com wrote:
Hi Everyone,
on initial boot (very low level s/w init on start up)
which zeros non-initialized data.
On Sun, Jun 8, 2014 at 7:34 AM, Roadstar Runner redstripe...@gmail.com
wrote:
Initialization to be done by the application or in ArbiterP.nc?
- Lewis
On Sun, Jun 8, 2014 at 3:43 AM, Eric Decker cire
};
uint8_t resQ[size];
Thanks,
Lewis
On Mon, Jun 9, 2014 at 12:43 AM, Eric Decker cire...@gmail.com wrote:
how is resQ[] defined?
On Sun, Jun 8, 2014 at 7:05 PM, Roadstar Runner redstripe...@gmail.com
wrote:
I recently upgraded to avr-gcc 4.9.0 and am getting a few warnings
I recently upgraded to avr-gcc 4.9.0 and am getting a few warnings in
FcfsResourceQueueC.nc.
I am not sure why gcc is complaining.
/opt/tinyos-2.x/tos/system/FcfsResourceQueueC.nc:88:73: warning: array
subscript is above array bounds [-Warray-bounds]
resQ[qTail] = id;
I am not sure if this is a bug, though certainly not the behavior i
expected.
i am using FcfsArbiterC to manage my resources. .
I currently have 2 modules using interfaces Resource and
ResourceRequested.If module# 2 calls Resource.request() after module #1
calls Resource.request() but before
You need an xml(depending on your platform) file in the same directory as
your makefile. you should be able to find this in one of the TinyOS
projects in the source tree
For IRIS motes , you need volumes-at45db.xml
On Tue, Jun 3, 2014 at 10:57 PM, trung phạm trungitiu09...@gmail.com
wrote:
inferior to atmel's pathced libc. But
atmel's kind enough to do this job. Use their version of the toolchain!
Andris
On Sun, Jun 1, 2014 at 3:10 AM, Roadstar Runner redstripe...@gmail.com
wrote:
Andris,
I understand that TinyOS is an all volunteer project and commend the time
put
toolchain. If
you're on Linux, you don't have this issue, and you can just grab the
binaries (no need to compile yourself).
Janos
On Tue, Jun 3, 2014 at 3:48 PM, Roadstar Runner redstripe...@gmail.com
wrote:
I tried upgrading gcc from the Atmel website but got stuck at the
following error when i
.
Andris
On Thu, May 22, 2014 at 11:46 PM, Roadstar Runner redstripe...@gmail.com
wrote:
I honestly think TinyOS is dying! The activity on the forum is almost
down to a trickle. It takes forever to get problems fixed ( if they do ever
get fixed) .
I have been stuck for more than a week
I am stuck with a weird error while trying to compile my TinyOS program.The
error started popping up only after i upgraded my gcc toolset.I am not sure
if this is a gcc error or NesC error
I have the following version of tools installed (target platform IRIS)
gcc 4.9.0
deputy-1.1-1.i386
chain so that dwarf debugging addresses are 2 bytes rather
than 4. I am wondering whether newer avr-gcc releases solve this problem.
Phil
On Apr 10, 2014, at 10:30 AM, Roadstar Runner redstripe...@gmail.com
wrote:
Phil,
Thanks once again.
Is there an easy way for me to find a fix
On Apr 10, 2014, at 10:30 AM, Roadstar Runner redstripe...@gmail.com
wrote:
Phil,
Thanks once again.
Is there an easy way for me to find a fix/workaround ?
Lewis
On Thu, Apr 10, 2014 at 12:13 PM, Philip Levis p...@cs.stanford.edu
wrote:
(responded to this unicast, thought I
Hi ,
I need to recompile avr gcc compiler so that the code size of the
generated elf file(for debugging with AVR studio) is not restricted to 65K.
I have never built or compiled the gcc toolchain before and information
that i have gathered online did not produce much results.
Does anyone have
to a newer toolchain, it might be easier to use that:
https://github.com/tinyos/tinyos-main/issues/278
Best,
Andris
On Tue, May 13, 2014 at 3:11 PM, Roadstar Runner
redstripe...@gmail.comwrote:
Hi ,
I need to recompile avr gcc compiler so that the code size of the
generated elf file
you start with the avr-gcc sources from Atmel's website (
http://www.atmel.com/tools/atmelavrtoolchainforwindows.aspx ), rather
than from gcc.gnu.org.
Janos
On Tue, May 13, 2014 at 8:11 AM, Roadstar Runner
redstripe...@gmail.comwrote:
Hi ,
I need to recompile avr gcc compiler so
greater
than 65,535 bytes. I'm not exactly sure why.
Phil
On Apr 8, 2014, at 3:00 PM, Roadstar Runner redstripe...@gmail.com
wrote:
I have been compiling my program with the 'avr-studio-debug' flag so
that i can use a JTAG to debug my software.
Recently, even though my program
I have been compiling my program with the 'avr-studio-debug' flag so that
i can use a JTAG to debug my software.
Recently, even though my program compiles normally without the debug flag,
it fails when i use the avr-studio-debug flag. I get a bunch of cryptic
error message that reads like this
I am trying to debug a simple TinyOS Blink program on the IRIS motes using
avr studio (JTAGICE MKII).
I was able to load the elf file, pause (break all) execution and then step
through the code. However, the only function accessible is
McuSleep.sleep(). How do i set explicit breakpoints in other
:
It would be helpful if you specified what toolchain you are using
and in particular what debugger.
On Wed, Feb 12, 2014 at 1:30 PM, Roadstar Runner
redstripe...@gmail.comwrote:
I am trying to debug a simple TinyOS Blink program on the IRIS motes
using avr studio (JTAGICE MKII).
I
the modified file if needed.
On Thu, Jan 9, 2014 at 12:56 AM, Eric Decker cire...@gmail.com wrote:
Roadstar Runner,
can you please do a verbose build and send us the output.
That will tell us exactly what modules you are pulling in.
Also where did your source come from?
Is from the release
want to use
something else than the Timer.fired()?
Miklos
On Sun, Dec 29, 2013 at 8:13 PM, Roadstar Runner redstripe...@gmail.com
wrote:
Hi,
I am trying to move all my communication tasks to a high priority task
queue. I have already tweaked the scheduler so that it can handle 2
Is there a way to use the arguments to a generic module to conditionally
compile blocks of code in that module .
for eg
generic module MyTimerM(typedef precision_tag, int val1) @safe()
{
}
implementation
{
# if val1
//some code here
#endif
Thanks in advance
I am trying to implement an alarm using compare register B (OCR2B). I
modified HplAtm1281Timer2AsyncP.nc to provide an interface for compare B
module HplAtm1281Timer2AsyncP @safe()
{
provides {
// 8-bit Timers
interface HplAtm128Timeruint8_t as Timer;
interface HplAtm128TimerCtrl8
Hi,
I am trying to move all my communication tasks to a high priority task
queue. I have already tweaked the scheduler so that it can handle 2
priority levels.
One of the tasks used by the low power listening module
(LowPowerListeningLayerP.nc) relies on a Timer task(Timer.fired() event )
to
community so that others
can benefit from it.
Please let me know what you think.
Levi
On Fri, Dec 27, 2013 at 1:58 AM, Eric Decker cire...@gmail.com wrote:
On Thu, Dec 26, 2013 at 10:23 AM, Roadstar Runner
redstripe...@gmail.comwrote:
Hi,
I am trying to implement an interface for scheduling
Hi,
I am trying to implement an interface for scheduling high priority tasks.
i have modified TinySchedulerC.nc as follows
configuration TinySchedulerC
{
provides interface Scheduler;
provides interface TaskBasic[uint8_t id];
provides interface TaskBasic[uint8_t taskID] as TaskHighPriority;
I think you have the wrong format specifier argument. Try %ld instead of %f.
Try using
dbg(Boot, Function took %ld millisecs\n, (ts1 - ts) );
On Sat, Dec 7, 2013 at 6:53 AM, nivedita datta sweetniv...@gmail.comwrote:
I am trying to calculate the time taken by a function that I wrote. I am
I have been experiencing intermittent lockups with the radio stack Iris
modules. After some debugging i figured that the problem starts in the
routine SubReceive.receive() in the file RandomCollisionLayerP.nc.
If for some reason RadioAlarm is not free (used by some other module) ,
the *state
Hi All,
I have a small test app that is storing blocks of 21 bytes of data to
flash in a circular fashion. I use ConfigStorage to mount/read/write/commit
data to the flash.
I have noticed that if overwrite a data buffer location twice, the second
commit does not have any effect.
I thought that
Hi,
I have been trying in vain to locate the memory map file generated by the
linker. Is there a cflag or something to be added to the makefile to
generate a map file.
I assumed that the linker always generates a map file
Plz: I am working on the IRIS motes
Thanks
,foo.map
Janos
On Tue, Apr 30, 2013 at 10:20 AM, Roadstar Runner
redstripe...@gmail.comwrote:
Hi,
I have been trying in vain to locate the memory map file generated by the
linker. Is there a cflag or something to be added to the makefile to
generate a map file.
I assumed that the linker
I have a fairly decent size (66K) program running on the Iris motes. The
program randomly crashes after about a week of running perfectly fine. I
have rechecked my array bounds to make sure i am not overwriting memory.
I have 5000 bytes in RAM. I tried running the stack-check utility but it
Maroti mmar...@math.u-szeged.huwrote:
Hi Lou,
On Thu, Feb 21, 2013 at 10:36 AM, Roadstar Runner
redstripe...@gmail.com wrote:
Hi Miklos,
Thank you very much. I do not even get the interrupt from the radio if i
use
RX_AACK mode. If use the basic mode , it works fine.
I used a TI (CC2430
, then I
will merge it back to the mainline. Miklos
On Thu, Feb 21, 2013 at 10:54 AM, Roadstar Runner
redstripe...@gmail.com wrote:
Hi Miklos,
Thanks for the quick response.
i made the following changes to support 64 bit addressing
/*** File Ieee154PacketLayer.h
want to use the
ActiveMessageC framework, right? How do you want to eventually handle
the 64-bit address vs the 16-bit address defined in AM.h? Maybe we
should change am_addr_t to 64-bit? Miklos
On Thu, Feb 21, 2013 at 10:59 AM, Roadstar Runner
redstripe...@gmail.com wrote:
So far no luck
address 0xULL? Miklos
On Thu, Feb 21, 2013 at 11:20 AM, Roadstar Runner
redstripe...@gmail.com wrote:
Hi,
Yes i would like to use the ActiveMessageC framework.
I hope that eventually a define in the makefile will upgrade the am
address
to a 64 bit version .
Thanks
did it work?
Can i have a copy pf the modifications?
On Thu, Feb 21, 2013 at 1:25 PM, Miklos Maroti mmar...@math.u-szeged.huwrote:
Thanks, I did not know. I have updated the git repo. Miklos
On Thu, Feb 21, 2013 at 12:13 PM, Roadstar Runner
redstripe...@gmail.com wrote:
I used
Hi,
I am trying to implement a 64 bit IEEE address frame for the RF230 using
the RX_AACK mode. The problem is that i the receiver does not receive any
data. If i use RF230_RX_ON, i am able to receive the data. I used a sniffer
and was able to capture the following raw data
Sender address = 1
The data i had posted seems to have lost its formatting, so i am re
posting the raw data captured by the sniffer
41 CC 11 22 00 FF FF 00 00 00 00 00 00 F8 00 00 00 00 00 00 00 3F 08
0B 03 00 F8 00 0F 10 00 AA 01 F8 00 00 00 00 00 00 00 00 00
___
56 matches
Mail list logo