Hi,

I am not sure what is your error but I find some differences in your 
code as compared to our code.

We use directly /dev/ttyUSB0 and do not create any soft link.
We use --wr_fuse_h=0xd9 instead of 0xd8. We use avr-objectcopy with 
argument "-O ihex".

and following command
uisp -dprog=mib510 -dserial=/dev/ttyUSB0 --wr_fuse_h=0xd9 
-dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=output.ihex

It works for us.

best regards,
----
Faisal Aslam

Ph.D. candidate
University of Freiburg
http://cone.informatik.uni-freiburg.de/people/aslam/


trilok i wrote:
> Hi to all, Please help me
>
> avr-objcopy --output-target=srec build/micaz/main.exe 
> build/micaz/main.srec
> avr-objcopy --output-target=ihex build/micaz/main.exe 
> build/micaz/main.ihex
> writing TOS image
> set-mote-id build/micaz/main.srec build/micaz/main.srec.out-0 0
>     installing micaz binary using mib510
>
> uisp -dprog=mib510 -dserial=/dev/ttyS1 --wr_fuse_h=0xd8 
> -dpart=ATmega128  
>   --wr_fuse_e=ff    --erase --upload if=build/micaz/main.srec.out-0
> Direct Parallel Access not defined.
> make: *** [program] Error 2
>
> When i tried to install code into micaz it is throwing following 
> error. If anyone faced same problem, please tell how to solve this 
> problem. I tried in all possible ways. I have set soft link ls -sf 
> /dev/ttyUSB0 /dev/ttyS0.
> I even tried rebooting my system but still it is throwing same error.
>
>  Thank you.
>
> ------------------------------------------------------------------------
> Get easy photo sharing with Windows Live™ Photos. Drag n’ drop 
> <http://www.microsoft.com/india/windows/windowslive/photos.aspx>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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