Thanks to all,
My current fuse setting is as below:
$ uisp -dprog=mib510 -dserial=/dev/ttyS0 --rd_fuses -dpart=ATmega128
Firmware Version: 2.1
Atmel AVR ATmega128 is found.
Fuse Low Byte = 0xff
Fuse High Byte = 0xd8
Fuse Extended Byte = 0xff
Calibration Byte = 0x00 -- Read Only
Lock Bits = 0xff
BLB12 -> 1
BLB11 -> 1
BLB02 -> 1
BLB01 -> 1
LB2 -> 1
LB1 -> 1
If I want to enable BODEN, is that I should change Fuse Low Byte from 0xff
to 0xbf?
Thanks a lot for the help
Tony
On Fri, Jan 23, 2009 at 1:31 AM, Urs Hunkeler <[email protected]> wrote:
> Hi Tony,
>
> To enable brown-out detection you have to program the corresponding fuse.
> The following document explains how to program fuses (look especially at the
> last two pages):
>
> http://www.xbow.com/Support/Support_pdf_files/UISPHELP.pdf
>
> In essence, you should probably read the current fuse settings, change this
> value by setting the bit corresponding to the BODEN fuse to 1, and then
> write the fuses back to the mote (optionally, read the fuse settings again
> to make sure your changes were written correctly).
>
> Cheers,
> Urs
>
>
> Razvan Musaloiu-E. wrote:
>
>> Hi!
>>
>> On Thu, 22 Jan 2009, Tony Han wrote:
>>
>> Thank you for the help, Urs,
>>>
>>> I am not sure if the problem is due to brown-out. Since without
>>> re-install
>>> the program, that mote cannot function properly again. However, I will
>>> try
>>> your suggestion to see if brown-out detection will help to prevent this
>>> happen.
>>>
>>> I never heard about brown-out detection on mote, could you specify where
>>> and
>>> which datasheet I should looking for?
>>>
>>>
>> Page 53 from here is probably a good place to start:
>> http://www.atmel.com/dyn/resources/prod_documents/doc2467.pdf
>>
>> All the best!
>> Razvan ME
>>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help