This is a question based on the theory which I am reading and related to one design which I am trying to understand section by section
We are having microcontrollers and some peripherals are connected to it.
EEPROM (16Kb): https://www.onsemi.com/pub/Collateral/CAT24C01-D.PDF
SPI Flash (256Mb): http://www.cypress.com/file/448601/download
The microcontroller is connected to the EEPROM and SPI Flash.
Please check if my understanding is correct :
The software code for the microcontroller needs to stored in a separate non-volatile memory. So, that's why we are storing the boot code in the EEPROM which is a non volatile memory. And we have TFT data which needs to be displayed present in the SPI flash.
Forgive me if my question is too basic.
- Once we write the software code for the microcontroller in our PC, how do we load it into the microcontroller?
- How is the TFT information (transferred to) stored in the SPI Flash initially?
- Does microcontroller have any sort of bootcode initially?
How are these done using Hardware?
Please explain in simple terms.
I just want to know how the software for these codes get inside the hardware (ICs) before the board starts to operate.
Thank you all.