[SOLVED] Readback installed code from node mcu with arduino ide

I uploaded a sketch to my node mcu a while ago. I wish to use and obtain information from that sketch such as the signal pin number I used. Can I read from the node mcu and examine the code?

You can retrieve the firmware from the MCU but it’s unlikely to be any good to you unless you are an MCU :slight_smile:

I didn’t understand the answer. Are you saying I can only upload my sketches, but not read what sketch is already uploaded?

You can recover them but they are not in readable form. There “might” be some very, very expensive software that could do it.

before uploading a sketch to an mcu, it is transformed (compiled) from human readable code to machine code. theoretically it is possible to obtain the machine code, but it will contain unintelligible “text”.

but i see costas was faster… :slight_smile:

2 Likes

Thanks, I was unaware the pre-compiled code was unavailable.