Re: [Tinyos-help] Compile to binary

2007-10-15 Thread jose m
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:

Re: [Tinyos-help] Compile to binary

2007-10-15 Thread jose m
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

[Tinyos-help] Compile to binary

2007-10-12 Thread jose m
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

[Tinyos-help] at90can128 instead of atmega128

2007-07-11 Thread jose m
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

Re: [Tinyos-help] Active message protocol

2007-06-05 Thread jose m
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

[Tinyos-help] Rv: Active message protocol

2007-06-04 Thread jose 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

[Tinyos-help] Active message protocol

2007-06-04 Thread jose m
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? ___

[Tinyos-help] Compiling to others platforms

2007-05-16 Thread jose m
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

[Tinyos-help] Rv: at90can128 support

2007-05-15 Thread jose m
- 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

[Tinyos-help] at90can128 support

2007-05-15 Thread jose m
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

[Tinyos-help] TinyOS MICA2 MAC

2007-03-14 Thread jose m
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

[Tinyos-help] cannot upgrade tinyos 1.1.0

2006-12-14 Thread jose m
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? ___

[Tinyos-help] Upgrading tinyos

2006-12-12 Thread jose m
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

[Tinyos-help] updating to 1.1.15

2006-10-25 Thread jose m
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

[Tinyos-help] compiling to assembler

2006-10-02 Thread jose m
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

[Tinyos-help] Make error 255

2006-09-29 Thread jose m
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

[Tinyos-help] tx from cc1010 to mica2/tinyos1.1.0 platform

2006-09-27 Thread jose m
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

[Tinyos-help] tinyos upgrade

2006-09-27 Thread jose m
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é

[Tinyos-help] micaz support

2006-09-26 Thread jose m
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

[Tinyos-help] Micaz

2006-09-25 Thread jose m
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!

[Tinyos-help] Constant structures resident in flash

2006-09-12 Thread jose m
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?

[Tinyos-help] Radio communication: preamble length

2006-09-12 Thread jose m
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!

[Tinyos-help] interrupts and async events question

2006-09-09 Thread jose m
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é

Rv: RE: Rv: Re: [Tinyos-help] Interrupts and async events question

2006-09-08 Thread jose m
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

Rv: Re: [Tinyos-help] Interrupts and async events question

2006-09-07 Thread jose m
  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

[Tinyos-help] Interrupts and async events question

2006-09-06 Thread jose m
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

[Tinyos-help] cc1000controlM.nc: calibration problem

2006-09-04 Thread jose m
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

[Tinyos-help] SEC-DED Encoding

2006-09-04 Thread jose m
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

[Tinyos-help] "Struct" dimension problems: pc vs mica2

2006-08-25 Thread jose m
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

[Tinyos-help] adding a .C to a proyect

2006-08-15 Thread jose m
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

[Tinyos-help] Variable elaboration

2006-08-03 Thread jose m
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

Re: [Tinyos-help] What's this means

2006-07-17 Thread jose m
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 > > > > &

[Tinyos-help] What's this means

2006-07-14 Thread jose m
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

[Tinyos-help] send and receive bytes through UART

2006-07-14 Thread jose m
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

Re: [Tinyos-help] Atomic and interrupts question II

2006-07-12 Thread jose m
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

[Tinyos-help] Atomic and interrupts question

2006-07-12 Thread jose m
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é

[Tinyos-help] this is not the classic MSG_SIZE question

2006-07-11 Thread jose m
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é __

[Tinyos-help] Writing on EEPROM

2006-07-11 Thread jose m
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

[Tinyos-help] printing constants on flash

2006-07-05 Thread jose m
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

[Tinyos-help] Rv: Constants writed on the flash

2006-06-28 Thread jose m
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

[Tinyos-help] Constants writed on the flash

2006-06-28 Thread jose m
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

[Tinyos-help] using UART

2006-06-27 Thread jose m
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

[Tinyos-help] WatchDog

2006-06-26 Thread jose m
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é

[Tinyos-help] Writing on flash

2006-06-26 Thread jose m
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

[Tinyos-help] Rv: rf message packet

2006-06-23 Thread jose m
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 -

[Tinyos-help] Reading from registers

2006-06-23 Thread jose m
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 _

[Tinyos-help] rf message packet

2006-06-22 Thread jose m
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

Re: [Tinyos-help] Dynamic memory management

2006-06-22 Thread jose m
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

[Tinyos-help] Dynamic memory management

2006-06-22 Thread jose m
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

[Tinyos-help] Tasks memory allocation

2006-06-20 Thread jose m
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

[Tinyos-help] Watchdog use

2006-06-16 Thread jose m
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

[Tinyos-help] Setting mote id

2006-06-15 Thread jose m
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

[Tinyos-help] make pc compilation error

2006-05-31 Thread jose m
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

[Tinyos-help] Async: semantic question

2006-05-29 Thread jose m
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

[Tinyos-help] programming on chipcon cc1010 mcu 8051

2006-05-23 Thread jose m
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

[Tinyos-help] warning: uncombined call

2006-05-18 Thread jose m
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!,

[Tinyos-help] Language question

2006-05-04 Thread jose m
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

[Tinyos-help] Radio message problem solved...

2006-04-20 Thread jose m
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

RE: [Tinyos-help] radio message problem

2006-04-19 Thread jose m
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 > > >

[Tinyos-help] radio message problem

2006-04-19 Thread jose m
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

[Tinyos-help] UART connection

2006-04-10 Thread jose m
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 (

[Tinyos-help] RAM + ROM occuppied by app for mica2 mote

2006-04-04 Thread jose m
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

[Tinyos-help] Adding my own component problem ++

2006-04-04 Thread jose m
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

[Tinyos-help] adding my own component problem ++

2006-04-03 Thread jose m
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

[Tinyos-help] Adding my own component problem +

2006-03-31 Thread jose m
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

[Tinyos-help] Adding my own component problem

2006-03-31 Thread jose m
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

[Tinyos-help] Strange anomaly

2006-03-27 Thread jose m
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? __

[Tinyos-help] Languaje implementation questions

2006-03-27 Thread jose m
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

[Tinyos-help] pointer use question

2006-03-23 Thread jose m
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

[Tinyos-help] using stdio.h

2006-03-21 Thread jose m
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 __

[Tinyos-help] What happen?

2006-03-20 Thread jose m
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

[Tinyos-help] Longer messages

2006-03-01 Thread jose m
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