I read that if you upload a sketch through ISP, the bootloader is deleted, and its space will be available for sketch, and the execution of the sketch will start inmediatelly after power up the board, and that it will not be possible to upload a sketch through serial as there is no bootloader.
But, I updlaoded a sketch through ISP, then executed the "Atmega chip detector. Written by Nick Gammon" and yes, there is no bootloader, but as the fuses was not changed (fuses does not change with a sketch upload AFAIK, chance to change fuses is while burning a bootloader) i understand that the space for the bootloader is void but stil preserved, ad so, it is not available to sketch:
Bootloader is 2048 bytes starting at 7800
And that the chip is goint to this memory direction, as "boot into bootloader" aka"Boot Reset vector Enabled" aka"BOOTRST" aka "Bootloader in use" fuse is still enabled.
Am I missing something? Shouldn't ideally this BOOTRST fuse be set to "no boot into bootloader" that is: BOOTRST=1 if you need all available memory for sketch?
Atmega chip detector.
Written by Nick Gammon.
Version 1.20
Compiled on Mar 6 2022 at 10:24:34 with Arduino IDE 10819.
Attempting to enter ICSP programming mode ...
Entered programming mode OK.
Signature = 0x1E 0x95 0x0F
Processor = ATmega328P
Flash memory size = 32768 bytes.
LFuse = 0xFF
HFuse = 0xDA
EFuse = 0xFD
Lock byte = 0xFF
Clock calibration = 0xA2
Bootloader in use: Yes
EEPROM preserved through erase: No
Watchdog timer always on: No
Bootloader is 2048 bytes starting at 7800
Bootloader:
...
MD5 sum of bootloader = 0xE0 0xDE 0xEB 0xD3 0xC3 0xF5 0x60 0x21 0x2A 0xF1 0x7C 0x68 0xB9 0x34 0x4B 0xAE
No bootloader (all 0xFF)
Programming mode off.