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: tinyos-help@Millennium.Berkeley.EDU

[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

[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
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 message protocol On Monday 04 June 2007 13:38, jose

[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 radio

[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

[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

[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? Do I change

[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

[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] 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

[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] 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. Itranslate the transmission way of tinyos's cc1000RadioIntM.nc to a Keil C program for cc1010 (crc also),

[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] 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

[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] 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
. Otherwise, probably very few people know such difference -- not good for this community -Original Message- From: Philip Levis [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 9:24 AM To: Adam Cc: 'jose m'; tinyos-help@Millennium.Berkeley.EDU Subject: Re: Rv: Re

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

2006-09-07 Thread jose m
I'm not asking how toavoid 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 thecurrent interrupt routineis 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

[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))

[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 correct for a

[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!

[Tinyos-help] Variable elaboration

2006-08-03 Thread jose m
Hello all,If I have a component, with aglobal variable declaredandinitialized with a value,example: int x = 1;Has this variable hisinit value before any call to one of the component's commands?Thanks,José Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni

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

2006-07-17 Thread jose m
be served? - Conor On 7/14/06, *jose m* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: 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

[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

[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

[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é

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:

[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] 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

[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

[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)

[Tinyos-help] Reading from registers

2006-06-23 Thread jose m
Hi, inp(register) 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] 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 ---BeginMessage---

[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

[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

[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

[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!

[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

[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

[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] 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

[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

RE: [Tinyos-help] radio message problem

2006-04-19 Thread jose m
mica2's do not transmit correctly on the default frequency (914.077 MHz). The problem is due to the physical radio layout - there is no impedance matching mica2's. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jose m Sent: Wednesday

[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] 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

[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! -

[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:

[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

[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

[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] using stdio.h

2006-03-21 Thread jose m
Can I use sscanf in my code for the mica2 mote? (#include stdio.h) 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] 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é ___