GBS 8200/8220 CFW Project

The place for all discussion on gaming hardware
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

1920x1080 output should be fairly simple to achieve.
Maybe I can add additional presets to just the ESP8266 code path, available only via web ui.
The AtMega is already filled to the brim.
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

Phew, the new bypass mode is pushed to development!

It allows Component sources to be connected to a standard TV set via RGB SCART, if the RGBHV output is passed through a sync combiner first.
I once built a cable to connect a PC to a regular TV. Iirc it only used a single diode to combine syncs, but it worked.
If I can find that cable, I'll test this on my Trinitron.

EDTV or HDTV sources can use this bypass mode as well, but the presets aren't well optimized yet.
Once I figure out the correct IF settings, the new bypass mode will be better than trying to upscale the image in regular processing mode.
User avatar
maxtherabbit
Posts: 1763
Joined: Mon Mar 05, 2018 4:03 pm

Re: GBS 8200/8220 CFW Project

Post by maxtherabbit »

rama wrote:Phew, the new bypass mode is pushed to development!

It allows Component sources to be connected to a standard TV set via RGB SCART, if the RGBHV output is passed through a sync combiner first.
I once built a cable to connect a PC to a regular TV. Iirc it only used a single diode to combine syncs, but it worked.
If I can find that cable, I'll test this on my Trinitron.

EDTV or HDTV sources can use this bypass mode as well, but the presets aren't well optimized yet.
Once I figure out the correct IF settings, the new bypass mode will be better than trying to upscale the image in regular processing mode.
hell yeah
User avatar
AndehX
Posts: 790
Joined: Sun Oct 18, 2015 11:37 pm

Re: GBS 8200/8220 CFW Project

Post by AndehX »

rama wrote:1920x1080 output should be fairly simple to achieve.
Maybe I can add additional presets to just the ESP8266 code path, available only via web ui.
The AtMega is already filled to the brim.
That would be perfect! If I can get 1080p output to my projector, then I can finally start dialing in proper settings to finally achieve those elusive sharp pixels :D
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

Don't get your hopes up too soon :p
There are a lot of variables that are never the same between a GBS or source reset / mode change.
I don't have a reliable optimum phase finder method yet.
The SOG slicer / sync input levels are somewhat dynamic and will affect where the H-PLL locks to, compared to the video.
Various scaler units can lock onto that PLL clock at an imperfect offset, etc.

Similar steps are required in your projector.

So in the end, you may have to adjust your optimum preset each reset.
Resetting the GBS (or reloading the preset) often aligns the clocks correctly though.

A very good sync stripper solution would improve this situation a lot!
User avatar
AndehX
Posts: 790
Joined: Sun Oct 18, 2015 11:37 pm

Re: GBS 8200/8220 CFW Project

Post by AndehX »

rama wrote:
A very good sync stripper solution would improve this situation a lot!
Well that can be sorted easily as long as I have a guide or something to follow. Also my gscart has a built in sync stripper that all my consoles go through before they get to the GBS.
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

There are a few common issues like slow signal flanks and improper levels, mostly because users cannot be expected to know the ideal setup for each of their systems.
Retro consoles output wildly different sync signals after all.
Suggestions like the 470 Ohm series, 75 Ohm to ground resistors for CSYNC are a "on size fits all" solution.
Using Composite Video or Luma is a little better controlled in that regard.
At least we can be somewhat sure of the levels, and thus proper termination.

Once the sync signal reaches the GBS board, it would probably best to descramble it and generate H+V sync.
Maybe the Intersil EL1883ISZ will do this job nicely. I've ordered a bunch from China for tests.

I'm also working on a microcontroller based "sync conditioner", maybe coupled with a regular LM1881.

At least I know how well good sync can work.
A PC connected to the GBS provides a flawless H-PLL lock at all times!
(H+V sync that never went through mixing into CSYNC)
User avatar
AndehX
Posts: 790
Joined: Sun Oct 18, 2015 11:37 pm

Re: GBS 8200/8220 CFW Project

Post by AndehX »

Interesting!

Well it's all exciting stuff! I'm more than happy to test new ideas and build circuits that can potentially improve gbscontrol
User avatar
Syntax
Posts: 1776
Joined: Wed Aug 09, 2017 12:10 am
Location: Australia

Re: GBS 8200/8220 CFW Project

Post by Syntax »

Tried to compile GBS on a fresh system and I get this error when using esp8266 by ESP8266 Community version 2.4.2

Code: Select all

Build options changed, rebuilding all
Archiving built core (caching) in: C~\arduino_cache_851033\core\core_esp8266_esp8266_d1_mini_CpuFrequency_80,VTable_flash,FlashSize_4M1M,LwIPVariant_v2mss536,Debug_Disabled,DebugLevel_None____,FlashErase_none,UploadSpeed_921600_3f7c58c7e92a3f2bd69765f2d9f937f9.a
libraries\gbs-control-master\PersWiFiManager.cpp.o: In function `PersWiFiManager::attemptConnection(String const&, String const&)':

C~\Arduino\libraries\gbs-control-master/PersWiFiManager.cpp:35: undefined reference to `WPS_is_unavailable_in_this_configuration__Please_check_FAQ_or_board_generator_tool'

libraries\gbs-control-master\PersWiFiManager.cpp.o:(.text._ZNSt17_Function_handlerIFvvEZN15PersWiFiManager17setupWiFiHandlersEvEUlvE1_E9_M_invokeERKSt9_Any_data+0x3e): undefined reference to `WPS_is_unavailable_in_this_configuration__Please_check_FAQ_or_board_generator_tool'

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board (WEMOS) D1 R2 & mini.


If I revert to esp8266 by ESP8266 Community version 2.4.1 everything compiles fine.
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

Ah, finally they have an update! And it breaks their stuff! :p

I heard from the problem before and already removed the WPS code.
Check out development and it should compile fine. I need to merge soon then.
glac81
Posts: 12
Joined: Mon Aug 13, 2018 3:45 am

Re: GBS 8200/8220 CFW Project

Post by glac81 »

Hello to all.

I have found this topic and now I have some hope. I have successfully uploaded this code to my arduino uno R3 and the board managed to display some image. But not as good as others did.

I am working with a Neo Geo MVS board that delivers 320x224 resolution with 59,1856 Hz of refresh rate. Using the gb8200 gives, without gbs-control, jailbars and some black and color pixels at random places. After modding the board and programming the arduino, it has given me a more sharp image. Yet, I do still have some jailbars (less than befode) and artifacts, and a screen misplace on 16:9 lcd panels. I have also noted a pronounced horizontal bar at about the center of the screen that did not happen before. Is there some kind of tuning that I have to do to get rid of the jailbars and correct the artifacts?

Also, when you say to remove the C11 capacitor, I do need to replace it for another one, right? Does it need to be a SMD type?

And to finish the first batch of questions, I did put a 100 Ohm between the csync (It has around 2.2V, that sound about right) and the ground, but If I remove it the image remains the same. Is that normal or just a Neo Geo specific case?

Thanks for this marvelous work.

Glac.

Update 1: After experimenting some serial commands, the best option is still the 'e' preset. But artifacts keep coming and the horizontal line is there at any resolution selected. The monitor gives me a burst of ':', is it normal?

P.S.: I will get a WeMos board this week.
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

A picture of that vertical bar would be best.

The C11 capacitor can just go, no replacement necessary.
The regulating loop is stable because there are capacitors further down the line.

If your source sync is expected to connect to a TV, then the 100 Ohm resistor is correct.
It can be different if the source uses CSYNC and expects specific termination.
Since it works with or without the resistor, I would leave it in place.

Finally, please post a few lines of the output of the 'i' command :)
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

rama wrote: I'm also working on a microcontroller based "sync conditioner", maybe coupled with a regular LM1881.
Well, that didn't work out.
The best I managed was a somewhat stable image, but with lots of jitter.

I was using an AtMega328, capturing the falling CSYNC flank and separating H / V sync based on timer delays.
If this is ever going to work with the AtMega, the code has to use the hardware timers exclusively.
Things will have to happen automatically, without code adding jitter.

If anyone is good with AtMega timers, please speak up :)
mikechi2
Posts: 269
Joined: Sat Jul 01, 2017 6:56 am

Re: GBS 8200/8220 CFW Project

Post by mikechi2 »

Hey rama - like I mentioned to you via e-mail, unfortunately a microcontroller based approach will be difficult to work unless you have access to either the pixel clock or a genlock circuit to achieve phase synchrony between the microprocessor and video.

Without it, the best you can do is a CSYNC generation by gating HYSNC with an AND gate and stretching out the HSYNC pulse as necessary. There's jitter on the rising edge but standard def sources sync on the falling edge, so no problem there.
cloudstrifer
Posts: 12
Joined: Wed Jul 13, 2016 4:48 pm

Re: GBS 8200/8220 CFW Project

Post by cloudstrifer »

Hi!

New version can output 240p 15Hz?
User avatar
AndehX
Posts: 790
Joined: Sun Oct 18, 2015 11:37 pm

Re: GBS 8200/8220 CFW Project

Post by AndehX »

No. It's an upscaler. It takes 240p and scales it to native LCD resolutions.
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

@mikechi2:
I still want to descramble CSYNC into H+V SYNC though :p
But yeah, it is very difficult with a general approach.
It might work with an input capture timer that auto fires on falling flanks and that can be inhibited for the serration / eq pulses.
VSYNC has to be signalled as well somehow.
I'm not discarding the idea right away, because I did have some results when not processing VSYNC. (stable H-PLL lock in the upscaler)

@cloudstrifer:
The new bypass mode does that.
If your display accepts 480i / 240p, then the GBS can act as a format converter with little processing.
It'll do YPbPr (sync on luma) to RGBHV (H+V sync) with color space conversion, for example.

Edit:
Image
glac81
Posts: 12
Joined: Mon Aug 13, 2018 3:45 am

Re: GBS 8200/8220 CFW Project

Post by glac81 »

rama wrote:A picture of that vertical bar would be best.

The C11 capacitor can just go, no replacement necessary.
The regulating loop is stable because there are capacitors further down the line.

If your source sync is expected to connect to a TV, then the 100 Ohm resistor is correct.
It can be different if the source uses CSYNC and expects specific termination.
Since it works with or without the resistor, I would leave it in place.

Finally, please post a few lines of the output of the 'i' command :)
When using arduino R3, the serial monitor is not giving me lines, just a huge line with a lot of ':' characters and some numbers. The baud is set to 115200 as instructed.

My WeMos board arrived. The serial monitor now shows lines of status. But as soon as I turn on the gbs card, the usb disconnects from the computer. So i cannot show the lines of the 'i' command for now. Is it possible to use the serial monitor with this board while in operation?

Focusing on the WeMos (mine is a D1 R1), I am able to connect to the gbscontrol and make the board connect to the router. As soon as I connect to the page, the screen is holding the changes (generally just have time to do one change) for a small time, turns black and returns without the changes. As soon as I leave the config page, the screen is not restarting. Do you have a clue of what is going on? I have used the development and the normal versions and it is acting the same way.

How do I reset the wifi settings on the WeMos?

I will post the images after dealing with this.
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

glac81 wrote:But as soon as I turn on the gbs card, the usb disconnects from the computer. So i cannot show the lines of the 'i' command for now. Is it possible to use the serial monitor with this board while in operation?
Yes, this is how I develop all the time.
How are you powering the ESP8266 board?
I use 3.3V from the GBS (the Vcc pin on the I2C header) and route that to the ESP8266 board's "3.3V" pin.
On my board, this is the main supply for the ESP8266.
Both boards start up when I power the GBS.
When I connect a USB cable then, the USB bridge chip starts working (it needs 5V from USB) and I can connect to it.

Maybe you just have to reopen the terminal?
But definitely tell me how you power your board.
Possibly there are some wiring mistakes, so please also share a picture of your installation.

Your "no picture" description sounds like gbs-control is applying settings to try and get your sync input stable.
These settings are probably off, so you loose all sync.
I can tell you more with some debug log lines from 'i'.

By the way, the 'i' command is available on the web ui as well. Hit "Information Mode" and watch the console log on the bottom of the page.
I need a few lines of that output.

Edit:
WiFi settings can be reset by selecting Erase Sketch > Sketch + WiFi settings, then uploading the sketch once.
Don't forget to turn it back to Sketch Only later.
glac81
Posts: 12
Joined: Mon Aug 13, 2018 3:45 am

Re: GBS 8200/8220 CFW Project

Post by glac81 »

rama wrote:
glac81 wrote:But as soon as I turn on the gbs card, the usb disconnects from the computer. So i cannot show the lines of the 'i' command for now. Is it possible to use the serial monitor with this board while in operation?
Yes, this is how I develop all the time.
How are you powering the ESP8266 board?
I use 3.3V from the GBS (the Vcc pin on the I2C header) and route that to the ESP8266 board's "3.3V" pin.
On my board, this is the main supply for the ESP8266.
Both boards start up when I power the GBS.
When I connect a USB cable then, the USB bridge chip starts working (it needs 5V from USB) and I can connect to it.

Maybe you just have to reopen the terminal?
But definitely tell me how you power your board.
Possibly there are some wiring mistakes, so please also share a picture of your installation.

Your "no picture" description sounds like gbs-control is applying settings to try and get your sync input stable.
These settings are probably off, so you loose all sync.
I can tell you more with some debug log lines from 'i'.

By the way, the 'i' command is available on the web ui as well. Hit "Information Mode" and watch the console log on the bottom of the page.
I need a few lines of that output.

Edit:
WiFi settings can be reset by selecting Erase Sketch > Sketch + WiFi settings, then uploading the sketch once.
Don't forget to turn it back to Sketch Only later.
I was connecting the 3.3V into the 5V pin, that is why it was disconnecting from usb. Now I can properly use the serial monitor, thanks.

The wifi problem is still there, I have made a video showing how it happens only when I acess the settings page. From the serial monitor, I can verify that some exception is happening. Here is the link: https://youtu.be/U1ui79u3xA4

And you can also see in the video, specially in the neo geo logo screen that the screen has a strange texture from the middle to the bottom of the screen. Is there any command that I should try to clear this?

Here is the log of the serial monitor from before the video until the moment that I turned the system off. Hope that should clarify the cause of the problem:
Spoiler
h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161
h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161
h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161
h:430 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161
h:431 v:527 PLL:^_ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161
h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161
h:431 v:527 PLL:^_ ign:54 stat:2.10 deb:5a0 m:1 ht:2132 vt:261 hpw:161
h:431 v:527 PLL:^_ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161
[WS-Server][0] new client from 192.168.1.103
[WS-Server][0][handleHeader] RX: GET / HTTP/1.1
[WS][0][sendFrame] not in WSC_CONNECTED state!?
h:430 v:527 PLL:^_ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] not in WSC_CONNECTED state!?

[WS-Server][0][handleHeader] RX: Host: 192.168.1.102:81
[WS][0][sendFrame] not in WSC_CONNECTED state!?
h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] not in WSC_CONNECTED state!?

[WS-Server][0][handleHeader] RX: Connection: Upgrade
[WS][0][sendFrame] not in WSC_CONNECTED state!?
h:431 v:527 PLL:^_ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] not in WSC_CONNECTED state!?

[WS-Server][0][handleHeader] RX: Pragma: no-cache
[WS][0][sendFrame] not in WSC_CONNECTED state!?
h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] not in WSC_CONNECTED state!?

[WS-Server][0][handleHeader] RX: Cache-Control: no-cache
[WS][0][sendFrame] not in WSC_CONNECTED state!?
h:431 v:527 PLL:^_ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] not in WSC_CONNECTED state!?

[WS-Server][0][handleHeader] RX: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
[WS][0][sendFrame] not in WSC_CONNECTED state!?
h:431 v:527 PLL:^_ ign:54 stat:2.10 deb:5a0 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] not in WSC_CONNECTED state!?

[WS-Server][0][handleHeader] RX: Upgrade: websocket
[WS][0][sendFrame] not in WSC_CONNECTED state!?
h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] not in WSC_CONNECTED state!?

[WS-Server][0][handleHeader] RX: Origin: http://192.168.1.102
[WS][0][sendFrame] not in WSC_CONNECTED state!?
h:431 v:527 PLL:__ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] not in WSC_CONNECTED state!?

[WS-Server][0][handleHeader] RX: Sec-WebSocket-Version: 13
[WS][0][sendFrame] not in WSC_CONNECTED state!?
h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] not in WSC_CONNECTED state!?

[WS-Server][0][handleHeader] RX: Accept-Encoding: gzip, deflate
[WS][0][sendFrame] not in WSC_CONNECTED state!?
h:431 v:527 PLL:^_ ign:54 stat:2.10 deb:5ac m:1 ht:2132 vt:261 hpw:80[WS][0][sendFrame] not in WSC_CONNECTED state!?

[WS-Server][0][handleHeader] RX: Accept-Language: pt-PT,pt;q=0.9,en-US;q=0.8,en;q=0.7
[WS][0][sendFrame] not in WSC_CONNECTED state!?
h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] not in WSC_CONNECTED state!?

[WS-Server][0][handleHeader] RX: Sec-WebSocket-Key: w03FwbvWIDFrqnwfcf9WSw==
[WS][0][sendFrame] not in WSC_CONNECTED state!?
h:431 v:527 PLL:^_ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] not in WSC_CONNECTED state!?

[WS-Server][0][handleHeader] RX: Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
[WS][0][sendFrame] not in WSC_CONNECTED state!?
h:431 v:527 PLL:^_ ign:54 stat:2.10 deb:58c m:1 ht:2132 vt:261 hpw:160[WS][0][sendFrame] not in WSC_CONNECTED state!?

[WS-Server][0][handleHeader] RX: Sec-WebSocket-Protocol: arduino
[WS][0][sendFrame] not in WSC_CONNECTED state!?
h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] not in WSC_CONNECTED state!?

[WS-Server][0][handleHeader] Header read fin.
[WS-Server][0][handleHeader] - cURL: /
[WS-Server][0][handleHeader] - cIsUpgrade: 1
[WS-Server][0][handleHeader] - cIsWebsocket: 1
[WS-Server][0][handleHeader] - cKey: w03FwbvWIDFrqnwfcf9WSw==
[WS-Server][0][handleHeader] - cProtocol: arduino
[WS-Server][0][handleHeader] - cExtensions: permessage-deflate; client_max_window_bits
[WS-Server][0][handleHeader] - cVersion: 13
[WS-Server][0][handleHeader] - base64Authorization:
[WS-Server][0][handleHeader] - cHttpHeadersValid: 1
[WS-Server][0][handleHeader] - cMandatoryHeadersCount: 0
[WS-Server][0][handleHeader] Websocket connection incoming.
[WS-Server][0][handleHeader] - sKey: dS7enSHwV6YLFUYNRnRjUME2PbQ=
[WS-Server][0][handleHeader] handshake HTTP/1.1 101 Switching Protocols
Server: arduino-WebSocketsServer
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Version: 13
Sec-WebSocket-Accept: dS7enSHwV6YLFUYNRnRjUME2PbQ=
Sec-WebSocket-Protocol: arduino

[write] n: zu t: 223
[WS][0][headerDone] Header Handling Done.
[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 9 mask: 0 length: 0 headerToPayload: 0
[write] n: zu t: 2
[WS][0][sendFrame] sending Frame Done (3122us).
[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 27 headerToPayload: 0
[WS][0][sendFrame] text: Websocket Connected on IP:
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 29
[WS][0][sendFrame] sending Frame Done (7003us).
Websocket Connected on IP: [WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 3 headerToPayload: 0
[WS][0][sendFrame] text: 192
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 5
[WS][0][sendFrame] sending Frame Done (3668us).
192[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 1 headerToPayload: 0
[WS][0][sendFrame] text: .⸮?
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 3
[WS][0][sendFrame] sending Frame Done (6342us).
.[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 3 headerToPayload: 0
[WS][0][sendFrame] text: 168
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 5
[WS][0][sendFrame] sending Frame Done (7277us).
168[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 1 headerToPayload: 0
[WS][0][sendFrame] text: .⸮?
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 3
[WS][0][sendFrame] sending Frame Done (3103us).
.[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 1 headerToPayload: 0
[WS][0][sendFrame] text: 1
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 3
[WS][0][sendFrame] sending Frame Done (2912us).
1[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 1 headerToPayload: 0
[WS][0][sendFrame] text: .⸮?
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 3
[WS][0][sendFrame] sending Frame Done (5796us).
.[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 3 headerToPayload: 0
[WS][0][sendFrame] text: 103
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 5
[WS][0][sendFrame] sending Frame Done (3653us).
103[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 2 headerToPayload: 0
[WS][0][sendFrame] text:

[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 4
[WS][0][sendFrame] sending Frame Done (3775us).

[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 70 headerToPayload: 0
[WS][0][sendFrame] text: h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 72
[WS][0][sendFrame] sending Frame Done (3225us).
h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 2 headerToPayload: 0
[WS][0][sendFrame] text:

[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 4
[WS][0][sendFrame] sending Frame Done (5798us).

[WS][0][handleWebsocketWaitFor] size: 2 cWsRXsize: 0
[readCb] n: zu t: 2
[WS][0][handleWebsocketWaitFor][readCb] size: 2 ok: 1
[WS][0][handleWebsocket] ------- read massage frame -------
[WS][0][handleWebsocket] fin: 1 rsv1: 0 rsv2: 0 rsv3 0 opCode: 10
[WS][0][handleWebsocket] mask: 1 payloadLen: 0
[WS][0][handleWebsocketWaitFor] size: 6 cWsRXsize: 2
[readCb] n: zu t: 4
[WS][0][handleWebsocketWaitFor][readCb] size: 6 ok: 1
[WS][0][handleWebsocket] ------- read massage frame -------
[WS][0][handleWebsocket] fin: 1 rsv1: 0 rsv2: 0 rsv3 0 opCode: 10
[WS][0][handleWebsocket] mask: 1 payloadLen: 0
[WS][0][handleWebsocket] get pong ()
[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 70 headerToPayload: 0
[WS][0][sendFrame] text: h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 72
[WS][0][sendFrame] sending Frame Done (3475us).
h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 2 headerToPayload: 0
[WS][0][sendFrame] text:

[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 4
[WS][0][sendFrame] sending Frame Done (3658us).

[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 70 headerToPayload: 0
[WS][0][sendFrame] text: h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 72
[WS][0][sendFrame] sending Frame Done (3419us).
h:431 v:527 PLL:^^ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 2 headerToPayload: 0
[WS][0][sendFrame] text:

[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 4
[WS][0][sendFrame] sending Frame Done (3708us).

[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 70 headerToPayload: 0
[WS][0][sendFrame] text: h:431 v:527 PLL:^_ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 72
[WS][0][sendFrame] sending Frame Done (4103us).
h:431 v:527 PLL:^_ ign:54 stat:2.10 deb:5a4 m:1 ht:2132 vt:261 hpw:161[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 2 headerToPayload: 0
[WS][0][sendFrame] text:

[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 4
[WS][0][sendFrame] sending Frame Done (5758us).

[WS][0][handleWebsocketWaitFor] size: 2 cWsRXsize: 0
[readCb] n: zu t: 2
[WS][0][handleWebsocketWaitFor][readCb] size: 2 ok: 1
[WS][0][handleWebsocket] ------- read massage frame -------
[WS][0][handleWebsocket] fin: 1 rsv1: 0 rsv2: 0 rsv3 0 opCode: 1
[WS][0][handleWebsocket] mask: 1 payloadLen: 0
[WS][0][handleWebsocketWaitFor] size: 6 cWsRXsize: 2
[readCb] n: zu t: 4
[WS][0][handleWebsocketWaitFor][readCb] size: 6 ok: 1
[WS][0][handleWebsocket] ------- read massage frame -------
[WS][0][handleWebsocket] fin: 1 rsv1: 0 rsv2: 0 rsv3 0 opCode: 1
[WS][0][handleWebsocket] mask: 1 payloadLen: 0
Fatal exception 28(LoadProhibitedCause):
epc1=0x40221494, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

Exception (28):
epc1=0x40221494 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont
sp: 3fff20e0 end: 3fff2880 offset: 01a0

>>>stack>>>
3fff2280: 4021fb1c 3fff2380 3fff2322 4021bde0
3fff2290: 00000001 3fff2352 3fff22c0 3fff32a4
3fff22a0: 3ffe8304 00000000 0000000a 3ffeb021
3fff22b0: 3fff2323 3ffe9c57 3fff2352 4021bde0
3fff22c0: 00000001 00000000 00000000 3ffe9c72
3fff22d0: 00000000 3ffe8304 3fff2380 4021ff7c
3fff22e0: 00000000 ffffffff 00000000 00000000
3fff22f0: 00000001 0000001f 3f302073 3ffe9f01
3fff2300: 00000000 3ffe8304 3fff23b0 4021fdc4
3fff2310: 00000000 ffffffff ffffffff 00000000
3fff2320: 00300001 0000002f 00302075 3ffeb021
3fff2330: 402021e5 00000030 00000000 ffffffff
3fff2340: 3fff24b0 3fff2480 00000010 00000001
3fff2350: 3ffe9c71 00000019 0000003c 3fff2329
3fff2360: 00000080 3fff2460 00000000 00000001
3fff2370: 3fff178c 3ffe8304 00000040 4021d95d
3fff2380: 3fff244f 00000001 00000020 ffff0208
3fff2390: 3fff2430 0000003f 00000074 3fff0fa1
3fff23a0: 3fff178c 3ffe8304 00000040 4021d95d
3fff23b0: 3fff248f 3fff24b0 00000010 ffff0208
3fff23c0: 3fff2460 0000003f 3fff24e6 00000030
3fff23d0: 3ffe9fb1 00000001 3f302064 401011e2
3fff23e0: 3ffeb322 40242f9b 00000000 00000006
3fff23f0: 3fff178c 00000008 3fff0f3c 4021d9a0
3fff2400: 3fff24b0 3fff2480 00000008 ffff0208
3fff2410: 3fff24b0 0000003f 00000000 3fff178c
3fff2420: 3fff1764 00000008 3fff0f3c 40217d3c
3fff2430: 5d53575b 5b5d305b 646e6168 6557656c
3fff2440: 636f7362 5d74656b 78657420 00203a74
3fff2450: 3fff178c 00000008 3fff2460 40217d8c <
3fff2460: 5d53575b 5b5d305b 646e6168 6557656c
3fff2470: 3fff24b0 3fff2480 00000008 31203a6b
3fff2480: 79617020 64616f6c 00000000 00000000
3fff2490: 00000006 0000002f 6f43706f 003a6564
3fff24a0: 3ffe9c50 3fff24b0 3fff2480 3fff24b0
3fff24b0: 5d53575b 5b5d305b 00000000 00000001
3fff24c0: 3fff0f04 00000000 3fff0f3c 40214964
3fff24d0: 3ffe9ed0 00000043 3fff24b0 3fff24e0
3fff24e0: 203a6b6f 5d000a31 203a6e20 3fff0fa1
3fff24f0: 3fff178c 3fff0f04 3fff0f3c 40214f79
3fff2500: 00000000 00000001 00000000 00000006
3fff2510: 00000001 00000000 3fff56d4 40228c98
3fff2520: 00000002 3fff2530 3fff2500 3fff2530
3fff2530: 3fff5614 3fff56d4 3fff5614 00000006
3fff2540: 3fff0f04 00000001 3fff0f3c 40214ff0
3fff2550: 00000000 3fff178c 4021950c 3fff178c
3fff2560: 00000001 3fff0f3c 3fff25b0 40214bbb
3fff2570: 00000004 3fff0f3c 3fff25b0 40214cbc
3fff2580: 000274fc 3fff0fa5 00000004 401007ac
3fff2590: 3fff25d0 3fff25a0 3fff0f3c 00000000
3fff25a0: 3fff0f04 00000006 3fff0f3c 40214d63
3fff25b0: 3fff4524 00000042 40214474 40214fbc
3fff25c0: 3fff0fa1 00000004 3fff25a0 3fff25d0
3fff25d0: 203a6b6f 5d000a31 203a6e20 3fff0fa1
3fff25e0: 3fff178c 3fff0f04 3fff0f3c 40214efa
3fff25f0: 00000000 00000001 00000000 00000002
3fff2600: 00000001 00000000 646e6168 6557656c
3fff2610: 00000002 3fff2620 3fff25f0 3fff2620
3fff2620: 657a6973 2032203a 00000002 00000002
3fff2630: 3fff0f04 00000001 3fff0f3c 40214ff0
3fff2640: 00000000 3fff178c 4021950c 3fff178c
3fff2650: 00000001 3fff0f3c 3fff26a0 40214bbb
3fff2660: 00000002 3fff0f3c 3fff26a0 40214cbc
3fff2670: 000274e2 3fff0fa1 00000002 401007ac
3fff2680: 00000000 00000000 3fff0f3c 00000000
3fff2690: 3fff0f04 00000002 3fff0f3c 40214d63
3fff26a0: 3fff4594 0998648d 40214474 40214fbc
3fff26b0: 3fff0f9f 00000002 4021950c 3fff1860
3fff26c0: 00000001 0997f1b7 00000000 000000b4
3fff26d0: 3fff12c0 3fff0f04 3fff0f3c 40214f89
3fff26e0: 00000001 00000000 00000000 40201837
3fff26f0: 3ffe99c8 3fff12c0 00000000 402154bb
3fff2700: 00000001 00000001 3ffe99c9 4021adb8
3fff2710: 00000854 3ffe99c8 3fff1328 000000b4
3fff2720: 3fff12c0 3fff0f04 3fff0f3c 40214fad
3fff2730: 00000854 3fff0f04 3fff0f3c 40215ded
3fff2740: 3fff1764 00000000 3fff1324 402121bd
3fff2750: 401074e8 00000000 00001388 3fff184c
3fff2760: 3fffdad0 00000000 3fff0f04 40215e39
3fff2770: 3fffdad0 00000000 3ffe84fc 4020d280
3fff2780: 00000000 00000000 00000000 00000000
3fff2790: 00000000 00000000 00000000 00000000
3fff27a0: 00000000 00000000 00000000 00000000
3fff27b0: 00000000 00000000 00000000 00000000
3fff27c0: 00000000 00000000 00000000 00000000
3fff27d0: 00000000 00000000 00000000 00000000
3fff27e0: 00000000 00000000 00000000 00000000
3fff27f0: 00000000 00000000 00000000 00000000
3fff2800: 00000000 00000000 00000000 00000000
3fff2810: 00000000 00000000 00000000 4020e990
3fff2820: 000000a1 00000001 00000000 000001af
3fff2830: 00000054 00000002 000005a4 00000010
3fff2840: 00000105 feefeffe feefeffe feefeffe
3fff2850: 00000000 00000000 00000001 3fff184c
3fff2860: 3fffdad0 00000000 3fff1846 40219558
3fff2870: feefeffe feefeffe 3fff1860 40100a2c
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v614f7c32
~ld

SDK:2.2.1(cfd48f3)/Core:2.4.1/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1)
scandone
[WS-Server] Server Started.
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 3
cnt

connected with GLAC_Network, channel 6
dhcp client start...
starting
userprefs open ok
presetPreference = 0
FrameTime Lock = 0
presetGroup = 0
frameTimeLockMethod = 0
ip:192.168.1.102,mask:255.255.255.0,gw:192.168.1.1
resetDigital
loop: 0

MCU: 80000000
local IP: 192.168.1.102
hostname: gbscontrol
New Input
NTSC
SD mode
resetDigital
Base: 1802 Best: 1821 Diff: 19
post preset done
[WS-Server][0] new client from 192.168.1.103
[WS-Server][0][handleHeader] RX: GET / HTTP/1.1
[WS-Server][0][handleHeader] RX: Host: 192.168.1.102:81
[WS-Server][0][handleHeader] RX: Connection: Upgrade
[WS-Server][0][handleHeader] RX: Pragma: no-cache
[WS-Server][0][handleHeader] RX: Cache-Control: no-cache
[WS-Server][0][handleHeader] RX: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
[WS-Server][0][handleHeader] RX: Upgrade: websocket
[WS-Server][0][handleHeader] RX: Origin: http://192.168.1.102
[WS-Server][0][handleHeader] RX: Sec-WebSocket-Version: 13
[WS-Server][0][handleHeader] RX: Accept-Encoding: gzip, deflate
[WS-Server][0][handleHeader] RX: Accept-Language: pt-PT,pt;q=0.9,en-US;q=0.8,en;q=0.7
[WS-Server][0][handleHeader] RX: Sec-WebSocket-Key: O3n7uARV6KrOqAhZEUdMdg==
[WS-Server][0][handleHeader] RX: Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
[WS-Server][0][handleHeader] RX: Sec-WebSocket-Protocol: arduino
[WS-Server][0][handleHeader] Header read fin.
[WS-Server][0][handleHeader] - cURL: /
[WS-Server][0][handleHeader] - cIsUpgrade: 1
[WS-Server][0][handleHeader] - cIsWebsocket: 1
[WS-Server][0][handleHeader] - cKey: O3n7uARV6KrOqAhZEUdMdg==
[WS-Server][0][handleHeader] - cProtocol: arduino
[WS-Server][0][handleHeader] - cExtensions: permessage-deflate; client_max_window_bits
[WS-Server][0][handleHeader] - cVersion: 13
[WS-Server][0][handleHeader] - base64Authorization:
[WS-Server][0][handleHeader] - cHttpHeadersValid: 1
[WS-Server][0][handleHeader] - cMandatoryHeadersCount: 0
[WS-Server][0][handleHeader] Websocket connection incoming.
[WS-Server][0][handleHeader] - sKey: ZoT3tFxm78M21T+U0LeL9rceoSM=
[WS-Server][0][handleHeader] handshake HTTP/1.1 101 Switching Protocols
Server: arduino-WebSocketsServer
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Version: 13
Sec-WebSocket-Accept: ZoT3tFxm78M21T+U0LeL9rceoSM=
Sec-WebSocket-Protocol: arduino

[write] n: zu t: 223
[WS][0][headerDone] Header Handling Done.
[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 9 mask: 0 length: 0 headerToPayload: 0
[write] n: zu t: 2
[WS][0][sendFrame] sending Frame Done (3088us).
[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 27 headerToPayload: 0
[WS][0][sendFrame] text: Websocket Connected on IP:
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 29
[WS][0][sendFrame] sending Frame Done (7820us).
Websocket Connected on IP: [WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 3 headerToPayload: 0
[WS][0][sendFrame] text: 192
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 5
[WS][0][sendFrame] sending Frame Done (3156us).
192[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 1 headerToPayload: 0
[WS][0][sendFrame] text: .⸮?
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 3
[WS][0][sendFrame] sending Frame Done (6297us).
.[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 3 headerToPayload: 0
[WS][0][sendFrame] text: 168
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 5
[WS][0][sendFrame] sending Frame Done (3203us).
168[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 1 headerToPayload: 0
[WS][0][sendFrame] text: .⸮?
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 3
[WS][0][sendFrame] sending Frame Done (3008us).
.[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 1 headerToPayload: 0
[WS][0][sendFrame] text: 1
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 3
[WS][0][sendFrame] sending Frame Done (2932us).
1[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 1 headerToPayload: 0
[WS][0][sendFrame] text: .⸮?
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 3
[WS][0][sendFrame] sending Frame Done (3521us).
.[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 3 headerToPayload: 0
[WS][0][sendFrame] text: 103
[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 5
[WS][0][sendFrame] sending Frame Done (3597us).
103[WS][0][sendFrame] ------- send message frame -------
[WS][0][sendFrame] fin: 1 opCode: 1 mask: 0 length: 2 headerToPayload: 0
[WS][0][sendFrame] text:

[WS][0][sendFrame] pack to one TCP package...
[write] n: zu t: 4
[WS][0][sendFrame] sending Frame Done (6384us).

[WS][0][handleWebsocketWaitFor] size: 2 cWsRXsize: 0
[readCb] n: zu t: 2
[WS][0][handleWebsocketWaitFor][readCb] size: 2 ok: 1
[WS][0][handleWebsocket] ------- read massage frame -------
[WS][0][handleWebsocket] fin: 1 rsv1: 0 rsv2: 0 rsv3 0 opCode: 10
[WS][0][handleWebsocket] mask: 1 payloadLen: 0
[WS][0][handleWebsocketWaitFor] size: 6 cWsRXsize: 2
[readCb] n: zu t: 4
[WS][0][handleWebsocketWaitFor][readCb] size: 6 ok: 1
[WS][0][handleWebsocket] ------- read massage frame -------
[WS][0][handleWebsocket] fin: 1 rsv1: 0 rsv2: 0 rsv3 0 opCode: 10
[WS][0][handleWebsocket] mask: 1 payloadLen: 0
[WS][0][handleWebsocket] get pong ()
[WS][0][handleWebsocketWaitFor] size: 2 cWsRXsize: 0
[readCb] n: zu t: 2
[WS][0][handleWebsocketWaitFor][readCb] size: 2 ok: 1
[WS][0][handleWebsocket] ------- read massage frame -------
[WS][0][handleWebsocket] fin: 1 rsv1: 0 rsv2: 0 rsv3 0 opCode: 1
[WS][0][handleWebsocket] mask: 1 payloadLen: 0
[WS][0][handleWebsocketWaitFor] size: 6 cWsRXsize: 2
[readCb] n: zu t: 4
[WS][0][handleWebsocketWaitFor][readCb] size: 6 ok: 1
[WS][0][handleWebsocket] ------- read massage frame -------
[WS][0][handleWebsocket] fin: 1 rsv1: 0 rsv2: 0 rsv3 0 opCode: 1
[WS][0][handleWebsocket] mask: 1 payloadLen: 0
Fatal exception 28(LoadProhibitedCause):
epc1=0x40221494, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

Exception (28):
epc1=0x40221494 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont
sp: 3fff20e0 end: 3fff2880 offset: 01a0

>>>stack>>>
3fff2280: 4021fb1c 3fff2380 3fff2322 4021bde0
3fff2290: 00000001 3fff2352 3fff22c0 3fff32a4
3fff22a0: 3ffe8304 00000000 0000000a 3ffeb021
3fff22b0: 3fff2323 3ffe9c57 3fff2352 4021bde0
3fff22c0: 00000001 00000000 00000000 3ffe9c72
3fff22d0: 00000000 3ffe8304 3fff2380 4021ff7c
3fff22e0: 00000000 ffffffff 00000000 00000000
3fff22f0: 00000001 0000001f 3f302073 3ffe9f01
3fff2300: 00000000 3ffe8304 3fff23b0 4021fdc4
3fff2310: 00000000 ffffffff ffffffff 00000000
3fff2320: 00300001 0000002f 00302075 3ffeb021
3fff2330: 3fff23a3 3ffe9fb0 00000000 4021bde0
3fff2340: 3fff24b0 3fff2480 00000010 00000001
3fff2350: 3ffe9c71 00000019 3fff2400 4021fdc4
3fff2360: 00000000 00000000 00000000 00000001
3fff2370: 3fff178c 3ffe8304 00000040 4021d95d
3fff2380: 3fff244f 00000001 00000020 ffff0208
3fff2390: 3fff2430 0000003f 0000006c 3fff0fa1
3fff23a0: 3fff178c 3ffe8304 00000040 4021d95d
3fff23b0: 3fff248f 3fff24b0 00000010 ffff0208
3fff23c0: 3fff2460 0000003f 3fff24e6 00000030
3fff23d0: 3ffe9fb1 00000001 3f302064 00000001
3fff23e0: 00000001 00000080 00000000 00000006
3fff23f0: 3fff178c 00000008 3fff0f3c 4021d9a0
3fff2400: 3fff24b0 3fff2480 00000008 ffff0208
3fff2410: 3fff24b0 0000003f 00000000 3fff178c
3fff2420: 3fff1764 00000008 3fff0f3c 40217d3c
3fff2430: 5d53575b 5b5d305b 646e6168 6557656c
3fff2440: 636f7362 5d74656b 78657420 00203a74
3fff2450: 3fff178c 00000008 3fff2460 40217d8c <
3fff2460: 5d53575b 5b5d305b 646e6168 6557656c
3fff2470: 3fff24b0 3fff2480 00000008 31203a6b
3fff2480: 79617020 64616f6c 00000000 00000000
3fff2490: 00000006 0000002f 6f43706f 003a6564
3fff24a0: 3ffe9c50 3fff24b0 3fff2480 3fff24b0
3fff24b0: 5d53575b 5b5d305b 00000000 00000001
3fff24c0: 3fff0f04 00000000 3fff0f3c 40214964
3fff24d0: 3ffe9ed0 00000043 3fff24b0 3fff24e0
3fff24e0: 203a6b6f 5d000a31 203a6e20 3fff0fa1
3fff24f0: 3fff178c 3fff0f04 3fff0f3c 40214f79
3fff2500: 00000000 00000001 00000000 00000006
3fff2510: 00000001 00000000 3fff4bb4 40228c98
3fff2520: 00000002 3fff2530 3fff2500 3fff2530
3fff2530: 3fff4b4c 3fff4bb4 3fff4b4c 00000006
3fff2540: 3fff0f04 00000001 3fff0f3c 40214ff0
3fff2550: 00000000 3fff178c 4021950c 3fff178c
3fff2560: 00000001 3fff0f3c 3fff25b0 40214bbb
3fff2570: 00000004 3fff0f3c 3fff25b0 40214cbc
3fff2580: 00001498 3fff0fa5 00000004 401007ac
3fff2590: 3fff25d0 3fff25a0 3fff0f3c 00000000
3fff25a0: 3fff0f04 00000006 3fff0f3c 40214d63
3fff25b0: 3fff578c 00000042 40214474 40214fbc
3fff25c0: 3fff0fa1 00000004 3fff25a0 3fff25d0
3fff25d0: 203a6b6f 5d000a31 203a6e20 3fff0fa1
3fff25e0: 3fff178c 3fff0f04 3fff0f3c 40214efa
3fff25f0: 00000000 00000001 00000000 00000002
3fff2600: 00000001 00000000 646e6168 6557656c
3fff2610: 00000002 3fff2620 3fff25f0 3fff2620
3fff2620: 657a6973 2032203a 00000002 00000002
3fff2630: 3fff0f04 00000001 3fff0f3c 40214ff0
3fff2640: 00000000 3fff178c 4021950c 3fff178c
3fff2650: 00000001 3fff0f3c 3fff26a0 40214bbb
3fff2660: 00000002 3fff0f3c 3fff26a0 40214cbc
3fff2670: 00001483 3fff0fa1 00000002 401007ac
3fff2680: 4020e05f 00000030 3fff0f3c 00000000
3fff2690: 3fff0f04 00000002 3fff0f3c 40214d63
3fff26a0: 3fff4c14 00000001 40214474 40214fbc
3fff26b0: 3fff0f9f 00000002 00000000 3fff1418
3fff26c0: 3fff141a 00000000 00000000 000000b4
3fff26d0: 3fff12c0 3fff0f04 3fff0f3c 40214f89
3fff26e0: 00000017 00000017 3fff1404 4020ed08
3fff26f0: 000000f0 3fff2720 3fff1404 00000001
3fff2700: 00000063 3fff2760 3fff1860 3fff0f04
3fff2710: 3fff12c0 000000b4 3fff1328 000000b4
3fff2720: 3fff12c0 3fff0f04 3fff0f3c 40214fad
3fff2730: 00000001 3fff0f04 3fff0f3c 40215ded
3fff2740: 00000063 00000000 3fff1324 402121bd
3fff2750: 401074e8 00000000 00001388 3fff184c
3fff2760: 3fffdad0 00000000 3fff0f04 40215e39
3fff2770: 3fffdad0 00000000 3ffe84fc 4020d280
3fff2780: 3fff270f 00000001 3fff27a7 40217fcd
3fff2790: 3ffe99c8 3fff12c0 00000000 4020eb79
3fff27a0: 3ffe94bc 00000001 3ffe99c9 4021adb8
3fff27b0: 3ffe94b4 3ffe99c8 00000002 3ffe84fc
3fff27c0: 3ffe94b4 3ffe99c8 00000002 402081a6
3fff27d0: 3ffe94b4 00000008 3fff0eac 40215211
3fff27e0: 3ffe99c8 04c4b400 3fff0eac 4021802b
3fff27f0: 3ffe94bc 00000000 3fff0eac 40217e94
3fff2800: 3ffe94b4 00000000 3fff0eac 402018d0
3fff2810: 3ffe94b4 00000000 3fff0eac 4020e990
3fff2820: 4010761a 00000000 00000001 00000007
3fff2830: 00000000 00000000 feefeffe feefeffe
3fff2840: 3fff28a4 feefeffe feefeffe feefeffe
3fff2850: 00000000 00000000 00000001 3fff184c
3fff2860: 3fffdad0 00000000 3fff1846 40219558
3fff2870: feefeffe feefeffe 3fff1860 40100a2c
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v614f7c32
~ld

SDK:2.2.1(cfd48f3)/Core:2.4.1/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1)
scandone
[WS-Server] Server Started.
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 3
cnt

connected with GLAC_Network, channel 6
dhcp client start...
starting
userprefs open ok
presetPreference = 0
FrameTime Lock = 0
presetGroup = 0
frameTimeLockMethod = 0
resetDigital
ip:192.168.1.102,mask:255.255.255.0,gw:192.168.1.1
loop: 0

MCU: 80000000
local IP: 192.168.1.102
hostname: gbscontrol
New Input
NTSC
SD mode
resetDigital
Base: 1802 Best: 1821 Diff: 19
post preset done
pm open,type:2 0
..
HD? SD? HD? SD? HD? SD? HD? SD? HD? SD? HD? SD? HD? SD? HD? resetDigital
no sync found
low power
Thank you so much for your help.

Glac.
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

The video looks fine at first glance. I can't really make out any lines, but if I had to guess, try decreasing the ADC gain a little.

Your ESP is crashing on a null pointer when dealing with websockets.
Reasons for this may be:
- debugging is enabled (set debug port to none and debugging to none)
- Power may drop too low while it's transmitting. Shorten your wires so that the ESP board sits next to the GBS.
glac81
Posts: 12
Joined: Mon Aug 13, 2018 3:45 am

Re: GBS 8200/8220 CFW Project

Post by glac81 »

rama wrote:The video looks fine at first glance. I can't really make out any lines, but if I had to guess, try decreasing the ADC gain a little.

Your ESP is crashing on a null pointer when dealing with websockets.
Reasons for this may be:
- debugging is enabled (set debug port to none and debugging to none)
- Power may drop too low while it's transmitting. Shorten your wires so that the ESP board sits next to the GBS.
There are no lines, but a whole region. The lines are gone after placing a tantalum capacitor in C11 place. Here is a image of the black screen. From near the middle to the bottom (also visible between 0:51 and 0:52 in the video) various artifacts forms a region that sums to the rest of the image.

Image

What command set the adc gain? And to make the horizontal area bigger (a portion of the image is cut)? Are the debug modifications made on the gbscontrol code?

I will use less wires and test again. My PSU has some spare amperes to use also. I will bring 5V directly to the wemos from the PSU if it does not work well.
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

Right, powering the ESP8266 via your 5V supply (into "VIN", or using the power input socket) will work.
In either case, make sure there is one ground to ground connection between the GBS and the ESP8266.
(Both devices need a common ground to work together.)

You can reduce the ADC gain on the web ui (ADC gain -).
Of course the ESP8266 mustn't crash, or else it'll reboot and apply the stock preset again ;p

Image size issues should be corrected using your display first.
Try to find the auto adjust function.
Rodrik
Posts: 18
Joined: Tue Jul 03, 2018 12:28 pm

Re: GBS 8200/8220 CFW Project

Post by Rodrik »

Hi,

I received the GBS 8200 v3.5 I ordered and ... got this v5.1
Image

I will begin by making the cable for connect the ESP8266, soldier the debug pin and the jumper header, then test like this to see if it's any better than the old one.
Later on, I plan on removing again the tripods and C11 if needed. I now have the 22uF SMD caps to go further if needed.
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

This board is very good, but absolutely demands removing C11.
It's also the cheapest board to produce, so that's nice :)
glac81
Posts: 12
Joined: Mon Aug 13, 2018 3:45 am

Re: GBS 8200/8220 CFW Project

Post by glac81 »

rama wrote:Right, powering the ESP8266 via your 5V supply (into "VIN", or using the power input socket) will work.
In either case, make sure there is one ground to ground connection between the GBS and the ESP8266.
(Both devices need a common ground to work together.)

You can reduce the ADC gain on the web ui (ADC gain -).
Of course the ESP8266 mustn't crash, or else it'll reboot and apply the stock preset again ;p

Image size issues should be corrected using your display first.
Try to find the auto adjust function.
So setting the adc gain may solve the glitches of the image posted, right? As I do have the serial monitor, I can work there if the UI continues hanging.

Ok. The ground lines will be tied together. I will post the resulting images in this message by tomorrow morning.

What about configuring the debug options. Is it on the code itself, in the UI or in the serial monitor?
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

Image
rigues
Posts: 27
Joined: Thu May 17, 2018 5:05 pm

Re: GBS 8200/8220 CFW Project

Post by rigues »

Hi Folks,

I'm using GBS-Control on a GBS-8200 v4 + WeMos D1 setup, and I'm noticing little sporadic vertical "jumps" in the image. The image is stable for a while, then it briefly "jumps up" (about 3 or 4 lines), then comes down and stays stable again. I noticed this with 2 different sources, a MSX 2 (Panasonic FS-A1) and a Sega Mega Drive Model 2. Both are connected via RGB. I DO NOT have the 100 Ohm resistor between SYNC and GND on my board, could that be the cause? For the lack of one I tried a 150 Ohm resistor, but all it did was give the image a yellow tint. The boards are being powered by a single 9V 2A Power Supply.

Any ideas?

Regards,
rama
Posts: 1373
Joined: Wed Mar 08, 2017 3:15 pm

Re: GBS 8200/8220 CFW Project

Post by rama »

rigues:
Are your cables sync on Composite Video, sync on Luma or CSYNC?
The resistor should not affect colors. Did you make sure it's connected between 'S' and ground (and not 'G'(reen)) by chance? :)
150 Ohm are okay otherwise. Not ideal, but a lot better than just the stock 1k Ohm.
rigues
Posts: 27
Joined: Thu May 17, 2018 5:05 pm

Re: GBS 8200/8220 CFW Project

Post by rigues »

rama wrote:rigues:
Are your cables sync on Composite Video, sync on Luma or CSYNC?
The resistor should not affect colors. Did you make sure it's connected between 'S' and ground (and not 'G'(reen)) by chance? :)
150 Ohm are okay otherwise. Not ideal, but a lot better than just the stock 1k Ohm.
MSX uses CSYNC through an LM1881 (since the original CSYNC signal is 1.8 Vpp). The Mega Drive uses Composite Sync. I will double check the placement of the resistor and let you know.
Post Reply