Javier,

> I didn't know anything about stk500 or avr isp mkII, are they 
> specific-programmers?
Yes, they are in-system programmers from Atmel. Typically, you don't
have a 51-pin mote connector in your embedded design, so you fall back
to the programmers supplied by the mcu manufacturer.

> And I was wondering whether I could use the standard make iris install.1 
> mib520,COM3,
> or maybe I could damage the mote?. Is it necessary to change the fuses, the 
> company that
> made for us the circuit told that we had to put clkint and jtagen, that is 
> fuse_l=0xc4 and
> fuse_h=0x19, because they tried with other configuration in a mote and they 
> couldnt
> reprogram the mote anymore.

I assume they didn't put an external oscillator on the PCB. This means
that you need to set the fuses such that the internal RC oscillator is
used for the MCU clock. The tinyos make system, by default, programs
the fuses iris motes to use an external oscillator. These defaults
would break your motes. You need to put the correct fuse values in
your app specific Makefile:
AVR_FUSE_L = 0xc4
AVR_FUSE_H = 0x19

Please note that I did not verify that the above values are correct, I
just copied them from the mail you sent. I suggest that you experiment
with the iris mote (not the OEM module) first -- it's harder to break.

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

Reply via email to