help loading files from usb
-
- Posts: 2
- Joined: Mon Jun 13, 2022 5:09 pm
help loading files from usb
i am trying to create an nes clone using an esp32 that can take cartridges. The only problem is that it is a nightmare to try and get my head around. all i need to do is be able to load up roms from a usb drive, as the cart reader acts as a usb drive where the rom is stored. how would i read usb drives with an esp32 board and load them in the nofrendo emulator, or at best, convert the usb drive to an sd card interface?
-
- Posts: 826
- Joined: Mon Jul 22, 2019 3:20 pm
Re: help loading files from usb
If you are truly tied to using USB, you will need to start with an ESP32-S3, which has a native USB interface. There is an example to use USBMSC at https://github.com/espressif/arduino-es ... USBMSC.ino .
USB is fairly new to ESP32, so this will not be something that an inexperienced programmer is going to be able to accomplish (ie copy from someone else). If you switch to an SDcard, you will find hundreds of examples of how to do exactly what you are asking.
USB is fairly new to ESP32, so this will not be something that an inexperienced programmer is going to be able to accomplish (ie copy from someone else). If you switch to an SDcard, you will find hundreds of examples of how to do exactly what you are asking.
-
- Posts: 2
- Joined: Mon Jun 13, 2022 5:09 pm
Re: help loading files from usb
ok then, so, what pins do i attach a usb port to, and what code do i need to get it running?
Who is online
Users browsing this forum: No registered users and 76 guests