small packets to mcu, who
send this to ATTiny. The s record or intel hex are too big and need processing
for create binary data. How I do this hex dumping?
- Mensaje original
De: Michael Schippling <[EMAIL PROTECTED]>
Para: jose m <[EMAIL PROTECTED]>
CC:
pling <[EMAIL PROTECTED]>
Para: jose m <[EMAIL PROTECTED]>
CC: tinyos-help@Millennium.Berkeley.EDU
Enviado: sábado 13 de octubre de 2007, 16:16:12
Asunto: Re: [Tinyos-help] Compile to binary
main.exe is the binary file for the platform to which you are compiling
I suspect that there is
Hello,
A question: Can I compile my code to create a binary file? not intel or
motorola, hexadecimal code. Is the "main.exe" the binary?
Thanks in advance.
Los referentes más importantes en compra/ venta de autos se juntaron:
Demotores y Yahoo!
Ahora comprar o vender tu auto es más fác
I have a modified MICA2 mote, with the atmega128 replaced with at90can128
microcontroller. Later, I adapt TinyOS 1.1.15 to this platform, and
everything works, except the RF transmission. A spectrum analizer shows me that
the message exists and the frequency id correct, and a sniffer shows me
ot; is checked). This behavior looks
intentional... any reason for this?
- Mensaje original
De: Steve McKown <[EMAIL PROTECTED]>
Para: tinyos-help@millennium.berkeley.edu
CC: jose m <[EMAIL PROTECTED]>
Enviado: martes 5 de junio de 2007, 1:20:23
Asunto: Re: [Tinyos-help] Active m
Anyone reads my questions?
Thanks.
- Mensaje reenviado
De: jose m <[EMAIL PROTECTED]>
Para: tinyos-help@Millennium.Berkeley.EDU
Enviado: lunes 4 de junio de 2007, 21:38:58
Asunto: Active message protocol
Checking out the AMStandard.nc file I see that, if you are transmitting a
Checking out the AMStandard.nc file I see that, if you are transmitting a radio
message, the AMStandard component is occupied until the tx is done, and you
cannot tx to UART until then. Why? any problem tx to radio and UART at the same
time?
___
I have a running system implemented for a mica2 mote. Now, I want to change the
mote microcontroller from an ATMega128 to an AT90Can128. Several registers and
interrupts address changes, and the CAN Bus functionallity is added, so:
There is an easy way to add a new platform to TinyOS?
Can I add a
- Mensaje reenviado
De: jose m <[EMAIL PROTECTED]>
Para: tinyos-help@Millennium.Berkeley.EDU
Enviado: martes 15 de mayo de 2007, 17:34:19
Asunto: at90can128 support
Does TinyOS support at90can128? If not, how can I migrate my TinyOS application
from ATMega128 to At90Can128
Does TinyOS support at90can128? If not, how can I migrate my TinyOS application
from ATMega128 to At90Can128? Do I change avr/io.h?
Thanks.
__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo
Hello, I can't find documentation about TinyOS MAC for MICA2 mote. So, I read
the CC1000RadioIntM.nc component. Now I understand the protocol, however,
there is an aditional function associated to RSSI values, a task called
adjustSquelch(). I see how it works and what it does, and I have som
I need to upgrade tinyos 1.1.0 to 1.1.15. After update cygwin with the version
recommended by the community page, I follow the steps (rpm ...blah blah) and
an ugly message shows up:
"failed dependences >= 1.1.1 nesc required"
h... my nesc is already >= 1.1.1, or isn't it?
___
I'm trying to upgrade tinyos 1.1.0 to 1.1.15. I 've installed tinyos 1.1.0
with cygwin successfully (works fine), and then follow the "steps to update"
from the TinyOS community page. First I must update cygwin, I do this and no
problem (keep working). However, when I try to install the "rpm
Recently, I have to install tinyos on another computer. When I try to update tinyos (after a successfull installation of 1.1.0 version) to 1.1.15, I have the following problem:$ rpm --force --ignoreos -Uvh tinyos-1.1.15Dec2005cvs-1.cygwin.noarch.rpm error: Failed dependencies: nesc
Hi,Can be compiled the nesc code to assembler instead to hexadecimal?ThanksJosé
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
Probalo ya! ___
Tinyos-help mailing list
Tinyos-help
I try to update my tinyos version, but it ask me to update cygwin. I try to update cygwin and, once the intallation has been finished, everything stop working. I spend three days clearing my poor pc of cygwin and tinyos files and stuff.Then I reinstall tinyos 1.1.0 (the same version that successful
I'm working on a cc1010 node. It will be part of my sensor network. As you know, tinyos doesn't support cc1010 so, I read the component "cc1000RadioIntM.nc" to see how is the communication. I translate the transmission way of tinyos's cc1000RadioIntM.nc to a Keil C program for cc1010 (crc also), a
Hello, I want to upgrade my tinyos version from 1.1.0 to 1.1.10 (micaz support) but, I need improve my cygwin version too. So, I download the last Cygwin. Cygwin doesn't include tinyos, result: lo mismo que nada. How can I install tinyos on this new Cygwin? Thanks in advance. José
Hi, I'm using tinyos 1.1.0-1is and doesn't have micaz support. Wich version has it? José
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
Probalo ya! ___
Tinyos-help mailing
Hello, I see several posts talking about micaz. Anyway, tinyos 1.x (my version) doesn't support this mote. Does tinyos 2.x support it? José
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
Probalo ya!
I see this declaration:
static const prog_uchar
CC1K_LPL_PreambleLength[CC1K_LPL_STATES*2]
it say that is a constant defined on flash (only
read). I want to do the same thing for save memory, so
"static const" is enough, and the use the PRG_RDB
macro. Yes? where is defined this macro?
I wish to know how is defined the Manchester preamble
in tinyos for mica2 motes (length, syncronization
byte, etc).
__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo!
Conor Todd says that the async events can't be
interrupted by another interrupt. Philip Levis says
that te interrupts are enabled when an interrupt
declared with the INTERRUPT keyword is running (and so
every async event signalled by this one). What's the
true?
José
ble system. If an
> event/command is interrupt-enabled, let's not use
> "async" keyword.
>
> Otherwise, probably very few people know such
> difference -- not good for
> this community
>
> -Original Message-
> From: Philip Levis [mail
I'm not asking how to avoid the async nature of interrupts. My question is, when an interrupt routine is called, if the all the interrupts continue masked until every async event, function or command called from the current interrupt routine is finished. José
Preguntá. Respondé. Descubr
Hello everybody,
In tinyos, usually, an interrupt signals an async
event. When an interrupt routine is executed, all the
interrupts are masked and cannot interrupt the current
interrupt routine. If this interrupt routine jumps to
a signalled event, are the other interrupts disabled
until this even
Hello,
this code line comes rigth after you send the
cal_start to the cc1000. It should wait until
cal_complete = 1. However, as I understand it it waits
for cal_complete = 0. Hence, it does not wait for any
calibration. am I interpreting it wrong?
while (((call HPLChipcon.read(CC1K_CAL)) &
(1
Hello all,
I'm trying to communicate a mica2 mote with a CC1010.
As tinyos doesn't work on cc1010, I need to implement
the SEC-DED encoding.
- Where can I find more information about the
protocol?
- Component RFM is used, but the file doesn't exists.
Also an RFM file is included. How it works?
T
Hello all, I has this problem: when I compile my app for debug using "make pc", this structure has a size of 16 bytes: typedef struct intruder_ping_t { uint16_t temperature; uint32_t latitude; uint32_t longitude; uint32_t timestamp;} intruder_ping_t; as you know, this is c
Hello,
I have a "x.c" (with "x.h") file that I want to add at
my proyect. How can I do this?
Thanks,
José.
__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respu
Hello all, If I have a component, with a global variable declared and initialized with a value, example: int x = 1; Has this variable his init value before any call to one of the component's commands? Thanks, José
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y l
s return to the main
> program and execute one
> > more instruction before any pending interrupt is
> served." So maybe that
> > one more instruction clears any pending interrupts
> before they can be
> > served?
> >
> >- Conor
> >
> >
&
Hello,
Recently, I've made lots and lots of questions about
transmitting data by UART port, because I have this
bug and cannot solve it (a little more, and I'll be a
lunatic). My problem is this: if my system runs
several days, one of these days (any one, any time),
no more UART transmission is do
Hello,
What happens with the data and the interrupts, in a
mica2 mote, if I send and receive bytes, at the same
time through UART0?
Thanks.
José
_
Horóscopos, Salud y belleza, Chistes, Consejos de amor:
el contenido más
Well, I'm using the UART component for serial
communication, and I say that this happen to me a lot
of times.
Take a look at the UARTM code:
--
async event result_t HPLUART.putDone() {
bool oldState;
atomic {
dbg(DBG_UART, "intr: sta
Hello,
- The "atomic" sentence, DISABLE interrupts or DELAY
interrupts?
- Suppose that the async event X is signalled. Before
event X ends his execution, the same async event X is
signalled. Does the second call to X preempt the
execution of the same X's code?
Thanks in advance,
José
Hi,
I put in my makefile MSG_SIZE=64, MSG_SIZE=128,
MSG_SIZE=512, MSG_SIZE=32, and none works. Radio
messages with payload longer than 29 bytes aren't
transmitted. Why? (why god, why).
Thanks in advance.
José
__
Hello,
I'm writing an EEPROM on mica2 motes, for save
internal state when the micro is reseted. I use
tinyos's routines for EEPROM management, and write
lines 12, 13 and 14; and then reset the micro using
Watchdog timer. When the system starts, reads lines
12, 13 and 14 from EEPROM; and send the d
Hello all,
My mica2 application requires a lot of RAM for radio
messages. The mote is connected to a GPS, and must
initialize this one. For initialization purposes, the
system sends to the GPS a NMEA protocol ASCII string.
This string never changes, so is a constant string,
and needs several bytes
Hello,
There is any way that a string can be declared
allocated (at compilation time) on flash or EEPROM?
Because I need to save RAM.
Thanks in advance.
José
___
1GB gratis, Antivirus y Antispam
Correo
Can I declare with nesc a constant structure allocated
on the flash? (static or something).
José.
___
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.co
Hello everyone,
I'm using the UART in a weird way. My UART is
connected to three devices (another mica2 mote, a
laptop and a GPS) with a multiplexor. I switch this
mux every 300 ms, and send messages using UART
component (interface ByteComm).
After a random time (an hour, two... even three days)
t
Hi,
I'm trying to use the WatchDogC component, but the
compiler can't find "AbsoluteTimerC". I've searched
the entire tinyos directory for it without success.
There is something that I must download?
Thanks in advance.
José
Hello,
How can I write on the flash memory from tinyos? and
declare constant structures that remain on flash?
(like a constant string)
José.
___
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor
Please, where can I find some documentation about
tinyos's RF protocol?
___
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar
--- Begin Message -
Hi,
"inp()" allow me to read from a register?
José.
___
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar
_
Hello again,
I'm trying of communicate a cc1010 with a mica2 mote
trough radio. Without tinyos for the cc1010, I need to
know how the radio messages interface works. There is
any reference somewere? I'm only need send from cc1010
to mica2.
Thanks.
Jose
en I read your mail I immediately browsed the
> CVS tree on Sourceforge for the TinyAlloc
> in :
>
> Index of /tinyos-1.x/tos/lib
>
> But could not find it.
>
> could you tell me where I can find the TinyAlloc
> Compoment ?
>
> Thank you
> > On Jun 22, 200
Hello all,
I'm working on a system implemented in mica2 motes.
This system manages several lists of messages, and
these messages have a size of ten to one hundred bytes
each. Mica 2 has only 4k of RAM, so these lists must
be really short (not an option) or I must implement
dynamic memory allocatio
Hello all,
When I post a task: tinyos save stack memory for that
task before his ejecution (when is posted) or, when
the task will begin his excecution?
thanks in advance
Jose
_
Horóscopos, Salud y belleza, Chistes, Cons
Hello,
I'm working on mica2 motes. How can I use watchdog
from tinyos?
Thanks in advance.
José
___
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com
Hi everyone,
I'm programing my motes through serial port, and not
parallel. So, I'm using 'uisp' directly instead of
'make install' or 'make reinstall'. My question is:
how can I set mote id without use 'make'?
Thanks!
José
__
Correo Yahoo!
Espaci
Hello,
I'm working with mica2 motes, using CC1000ControlM,
and changing the baud rate of serial port. When I
compile this code for simulation, CC1000ControlM and
the constans applied to instruction 'outp' are
considered compilation errors. Is really cumbersome
disable and enable those lines, for s
Hello,
What means 'asyncronous' command or event? What's the
difference between an asyncronous and a not
asyncronous command or event?
Thanks.
_
Yahoo! Autos. Más de 12.000 vehículos publicados.
¿Qué esperás para vender el tuyo
Hello all,
Can I use tinyos for programming a Chipcon cc1010?
How?
Thanks in advance,
José
___
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar
Hello all,
I receive this warning after compilation. ¿what this
means?
calls to Pool.allocate in CPSReceiveM are uncombined
thanks in advance,
José
___
1GB gratis, Antivirus y Antispam
Correo Yahoo!,
Hi everyone,
If I have two declarations of the same component, like
those
component A as X, A as Z;
and A has a variable v. v in X and v in Z share the
memory location?
__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis
Hi,
My mistake:
Server.SendMsg -> GenericComm.SendMsg[8]
Server.ReceiveMsg -> GenericComm.ReceiveMsg[9]
in micas 1 and 2. Casually, the third mica2 has those
declarations
Server.SendMsg -> GenericComm.SendMsg[9]
Server.ReceiveMsg -> GenericComm.ReceiveMsg[8]
and thats why has these weird beha
mica2's.
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf Of jose m
> Sent: Wednesday, April 19, 2006 2:40 PM
> To: tinyos-help@Millennium.Berkeley.EDU
> Subject: [Tinyos-help] radio message problem
>
>
>
Hello all,
I have 2 mica2 motes, same code programed, and both
send messages through rf, using GenericComm component.
None receive message from the other. I programm a
third mica2 mote to send & receive those messages
(same send and receive code, but different tasks), and
this one receive from the
Hi,
I have a mica2 mote connected to a gps, using UART and
using UART component for handling. Also, I receive and
send radio messages. GPS works at 4800 bps, so I use
"outp()" command to set the speed properly. The GPS
works, mica2 changes his baud rate successfully, and
my program has no errors (
if my application installed in mica2 mote exceeds
14330 bytes (ROM + RAM when compiled), it doesn't
work. Anyone knows why?
__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com
I've discovered a really weird problem. Given those
declarations in a file "ps_message.h":
enum{
//el tamaño máximo de la cola de mensajes
MAX_PS_MESSAGE_QUEUE_SIZE = 8,
};
typedef struct ps_message_queue_t {
uint8_t head;
uint8_t tail;
ps_message_t elements[MAX_PS_MESSAGE_QUE
I made a system with two components, one using UART
and other usig GenericComm. Every second, the red led
toggle. It seems not work, but if I wait a lot of time
(much more than one second) red led toggle. So, I
think this app function realy slowly.
TOSSIM shows this, every 0.5 seconds:
0: RFM
I have two components, each one made by me.
The first one uses GenericComm for radio message
handling, the second one uses UART component to send &
receive bytes from another system, independent of AM,
TOS_Msg, and another tinyos's things (can't use
UARTComm).
I successfully build (no compilation e
I made an application for mica2, and uses GenericComm
for send messages through radio. I've tested this, and
work fine. When I add a component write by me (uses
UART component), the app don't work at all, not even
successfully turn on a led in StdControl.start. I
tried not use any routine from the
Take a look at this
typedef struct ps_message_t {
uint8_t header;
uint16_t identifier;
uint8_t message_size;
uint8_t message_type;
uint8_t message[MAX_PS_MESSAGE_SIZE];
}ps_message_t;
when compiled and running, identifier occupies 3
bytes. Why?
__
having this declarations...
typedef struct thing{
uint8_t a;
uint8_t b;
uint8_t c[28];
} thing;
thing d, e;
if I do d = e, elements in e.c are copied to d.c or
the address of e.c is copied to d.c?
__
Correo Yahoo!
Espacio para todos tus mens
If I have uint8_t *gb_array and uint16_t gb_array_size
as globals declarations, and a command like this:
command void c1(){
uint8_t array[16];
...
gb_array = array;
gb_array_size = 16;
gb_array_size--;
call ByteComm.txByte(*gb_array);
}
async event result_t ByteComm.txByteReady(bool
succ
Can I use sscanf in my code for the mica2 mote?
(#include )
Horóscopos, Salud y belleza, Chistes, Consejos de amor:
el contenido más divertido para tu celular está en Yahoo! Móvil.
Obtenelo en http://movil.yahoo.com.ar
__
I do:
make pc
everything was going fine, and then:
C:/PROGRA~1/tinyos/cygwin/opt/tinyos-1.x/tos/platform/pc/heap_array.c:
In function `__nesc_nido_initialise':
C:/PROGRA~1/tinyos/cygwin/opt/tinyos-1.x/tos/platform/pc/heap_array.c:217:
incompatible types in assignment
make: *** [build/pc/main.exe
I want to send and receive longer messages throught
SendMsg and ReceiveMsg interface. Can I mess with the
TOS_Msg struct, making the data array longer? There is
any problem with that?
thanks
José
___
1GB
72 matches
Mail list logo