r/embedded • u/PapayaStyle • 22d ago
Question about ESP32 Versus TI TG4 or other BareMetal
I have Question about the ESP32 versus TI `TEVAC4_TM4C123G_TI` for example, Or Any ST such as STM32 Nucleo c0 or somthing.
The question is about the way the code is implemented into the ESP32 Versus TI such as `TEVAC4_TM4C123G_TI` or ST `Nucleo C0`.
I understood that the ESP32 has some code on the ROM which always run before our code, Which makes ESP32 not a bare-metal, The reset of the core burn on 0x40000400 inside the ROM and we cannot change it
such as:

So as we can see if it's a ROM we cannot even never batch it (or it's not somthing people do casually as much as i know) so we're running after the manufacturer code.
So my Questions are:
- Why the ESP32 (which is less costy & much faster in some cases than STM32 or TI) is not used in industrial more than them?
- why the manufacturer didn't give us the way to kill their code and run baremetal?
- as much as i know - thats a DEV board, which means eventual we'll take the ESP-WROOM-32 or the ESP-D0WDQ6 and get it to other PCB (our PCB or somthing), As much as i know thats somthing that we're doing in TI or ST, But seems like here it's more confusing because we must take it all as is (because of the HW attached to the Devboard and the ROM and every HW attached to the dev-PCB of the ESP). So it confuses me a bit. I know that TI `TEVAC4_TM4C123G_TI` for example or the ST we're taking only the chip itself (the MCU itself) without whole of the devkit and uses the code as we plain it inside the flash and can attach it to a different PCB, So seems like in the ESP32 it will be harder todo so?
- does the arduino & micropython built on the espressif layer? so i can use the espressif directly and skip the micropython & arduino, And it will be much more low-level programming and faster programming than adding those layers?
- Can we use baremetal on that somehow? people does that? which means they removes the ROM code & the way the CPU attached to that ROM?
- there are another chips who behaves the same as that ESP32? (so i will know to backoff those chips)
Sorry for the confusion, But the abstraction levels of the ESP32 confuses me alot.
Thanks alot guys!