Author Topic: Nano bootloader  (Read 3024 times)

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7308
    • View Profile
    • T2Laser
Re: Nano bootloader
« Reply #15 on: February 19, 2020, 11:52:06 AM »
So you aren't loading the sketch with Arduino IDE?

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3263
    • View Profile
Re: Nano bootloader
« Reply #16 on: February 19, 2020, 01:20:05 PM »
Sometimes. The build environment for grbl on Linux is via Makefile which matches my preferred work flow.
SARCASM - Just one more service we offer here.

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3263
    • View Profile
Re: Nano bootloader
« Reply #17 on: February 20, 2020, 04:56:20 AM »
I think the programmer selection "Arduino as ISP" only applies to the "Burn Bootloader" option. The avrdude flash burn operations ignore this setting and use "-c arduino". This  has 2 unintended side effects:

1, It erases the fuses on the target Nano rendering it unusable.
2. It replaces the firmware in the programmer Uno with the code intended for the target.

There are a number of articles stating that you need to solder a 10uF capacitor between RESET and +5 but only after loading the ArduinoISP code in the programmer. The last article I read contained some less than clear wording on which platforms this is needed on. If it needs a delay after asserting reset, why not put it in the code???
SARCASM - Just one more service we offer here.