Automatic load of sketch > 512 Bytes, at power up without PC [solved]

In a productive environment, I would like to use an autonomous system (without connected PC) based on Arduino Uno with integrated power supply. As the system is not supposed to work all the time, I would like to avoid, having to connect it to a PC after each power up, just because of sketch loading. I have read the following remark in the Internet:

"If you power up an Arduino it will start running the last sketch that was loaded into it. It saves the program in its non volatile memory."

That would be ok if the program is less than 512 Bytes. But how to do for bigger programs? If it can be done with the sketch written on an SD-Card, how to program (or connect) the Arduino such that he loads the sketch from the SD Card automatically at power up? I think this problem has already been asked but I could not find it within Google. Maybe you can indicate me links with precise indications.

I am new with Arduino and still in the concept phase (no practical test yet started). But I already read two books to have a basic overview and have written draft sketchs. That is why I know that they will be larger than 512 Bytes.

Tnanks for your help!

the MCU stores the program in flash memory and runs it from there. the flash of atmega 328p on Uno has 32kB

Thank you very much Juraj for your prompt help :slight_smile:

As a newbie, I had overseen the flash memory and made confusion with the small EEPROM of the board which has only 512 B or 1 KB space (and is supposed to be used for small data recording).

Even if it was only my first post, this Forum is already a real help for me. I am happy for its existence and for the quick disponibility of experienced people ready to help.