Electronics > Beginners

To Bootload Or Not To Bootload That Is The Question....

<< < (4/4)

Rick Law:

--- Quote from: sleemanj on March 13, 2019, 08:01:47 pm ---It should be pointed out, that in Arduino land "burn bootloader" is also how you set fuses, so for example, even if using an ATTiny13 which doesn't generally have any room for a bootloader you still want to "Burn Bootloader" to set the fuses.

---

For those unaware, fuses are configuration bits, set-able only using a programmer not via the bootloader, they set things like the clock source and divider, brown out detection level, reset disable...

--- End quote ---

I was not even aware there is a "burn bootloader".

I've been using an ISP to set the fuses.  That worked well for me.

While on the topic of ISP, the Arduino ISP program in the Arduino "Examples" folder works well for AVR.  It turns an UNO/NANO into an ISP.  I use that as my programmer to flash into my NANOs, UNOs, Tiny12, Tiny25, and my Tiny85.  I used that so much that I have a dedicated NANO (on a proto-board) with SOIC clip (for TinyXX) and a 6 pin jumper socket for the NANO/UNOs.

Having that on a dedicated NANO makes it easy to read back the program whenever I am confused by "what's on this NANO?"  Grabbing the flash content from the NANO and scanning the text strings would give me a good idea of what is actually in the MCU's flash.  Without a dedicated ISP, I found it too troublesome to hook up a NANO, download the ISP, blah, blah, blah...

Navigation

[0] Message Index

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod