-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldn't find rom partition! #1
Comments
I am not sure why your boot looks different (like no sound init and lots more ram available after heap is freed also vid_init done twice?) Menu selection is /spiffs/SnowB.nes |
Hi, thanks for reply. First of all, I had disabled "//#define CONFIG_SOUND_ENABLED" because I had no idea what sound module in your project. 2nd, I am using ESP32 wrover which has 4MB PSRAM built-in. I enabled PSRAM, that is why my free RAM is high. I tried to disabled PSRAM, the problem still the same "Couldn't find rom partition!". My ESP32 module keep rebooting infinitely which show 12:32:22.383 -> system type unknown, playing nofrendo NES intro. I had no idea why "vid_init done" init twice. My NES ROM in spiffs has no problem which I downloaded from https://www.emulatorgames.net/download/ and has been used with other ESP32 NES emulator with no problem. Please help to check if my config.ini has any problem below. Can help to double the project code you had uploaded here has any problem? I had also disabled all the control hardware at prior. (I don't have any hardware yet). Thanks! //Config file for ESP32 NES emulator Corn 2020 //Setting FreeRTOS sheduler to 300Hz //LCD screen & video constants //Define Display type ILI9341 (currently only ILI9341 works) // NTSC timing defaults if PAL not defined //Define to skip menu // Sound Settings, Note: Do not assign anything else to pins 25 or 26, those are used by I2S //LCD SPI transfer clock rate. With short leads to the display it is possible to run the display at 80MHz however here you can opt to run it slower //If defined it allows selection in the menu to scale/stretch frame (X axis only) to full screen (with artifacts in scrolling games). //If defined then screen interpolation is bilinear instead of nerest neighborhor sampling (looks better but uses a little more CPU) // If defined it will run the SPI transfer to the LCD as a separate task and the value indicates which CPU core 0(faster with volatiles) or 1(faster with OS_SEMAPHORE) // If defined it will use OS semafores (which seems slower!?) else use simple volatile variables to pass info between tasks // If defined rotate display 180 deg // Use DMA to transfer to screen if defined else use CPU (DMA and CPU are about equally fast...) // Turn on various debugging options //Define and it will directly boot the ROM from the list // LCD Settings using VSPI bus // SD card pin mapping //---------------------------------- // NES input pin mapping // SNES input pin mapping // PSX input pin mapping // GPIO pin mapping (raw button input) |
You can safely enable audio. It can be connected directly to an analog amplifier (with the filter shown in the ascII drawing) to drive speakers. Other than that I do not have a WROVER chip, I used a WROOM. |
Thanks for reply again.
I think the problem may be due to the library src/nes_rom.c itself. Please advice. Thanks! 17:57:15.073 -> Game controller initalizing |
Assuming that WROOM and WROVER are compatible (all tho I think that WROVER uses some of its pins to connect to the PSRAM which might influence things for the worse). From what I can tell it seems to have troubles opening the file system on either spiffs or the SD card, so maybe try some example that lists the SD card to get things running there first... the other tip is to make sure you use Arduino 1.8.13 and maybe more importantly ESPlib 1.04... I know newer versions had caused problems in other projects |
Thanks for fast reply again.
Conclusion. - Give up....... |
Please help how to solve this issue. Thanks!
01:36:03.587 -> Showing boot menu
01:36:03.775 -> Menu selection is /spiffs/tetris.nes
01:36:03.775 -> NoFrendo start!
01:36:03.775 -> Starting main loop with file: /spiffs/tetris.nes
01:36:03.775 -> free heap after sound init: 4444584
01:36:03.822 -> Game controller initalizing
01:36:03.822 -> NES Control initated
01:36:03.822 -> free heap after input init: 4442148
01:36:03.822 -> video driver: Simple DirectMedia Layer at 486555958x240
01:36:03.822 -> vid_init done
01:36:03.822 -> vid_init done
01:36:03.916 -> PPU memory allocated and cleared
01:36:03.916 -> Couldn't find rom partition!
01:36:03.916 -> abort() was called at PC 0x401054f2 on core 1
01:36:03.916 ->
01:36:03.916 -> ELF file SHA256: 0000000000000000
01:36:03.916 ->
01:36:03.916 -> Backtrace: 0x4008e000:0x3ffb1de0 0x4008e279:0x3ffb1e00 0x401054f2:0x3ffb1e20 0x400e57cf:0x3ffb1e40 0x400e1686:0x3ffb1e60 0x400e1a5f:0x3ffb1e90 0x400d76ba:0x3ffb1ee0 0x400e296b:0x3ffb1f10 0x400e29e3:0x3ffb1f50 0x400e28b9:0x3ffb1f70 0x400d1d77:0x3ffb1f90 0x400e3ea1:0x3ffb1fb0 0x4008f24e:0x3ffb1fd0
01:36:03.916 ->
01:36:03.916 -> Rebooting...
The text was updated successfully, but these errors were encountered: