Xinyuan-LilyGO / TTGO_TWatch_Library

MIT License
902 stars 289 forks source link

How to flash game rom for NES example ? #107

Closed superuser789 closed 3 years ago

superuser789 commented 3 years ago

I am using TTGO T-Watch 2020. I have successfully flashed NES example using Arduino 1.8.13 in Windows 10. The watch boots and goes blank with backlight on. In here, it is mentioned that I need to flash my nes rom to the address 0x00100000. I tried : (using esptool which I installed by : pip install esptool) esptool --chip esp32 --port "COM3" --baud 921600 write_flash -fs 16MB 0x00100000 gamrom.nes

The watch powers off and does not turn on using power button. How can I flash game rom for NES ?

lewisxhe commented 3 years ago

Please upload to spiffs with esp32fs , If you have not installed it, please see here https://github.com/me-no-dev/arduino-esp32fs-plugin png

superuser789 commented 3 years ago

Please upload to spiffs with esp32fs , If you have not installed it, please see here https://github.com/me-no-dev/arduino-esp32fs-plugin png

Thanks. It worked. Is loading multiple roms supported ? or I need to upload one game rom at a time ?

lewisxhe commented 3 years ago

This example does not support multiple games, but it can be easily changed to multiple games, you only need to add a selection interface.