Hi Urs,

I wrote a simple program using ICC-AVR, which toggled bits on
port A and which in turn blinked the leds and this hex program
when copied on the platform worked correctly.
infact this hex file copied on the mica2 using uisp also works correctly.
i tried with and without the timer.
note this is not using assembler directives in NesC, but similar
assemble directives with the icc-avr interface.

am not sure if tinyos is looking for h/w that is not present
on the platform (e.g., flash, radio etc and failing, which i think is unlikely),
or if i am some wrong settings or smtg else ...

thanks,
-- puru
On 5/29/07, Urs Hunkeler <[EMAIL PROTECTED]> wrote:
Hi,

Do the LEDs work if you write a simple program in assembler? Can you
control the LEDs when using assembler directives in NesC code (without
timer)? If yes, does it also work with timers?

Cheers,
Urs


Puru schrieb:
> hi all,
>
> we are developing a mote-like (mica2-like) device, which currently
> only has the mcu and minimum cicuitry to get it started
> (no external flash, no radio yet).
>
> the initial idea is to compile apps using tinyos and
> copy the corresponding ihex files using icc-avr or such
> onto the new platform. we are facing problems with
> this procedure,  have tried testing the procedure using Blink,
> as the LED circuitry is available on the new platform.
> Have verified the fuse bits, disabled to bootloader
> and have also written a Blink program in icc-avr
> which toggles port a bits and in turn does toggle the LEDs.
> This icc-avr hex file when copied via uisp on a crossbow
> mica2 toggles the LEDs as well, but the Blink ihex file
> generated via tinyos copied via icc-avr to the new platform
> does nothing.
>
> any directions on how to proceed or what is the
> actual load process  would be helpful.
>
> thanks,
> - Puru



--
"True compassion is more than flinging a coin at a beggar."
- Rev. Dr. Martin Luther King, Jr.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to