Chat freely about anything...

User avatar
By lilzz
#47194 In the esp-open-sdk example, blinky,
I typed make and it output blinky executable, blinky-0x00000.bin , blinky-0x4000.bin

so, if I want upload the executable file to ESP8266 chip, what's the next step.

Because the ESP8266 has firmware in the flash memory, would uploading the blinky executable affect the firmware?
User avatar
By martinayotte
#47199 When you upload new application, such the blinky example compile under esp-open-sdk, it is replacing and completely replace any existing firmware on the module. In other words, the blink is a firmware on it own !

How to upload it, there are several tools, but I think you should use the esptool.py
User avatar
By lilzz
#47219 Hi,
I don't want to replace the original firmwares because that would lose the AT commands , no?
There's the flash, dram and sram memory. Why the blinky can't be a regular program(dram memory)? why it has to be a firmware(flash memory).
User avatar
By eduperez
#47224 Well, you can't have your cake and eat it too...

If you upload your blink example, you completely replace the AT firmware. And you cannot have both of them running at the same time, because there is just one processor and one serial connection. Perhaps you can mix the functionality of the AT firmware (or at least some part of it) into your own code.