On Mon, May 16, 2011 at 12:23 AM, Prasanna Karthik V <
[email protected]> wrote:

> Is there any mean by which i can include assembly code as a part of the
> application code?
>
> I am looking for this option so that i dont have to use the JTAG based
> approach to download the application code onto the motes.
>
> Any idea?
>

why are you thinking that you need assembly to do this?

what exactly are you thinking of doing?   And why this will replace doing
code/flash writing from the JTAG.

You can program the flash using c code.

But what you are expressing sounds funny.

eric


> > I was thinking of directly writing assembly code to do the same.
> >
> > I have a basic question. How do i install the hex files generated after
> > compiling the asm code. Can i use `telosb reinstall` for this? So that
> the
> > newly generated hex file is installed on the mote.
> >
> > Excuse if that sounds stupid.
> >
> >
> >> Could this help? - http://www.sparkfun.com/products/9544
> >>
> >> Regards,
> >>
> >> André
> >>
> >>   ----- Original Message -----
> >>   From: Eric Decker
> >>   To: Prasanna Karthik V
> >>   Cc: [email protected]
> >>   Sent: Saturday, May 14, 2011 8:00 PM
> >>   Subject: Re: [Tinyos-help] Spi Testing
> >>
> >>
> >>
> >>
> >>   In short, probably not.     While SPI is a serial bus, most
> >> implementations, especially the msp430 implementation enforces byte
> >> boundaries.    The smallest unit of transmission is a byte.
> >>
> >>
> >>   On Sat, May 14, 2011 at 11:28 AM, Prasanna Karthik V
> >> <[email protected]> wrote:
> >>
> >>        I am testing the SPI functionality of a connected radio. I could
> >> see
> >>     that there are functions that send/read a byte over the SPI to/from
> >>     the radio.
> >>
> >>     Is there any lower level interface that enables us to send a
> >> bit(through
> >>     SI) over the SPI , thereby receiving the same bit on SO pin?
> >>
> >>     In short, i want to do bit-banging and test the SPI device's working
> >> status.
> >>
> >>     _______________________________________________
> >>     Tinyos-help mailing list
> >>     [email protected]
> >>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>
> >>
> >>
> >>
> >>   --
> >>   Eric B. Decker
> >>   Senior (over 50 :-) Researcher
> >>
> >>
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >>
> >>
> >>   _______________________________________________
> >>   Tinyos-help mailing list
> >>   [email protected]
> >>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> >
> >
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to