November 11, 2024, 06:59:19 AM

OLIMEXINO Atiny85

Started by Kahnsoft, June 02, 2015, 02:38:25 AM

Previous topic - Next topic

Kahnsoft

Hi,

i have some OLIMEXINO's-85 and communicate with C/C++ Bidirectional succseedfull, i Use the Digispark
Bootloader and the extendet digispark Arudino IDE all works fine.

My Question how i can set the Fusebit with the IDE , so no one can readout the code ?

I have extend the entry in the file Hardware\digsistump\avr\boards.txt and add 4 lines.


digispark-tiny.name=Digispark (Default - 16.5mhz Fused)
digispark-tiny.upload.using=micronucleusprog
digispark-tiny.upload.protocol=usb
digispark-tiny.upload.tool=micronucleus
digispark-tiny.upload.maximum_size=6012
digispark-tiny.build.mcu=attiny85
digispark-tiny.build.f_cpu=16500000L
digispark-tiny.build.board=AVR_DIGISPARK
digispark-tiny.build.core=tiny
digispark-tiny.build.variant=digispark
digispark-tiny.upload.wait_for_upload_port = false
digispark-tiny.upload.use_1200bps_touch = false
digispark-tiny.upload.disable_flushing = false
digispark-tiny.bootloader.low_fuses=0xf1
digispark-tiny.bootloader.high_fuses=0x5f
digispark-tiny.bootloader.extended_fuses=0xfe


But i think that dont work correctly ?

How i can read out the hex datafile from chip normaly to check if fuse is set

Many thanks for answer, an Long therm of serch has bring some different Solutions
about avdude.exe but they dont work with USB -Digsipark bootloader ?

Thanks much
Karsten from Berlin