ESP8266 - Protect

For my project I'm going to use ESP-01S (black pcb).On the internet it says it cannot code protect.Anyone can remove the SPI flash chip from the board & read the contents.I'm new to this ESP thing not have much knowledge.

There are two chips on this board.One is 8266 chip & the other one is SPI flash.Then whats the point of 8266 main chip if does not hold any data/programming code?

image

What's the point of the engine in the car if the fuel tank is the thing holding all the gas?

If you must have code protect you will need a different board.

Reading your code is possible but it will need someone to understand assembly language. If the code were to be read back it will NOT look like the code in the IDE but will be a block of numbers that represent the base instructions to the processor.

So while it can be done, it will require someone skilled and motivated.

There are two chips on this board. One is 8266 chip & the other one is SPI flash. Then whats the point of 8266 main chip if does not hold any data/programming code?

They work as a team. Why do you find it so odd?

1 Like

Very nice answer.

  1. Reading SPI flash can be done from a flash reader.What about reading the 8266 chip? Can that be done too?
  2. If both read by somehow, can the readed HEX values upload to another new board?
  1. Reading SPI flash can be done from a flash reader.What about reading the 8266 chip? Can that be done too?

My understanding is there is no user code on the processor. But I don't know what can be read.

You can read the processor spec sheet to see more. I think it is an ESP8266EX or close to that.

I think it will need a little fiddling with the format but Yes.

1 Like