shmups.system11.org

Shmups Forum
 
* FAQ    * Search
 * Register  * Login 
It is currently Sun Sep 23, 2018 10:46 am View unanswered posts
View active topics



Post new topic Reply to topic  [ 1069 posts ]  Go to page Previous  1 ... 18, 19, 20, 21, 22, 23, 24 ... 36  Next
Author Message
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Mon Mar 19, 2018 5:23 pm 



Joined: 08 Mar 2017
Posts: 427
Tobias: The big board in Uno form factor?

On my "D1" board (Uno design), the new pin is actually labeled "D13 / SCK". In the IDE, it is named "D5".
At this point, I don't have any rules anymore. It's random! ><

What I do is, I google some images of my board and usually see some similar ones. All the variants have a different name on the same physical pin location.
I just try some of those names in the IDE, and usually the first or 2nd works.
The Serial Monitor will tell you if the wire is connected.

Code:
post preset done
VSYNC wire connected :)
Debug wire connected :)
in field time: 19999
out field time: 20091

^ This is a good reading.


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Mon Mar 19, 2018 5:54 pm 



Joined: 28 Sep 2017
Posts: 49
Yes Rama it's like the one you have WeMos Uno D1. It's just an uno with the esp8266 chip integrated. It's slightly confusing as the pins are all labelled differently. Thanks for your help I'll try it out later. :D


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Mon Mar 19, 2018 6:07 pm 



Joined: 08 Mar 2017
Posts: 427
Ah okay. Use "D13/SCK" then :)


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Tue Mar 20, 2018 8:45 am 



Joined: 15 Mar 2018
Posts: 27
Here is a picture of my setup. I ran out of time after fixing my SNES SCART cable, but I am going to solder then hot glue into position the yellow female dupoint wire for the new Debug connection.

Update : Remove my setup pic because it was massive!!

Connections for a NodeMCU V3 are as follows:

D1 = SCL
D2 = SDA
G = Ground
D7 = VSync
D6 = Debug

Vin = +5 from GBS82** power header
G = GNS from GBS82** power header

To try and help share connections across the various boards I have tried to list the boards people are using:

rama = wemos D1
TobiasRieper = wemos D1
AndehX = NodeMCU V3
Higgy = NodeMCU V3 & Wemos D1 Mini


Last edited by Higgy on Sun Apr 08, 2018 6:44 pm, edited 3 times in total.

Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Tue Mar 20, 2018 2:10 pm 



Joined: 08 Mar 2017
Posts: 427
Higgy wrote:
I am going to solder then hot glue into position the yellow female dupoint wire for the new Debug connection.

Please don't do that. It's far better to use a very thin wire and just solder it onto the MCU pin.
The little weight of such a wire does not require additional propping up from hot glue and the likes.
The NodeMCU board should be fixed onto the GBS, and any wires should be fixed wherever convenient.

Always remember that strong wires put lots of stress onto the solder joints. Only use them when they have to carry some current.
In this application, that is only the Vcc and GND wires.


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Fri Mar 23, 2018 7:50 am 



Joined: 15 Mar 2018
Posts: 27
rama - I think my PC monitor was taking a long time to sync because I have VSYNC connected wrong to my NodeMCU V3 :oops:

While trying to work out which pin for Debug, on the NodeMCU V3 it seems you just use D5 & D7 as written on the PCB!

Although I did have issues in 'seeing' the WiFi so I uploaded the Sketch with 'Sketch + WiFi Settings' enabled, although now I could see 'ESP-?????' instead of GBS-Control ?!?, so I still need to do some testing.

What Arduino IDE are you using? I updated to 1.8.5 but it takes something like 5mins to Compile and Upload!!! Even the 'blink' test :cry:


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Fri Mar 23, 2018 9:51 am 



Joined: 18 Oct 2015
Posts: 545
I've noticed that compiling takes a very long time on these ESP board too. Also, where do you connect the debug pin on the NodeMCU V3?

Edit: Oh D5 :oops:


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Fri Mar 23, 2018 2:33 pm 



Joined: 08 Mar 2017
Posts: 427
Debug Pin on "Wemos D1 WiFi": D13/SCK/D5
VSync Pin on "Wemos D1 WiFi": D1/MOSI/D7

There are several (at least 2) breakouts for this GPIO on my board.

Compiling takes ages, yeah. It's the same for the ESP32 core.
It helps to leave the Arduino IDE opened, as it compiles much faster after the first time.
I always use the latest IDE and cores, so currently Arduino 1.8.5 and ESP8266 2.4.1.


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Fri Mar 23, 2018 2:37 pm 



Joined: 08 Mar 2017
Posts: 427
AndehX:
I changed the 1280x960 NTSC preset in my last update. It won't align with the 240p test suite patterns anymore but finally fixes all the wave noise.
It will also work better with SNES (256px) and consoles with 384px dot clock.


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Fri Mar 23, 2018 7:13 pm 



Joined: 18 Oct 2015
Posts: 545
good stuff! I'll give it a try soon!


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Fri Mar 23, 2018 9:46 pm 



Joined: 15 Mar 2018
Posts: 27
Edit: I will leave the info here. But I now see the ESP8266 needs to be connected and powered to the GBS-82** for you to see 'gbscontrol' and connect.

Also should the blue light be on the NodeMCU V3 all the time? Mine only flashed once if I press Reset. Although moving the wires one time it stayed on? Something is odd. I cant see the Network alot, I might check I dont have a broken Dupoint wire, which I have experienced in the past!

------------------

So after being able to connect to gbscontrol and edit settings, for some reason when re-uploading a newer sketch I selected:

Erase Flash: "Sketch + WiFi Settings

Now when scanning WiFi instead of seeing gbscontrol I see ESP-1106D3. No security is shown and I can connect to the ESP8266 but it is not asking me for the 'qqqqqqq' and I now can't access 192.168.4.1 or http://gbscontrol :cry:

Also how does Serial Monitor work - NodeMCU V3 sketch uploaded and still plugging into my PC, no wires to the GBS-82**. I click on Arduino IDE 'Serial Monitor' and all I get is scrolling ?????F????? etc


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Fri Mar 23, 2018 11:11 pm 



Joined: 08 Mar 2017
Posts: 427
The ESP8266 version has 2 WiFi operation modes:
mode 1: captive portal
mode 2: client mode

The default is captive portal mode. In this mode, the ESP doesn't have WiFi credentials saved and opens an unprotected network for you to configure your WiFi. (Or maybe in this mode, it requires the qqqqqqqq password. I forgot.)
Once you have it configured, it will always boot into mode 2 and will be reachable under http://gbscontrol.
In this mode, you need to join your regular WiFi network as well.

When you upload with "Erase WiFi settings", it wipes the WiFi credentials and goes back to mode 1.
So select "Only sketch".

The LED is meant to indicate the setup stage. If it stays on, it could mean the scaler IC doesn't respond.
You'll notice if that's the case when you don't get a picture.
If you do get a picture but the LED stays on, please ignore it :)

The Serial Monitor requires a baud rate of 250000. Once you set that and reset the ESP, you should get legible debug prints.


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Sat Mar 24, 2018 12:11 am 



Joined: 18 Oct 2015
Posts: 545
Couple more images using the latest GBS Control. This is on my projector, using the 1280x960 profile. for some reason, my projector is reading it as 1600x900... lol

Image

Image


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Sat Mar 24, 2018 12:14 am 



Joined: 08 Mar 2017
Posts: 427
Looking nice :)

Please keep an eye out for wave pattern issues.
They should be fully gone in the 1280x960 presets :)


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Sat Mar 24, 2018 12:27 am 



Joined: 18 Oct 2015
Posts: 545
rama wrote:
Looking nice :)

Please keep an eye out for wave pattern issues.
They should be fully gone in the 1280x960 presets :)

Yeah, I noticed instantly that it's completely gone in the 1280 preset. It's still very apparent in the 640x480 preset.


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Sat Mar 24, 2018 8:50 am 



Joined: 08 Mar 2017
Posts: 427
Well, now I know what causes them. It appears to be an issue where the H-PLL can't keep a lock on the frequency, due to being out of range.
That range is restricted to what the goal with image quality is though. I don't think we can have perfect sampling of some source dot clocks for that reason.
But hey, this is minor compared to the new image stability :)

The other good thing is that, once the H-PLL is more in-range, the tuning spot appears to be quite large.
I used to be able to cause a lot of wave noise by clocking the memory at 81Mhz (s0s40s0c). Not anymore once the H-PLL is brought up a couple notches.
This gives me high hopes that my presets will work well on different GBS boards. I should try out the HDMI one!


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Sat Mar 24, 2018 10:16 am 



Joined: 18 Oct 2015
Posts: 545
Sounds good. And yeah, I would happily sacrifice a little bit of pixel sharpness if it means no wave patterns


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Sun Mar 25, 2018 10:22 am 



Joined: 18 Oct 2015
Posts: 545
I saw the post on circuit-board.de about using a PLCC socket upside down to interface with the MTV230M chip. Ingenious idea! and probably much better than using the I2C interface. Also means less wires!


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Sun Mar 25, 2018 9:13 pm 



Joined: 08 Mar 2017
Posts: 427
Yeah, it's good for a more practical build. It adds stability and makes the soldering job simpler.
I might try doing it that way, if I can find some cheap sockets.

Once built, one of these "adapters" will be a plug and custom firmware solution :p


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Sun Mar 25, 2018 10:08 pm 



Joined: 18 Oct 2015
Posts: 545
you can get 3 for £3 on ebay


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Mon Mar 26, 2018 7:34 am 



Joined: 15 Mar 2018
Posts: 27
I think I am getting there. I was experiencing intermittent problems, which I hope narrowed it down to the female SCART plug I fitted to my GBS-8220.
I redid the plug and fitted the Sync Stripper circuit inside along with a 3,5mm audio jack.

Hopefully I can get back to testing without added Gremlins in my hardware!

So far I have tried Megadrive Mk1 & SNES, my Master System Mk2 did not work very well, but looking at my homemade SCART cable the wiring is not very good. It works with CRT TV's but it was not happy with the GBS-8220, so I need to re-wire it to match a Megadrive Mk1.

The PLCC socket idea with a D1 Mini sounds like it would make a nice small install.

Oh, I updated to the latest code last night and the wireless was named 'Skynet' not sure if it was the GBS Control or a neighbor ;)


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Mon Mar 26, 2018 11:58 am 



Joined: 08 Mar 2017
Posts: 427
"intermittent problems"?
As in, it works but repeatedly drops out?
That would hint at a sync stripper issue, I believe.
The listed consoles work well here, in PAL and NTSC variations.


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Mon Mar 26, 2018 12:46 pm 



Joined: 15 Mar 2018
Posts: 27
Its not related to your work - Yeah sync issues, it seemed to be ok for some minutes then it would drop out. It seems ok now I have rewired everything. I have more LM1881's on order to swap out my current one from its DIP socket.
I have also fixed my NodeMCU V3 so I don't have items moving about. I don't like Dupoint leads that much, or should I say I don't like the cheap ones I have bought :)

Edit: Master System Mk2 SCART lead now fixed and working with my GBS-8220 :)


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Tue Mar 27, 2018 1:12 pm 



Joined: 08 Mar 2017
Posts: 427
Just a public service announcement:
I recently changed the Serial Monitor baud rate to 230400 baud, so make sure you enter that value in your Arduino IDE Serial Monitor.
It's a more common / better supported value than the previous 250k.
And yeah, I think I'm settled on this one now ;)

In the works:
Support for 480p / 576p inputs, ie: PS2, XBOX, Wii progressive scan modes :)


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Tue Mar 27, 2018 9:21 pm 


User avatar

Joined: 18 Mar 2018
Posts: 1
AndehX wrote:
I saw the post on circuit-board.de about using a PLCC socket upside down to interface with the MTV230M chip. Ingenious idea! and probably much better than using the I2C interface. Also means less wires!


Thanks, it's actually zero wires as of now :)
The Idea is heavily inspired by the old amiga accelerator boards.
Thats what it is actually: a drop-in cpu replacement.

tip:
To make it fit on the MCU you will need to remove those 4 small plastic nubs on the sockets inside (pliers work well).


Thanks again for the great work on the Firmware!


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Wed Mar 28, 2018 11:26 am 



Joined: 15 Mar 2018
Posts: 27
Nice work for support in the works!
You have probably covered the consoles (of this sort of age) which have different resolutions/screen modes. I fitted a VGA connector & switch to my Dreamcast for native VGA output. My XBOX is currently outputting on Component.

I wonder how the AMIGA and all its strange screen modes would work? Interlace was always a flickering nightmare on normal TV's / Monitors. Back in the day I had a Multisync Monitor and used to run Workbench at 800x600 (I think), but then any games would then drop back to the normal 240p. I remember the relay inside the monitor was very loud, clicking back and forward between screen modes!


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Wed Mar 28, 2018 12:09 pm 



Joined: 18 Oct 2015
Posts: 545
I decided to do a direct comparison, using my capture card to highlight the differences in colour. I'm not sure if this is something you can address rama? If not, no worries :)

Direct capture:
Image

GBS8200:
Image


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Wed Mar 28, 2018 1:59 pm 



Joined: 06 Feb 2018
Posts: 9
Rama: Will the xbox be using the component input on the gbs then? I have 6 xboxes and this will be a perfect solution to get them up and running for a local lan game play and no worries with the display :)

I have now only tested my GBS with my amiga and it is working really good with low res stuff, any high interlace modes would flicker as some Higgy mentioned. So all game play on for old non highres games is good, Amiga uses a funny ressolution I belive so the picture shift sideways to the left. But this can be adjusted some in the GBScontrol gui.

Looking forward to test the xbox on the gbs:) thank you for the great work.


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Wed Mar 28, 2018 2:06 pm 



Joined: 28 Mar 2018
Posts: 2
Just accidentally got my hands on that GBS board and discovered this thread. So, I've been eager to use this with PS2 to play various arcade ports (e.g. mushihime-sama), however before-mentioned game seem to output line-doubled 480i image, so the whole image is shaking. I tried to use settings from old RPi project with this rama's arduino firmware, but this just doesn't seem to work :(.

P.S. Toggling deinterlacer via built-in function seems to freeze the whole picture too.


Top
 Offline Profile  
 
 Post subject: Re: GBS 8200/8220 CFW Project
PostPosted: Wed Mar 28, 2018 2:07 pm 



Joined: 08 Mar 2017
Posts: 427
Higgy:
The GBS hardware can deal with most source resolutions but these formats all require adjustments in the presets, sometimes entire new presets.
So support for odd Amiga resolutions or even Dreamcast VGA depends on someone creating a matching preset.
Maybe I'll get to it. If I do, it will probably be 640x480 VGA first ;)

AndehX:
Well.. On first impression, the GBS capture appears darker and less appealing.
On second though, the direct capture seems almost garish in the greens.
I'm not entirely sure that the direct capture is right or better.
If you know a way for me to tune to a reference, I can certainly do that.
The CSC variables are, as usual, badly documented. It's not even clear which of the 2 that are shown in the programming guide apply to which mode.

For the general dark tone, I think there is a problem with how much current the GBS DAC outputs into your capture setup.
It definitely generates 0.7Vpp when connected to my test TFT. 100% white is visually different from 95% white, yet it's definitely very bright and the maximum the display should get.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1069 posts ]  Go to page Previous  1 ... 18, 19, 20, 21, 22, 23, 24 ... 36  Next

All times are UTC


Who is online

Users browsing this forum: arit, James-F, MarkOZLAD and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Space Pilot 3K template by Jakob Persson
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group