ducasp / ESP8266-UNAPI-Firmware

This is a custom firmware that Implements UNAPI v1.1 on an ESP8266, so the MSX / z80 won't have to waste time and can just tunnel requests and re-format responses
GNU Lesser General Public License v2.1
6 stars 1 forks source link

Cannot start ocm with the unapi rom #2

Open rampa069 opened 7 months ago

rampa069 commented 7 months ago

Not sure if my esp is flashed OK. got the bins from 20210823 ESP8266 Wi-Fi Support Pack v1.0 by KdL as i cannot compile with arduino ide (keeps complaining with an error at bearssl certstore)

After flashing, i cannot see any activity on the ESP01S serial port. also no blinking on the led.

If i start the FPGA with a wifi rom, it keeps with the blue screen after the msx logo and nothing more happens.....

any idea or debug procedure?

ducasp commented 7 months ago

Hi Ramon, If your ESP is not good, the Wi-Fi BIOS that you can embed on a SD-BIOS will take about half a minute trying to communicate with it before giving up and allowing boot to continue, that is expected behavior. After 30s you should see this message for a few seconds: image

ducasp commented 7 months ago

To debug it you can use TERM8266.COM that is on the WiFi folder of the latest UNAPI pack: https://github.com/ducasp/MSX-Development/releases/tag/OCM-SMUnapiPack_v1.3 It is a simple terminal, all the ESP sends will be on screen, all you type will be sent to ESP.

Commands are listed on: https://github.com/ducasp/ESP8266-UNAPI-Firmware/tree/master/documentation

Of course many commands won't be possible to use with the simple terminal, but you can easily check if it is working by using ? to see if you receive Ok as response or you can use W to make a warm reset: image

At this moment this doesn't seem to be an issue with the ESP firmware or BIOS driver, but instead, either a connection issue OR a bad firmware flash. If you have an USB to TTL 3V3 adapter, you can connect the ESP to it and set the com port in PC to 859372 BPS and try to communicate with it using a software like HTERM, then try W or ?

Are you using KdL "USB" to Wi-Fi design to use ESP on Zemmix NEO or OCM?