You need the uisp program, and the command is: uisp -dprog=mib510 -dserial=/dev/ttyUSB0 --wr_fuse_h=0xd9 -dpart=ATmega128 --w r_fuse_e=ff --erase --upload if=main.srec --verify
Make sure you to check what your USB port is. There are two (one for programming, one for communication, use the first one). The file in this case is main.srec. Your hex file might work, but I'm not 100% sure. You can try it. If not, just convert it to an srec. Kaisen ----- "Péter Kókai" <[email protected]> wrote: > Hi all! > > I have a micaz mote, and a MIB520 programming board! > And my problem is, that I have a program what was write with AVRStudio > 4 in Assembly, cause I have to use this language. It generated a .hex > file! And I should upload this file to the mote! > I thought that I can do this with tinyOS, but I couldn't! I tried to > figure out a solution but I wasn't successful yet! > Is there any chance to do this with TinyOs? To upload a .hex file to > the mote? > > Thanks & Regard > Peter Kokai > _______________________________________________ > 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
