-
Notifications
You must be signed in to change notification settings - Fork 2
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
No signal in vga32 1.4 #1
Comments
There is no single way to support all monitors with all possible resolutions and modes, so many will not display correctly, but you can always fine-tune frequencies and syncs. https://github.com/rpsubc8/ESP32TestVGA In this repository you can test the different video modes, where you will see which ones your monitor supports in real time. const int VgaMode_vga_mode_320x200[12]={ The frequency of the PLL can also be changed: |
How can I be sure that it is booting correctly? Is there a debug pin which i can use to see log? |
To see a detailed log, in the gbConfig.h file you have to uncomment the pragma #define use_lib_log_serial. Here you have all the information: |
The log is below, it seems to be hanging somewhere rst:0x1 (POWERON_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT) |
I recommend using the exact libraries and framework. Using others doesn't mean that it doesn't work, but that the higher versions consume more SRAM and can cause problems. According to the log and as I mentioned previously, it is probably getting stuck in the PLL calibration in the ESP32 for the bitluni VGA video sequence, that is, in the call to the rtc_clk_apll_enable function. https://retrowiki.es/viewtopic.php?f=118&t=200038367&start=64 This is a problem in several ESP32's, which even ESPRESSIF has not noticed to this day. The solution is to use other PLL values, as I mentioned. You can do a simple test, which is to test the program: If that is the problem, I will upload the video mode shortly, as I have done in other emulators. |
I have added 320x200 mode support with fabgl's PLL (#define use_lib_vga320x200x70hz_fabgl). //Video mode selection |
Thanks, that worked fine! Just for the record, the modes that worked in my lg1721a: |
I needed your help @djogopatrao, as you have a board that has a PLL calculation defect (blocking), while my boards do not have such a defect, so it is very difficult for me to perform more accurate tests. The help consists of recompiling a simple program (vgapll.zip) which I attach below in the link and running it on your board. If everything is correct, it should display the text "Test 320x200 PLL" with the bitluni 320x200 video mode. If you could also send me the log of the output of the same program, it would be appreciated. https://github.com/rpsubc8/ESP32TinyFake86/blob/main/preview/vgapll.zip https://github.com/rpsubc8/ESP32TinyFake86/blob/main/preview/vgapllcustom.zip You should try both programmes (vgapll.zip y vgapllcustom.zip). |
I used arduino IDE 2.1.1 do compile and upload fake86 to my vga32 version 1.4.
Arduino options were set as below. In this print you can see the final messages of the upload process.
The VGA32 then , when plugged to a lg1721a monitor, yields no video signal.
The code used was cloned today. Git HASH is cb8f3ff
The text was updated successfully, but these errors were encountered: