Sohail,

I think the avrdude in the stanford repository (5.10) has usb support.
At least I used it with -Pusb for avrdragon.

Andris

On Thu, Aug 18, 2011 at 11:22 AM, soahil shuaib <[email protected]> wrote:
> Dear Mr. Janos,
> Thank you for the information.
> Tinyos uses avrdude for programming avr platforms. When i compile an
> application and install it using AVRISP mk2 and give the usb device name, it
> returns error. The possible reason , as you have describesd, is that the
> avrdude does not support usb. Moreover it tries to access the parallel port
> for programming instead of usb serial port.
> One possible solution could be like this:
>
> Take the ihex file that is produced
> Program the platform with that ihex using avrdude (as you have mentioned) or
> more easily with avr studio.
>
>  Is the above strategy right?
>
> Regards,
> Sohail
>
> ________________________________
> From: Janos Sallai <[email protected]>
> To: soahil shuaib <[email protected]>
> Cc: tinyos forum <[email protected]>
> Sent: Monday, August 15, 2011 8:07 PM
> Subject: Re: [Tinyos-help] Has anyone used AVRISP mk2 with tinyos?
>
> Sohail:
>
> You will need an avrdude with USB support. Just get the sources, also
> the sources of libusb, and compile your own. The one that can be
> downloaded from tinyos.net will not work.
>
> Janos
>
> On Sat, Aug 13, 2011 at 5:28 AM, soahil shuaib <[email protected]> wrote:
>> Hello everyone!
>>
>>
>> Has anyone used the in-system programmer AVRISP mk2 for programming using
>> tinyos? Tinyos supports AVRISP and i was trying to use the mentioned
>> programmer but faced errors.
>>
>> Any help in this regard would be appreciated.
>>
>> Thanks,
>> Sohail
>>
>>
>>
>>
>> _______________________________________________
>> 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
>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to