Welcome, Guest. Please login or register.
November 25, 2024, 12:22:53 PM

Login with username, password and session length
* Home Help Arcade Login Register
.
+  Forum
|-+  Homebrew Player Tracking and EFT Systems.
| |-+  NLG Homebrew Player Tracking and EFT Systems.
| | |-+  Help on SAS connectivity using DCS connector, homebrew/hobby system ...
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Help on SAS connectivity using DCS connector, homebrew/hobby system ...  (Read 9458 times)
julioviegas
New NLG Member 1 to 100 Post
**

Total Karma Storms: 0
Offline Offline

Posts: 6



« on: August 05, 2013, 07:26:13 PM »

Hello guys,

   First post here, great forum & info on slot machines btw...

   So I'm trying to communicate with a IGT 3902(S+) machine using the DCS connector, I follow the schematics bellow and so far I only managed to receive the SAS machine address(which btw I had set to 1). No progress on sending bytes/chars back to the machine. I'm using the comm diagnostics software inside the diagnostics menu. The led near the DCS connector blinks every time I send something using a serial term program(Realterm in my case), but the machine seems to be ignoring the bytes I'm sending... I even tried a SAS host simulator program and no success...  bawling

   http://newlifegames.net/nlg/index.php?action=dlattach;topic=11893.0;attach=32414;image

   Can any of you help me, I'm in a hurry to make it work. I'm willing to pay for consultancy hours or even buy a cable that is proven to be working.  Help Help Help

Thanks
Logged
TZtech
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 129
Offline Offline

Gender: Male
Posts: 1113



« Reply #1 on: August 06, 2013, 03:38:37 PM »

Hi and Welcome to NLG

Is there a specific reason why You want to use the DCS port ?. Your machine should also be able to communicate via the RS232 port on the comms box which is generally easier to interface to using standard off the shelf parts. Although the DCS port pinouts are the same for the S+/PE+ vs I Game platform the interface circuitry is not.
« Last Edit: August 06, 2013, 05:09:14 PM by TZtech » Logged
julioviegas
New NLG Member 1 to 100 Post
**

Total Karma Storms: 0
Offline Offline

Posts: 6



« Reply #2 on: August 06, 2013, 08:36:16 PM »

Hello TZtech and thanks for your time!

I'm using the DCS port because it seems to be the default port for SAS comm.

I even tried the RS232 port identified by J82 and connect a FTDI USB to RS232 conversor direct to it, using another pinout pointed in this same forum, but no luck. I set the port to 19200 8M1, SAS channel to 3, and the ring/error indicators keeps on(looks like unsynchronized data transfer is taking place) but I do receive trash, like 0 127 0 127 and so on...

I'm really feeling lost and willing to pay for support to any of you guys that have time to help me out on this.
Logged
TZtech
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 129
Offline Offline

Gender: Male
Posts: 1113



« Reply #3 on: August 07, 2013, 06:19:27 AM »

Hi Julio

What exactly do you need your SAS connection to do ? There are quite a few options available here depending on exactly what You need.
Sounds like You are currently trying to communicate via a serial terminal program ? i think whats happening is that the machine is chirping its address because it has not recieved a valid poll
When a gaming machine does not receive any address byte (a byte with the wakeup bit set, regardless
of the polling address) for five seconds, it “chirps” by transmitting its own address byte with the
wakeup bit set every 200 ms. For gaming machines in a SMIB configuration, this indicates a failure in
the gaming machine receive line. For gaming machines in a daisy chain configuration, this indicates
that the communication loop is broken at a location just before the gaming machine that is chirping.
Gaming machines located after the chirping machine will see the chirp as an address byte, and
therefore will not chirp.

You are recieving strange responses because You have not configured Your serial terminal to look at the 9th bit (Parity bit) which will be at Mark Parity on machine chirps.

Run Your host Simulator program with Your current setup and Your machine and it will most likely start working. Use the comms channel analyser to get an idea of what the comms between host and EGM look like - Its a very usefull tool and will give You insight as to excatly how you need to structure Your comms.

Including pics of RS232 to FTDI wiring for You to confirm Your setup.


* FTDI SAS 1.jpg (93.39 KB, 800x600 - viewed 1152 times.)

* FTDI SAS 2.jpg (526.69 KB, 2048x1536 - viewed 1440 times.)
Logged
julioviegas
New NLG Member 1 to 100 Post
**

Total Karma Storms: 0
Offline Offline

Posts: 6



« Reply #4 on: August 07, 2013, 02:05:59 PM »

Hey guys, update on my case! I got it working, the issue was with windows 7, im using windows xp now and everything seems fine.   applause applause applause

Now I'm investigating about SAS basic flow of commands, can you guys point me to some starting info about it?

Thanks!
Logged
julioviegas
New NLG Member 1 to 100 Post
**

Total Karma Storms: 0
Offline Offline

Posts: 6



« Reply #5 on: August 11, 2013, 08:24:57 PM »

So, all general poll communications(0x80) and sync(0x81) are working.

But now the machine seems to be ignoring the long poll commands... Any tip?
Logged
TZtech
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 129
Offline Offline

Gender: Male
Posts: 1113



« Reply #6 on: August 12, 2013, 04:31:43 PM »

Hi Julio

I got it working fairly easy using both Pic and Arduino microcontrollers. Now trying with the rasperry Pi running on linux and also having issues with long polls. I suspect having an OS in between complicates things a bit. See the last post on this thread for some tidbits on timing from Zarobhr - http://newlifegames.net/nlg/index.php?topic=22224.0

Regards
Ian
Logged
julioviegas
New NLG Member 1 to 100 Post
**

Total Karma Storms: 0
Offline Offline

Posts: 6



« Reply #7 on: August 14, 2013, 04:25:28 PM »

I'm using the PI too, but not the /dev/ttyAMA0 port, I'm using the /dev/ttyUSB0(with a FTDI TTL to RS232 cable).

I think we are running into the same very issue.  Scratch Head

Any help on this will be really appreciated. Please keep me updated if you have any progress, I will do the same! Smiley

Back to hacking!   stir the pot / get cooking
Logged
TZtech
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 129
Offline Offline

Gender: Male
Posts: 1113



« Reply #8 on: August 14, 2013, 05:53:09 PM »

Julio

What method are you sing to do the 9th serial bit ? i am using the CMSPAR described here its not quite working like I think it should http://www.lothosoft.ch/thomas/libmip/markspaceparity.php.
What made You decide on the FTDI via USB route ?
Something You may want to look into instead of using the FTDI as a virtual Comm Port use the D2XX drivers (pi is supported) - http://www.ftdichip.com/Support/Documents/ProgramGuides/D2XX_Programmer's_Guide(FT_000071).pdf
Logged
julioviegas
New NLG Member 1 to 100 Post
**

Total Karma Storms: 0
Offline Offline

Posts: 6



« Reply #9 on: August 14, 2013, 06:33:51 PM »

Hello TZtech,

    I have tried several methods, like 8N2 and the odd parity trick specified in the lothosoft.ch link, no success.

   Maybe I gonna give a try to the D2XX drivers tip you suggested... I'm not even able to do long pools in the host simulator inside windows xp(again, using the same FTDI interface I told before)... I think my issue is in this very part.

Thanks
Logged
Foster
The S2000 GURU
Contributing NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 345
Offline Offline

Gender: Male
Posts: 2872



« Reply #10 on: August 14, 2013, 09:33:30 PM »

I am surprised a FTDI chip usb to EIA232 adapter is not working
I have it working with the Test program and my own program until I switched to an Arduino.
The trick you have to do is force the USB RS232 to be configured to COM1, COM2, COM3 or COM4
the host program will not find the port for you you have to edit its ini file the line that is Port = 1 change the 1 to match the com number assigned to the usb EIA232 adapter.

Also if you are connecting to a Game King or S2000 SAS channel should be 3 if using the RS232 port on the Comm board.
Logged

A Slot Machine and Coca-Cola Addict!!
"If it is not broke do not fix it" I keep forgetting that!
Pages: [1] Go Up Print 
« previous next »
Jump to:  


If you find this site helpful, Please Consider Making a small donation to help defray the cost of hosting and bandwidth.



Newlifegames.com    Newlifegames.net    Newlifegames.org
   New Life Games    NewLifeGames  NLG  We Bring new Life to old Games    1-888-NLG-SLOTS
Are all Copyright and Trademarks of New Life Games LLC 1992 - 2021


FAIR USE NOTICE:

This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner.
We make such material available in an effort to advance awareness and understanding of the issues involved.
We believe this constitutes a fair use of any such copyrighted material as provided for in section 107 of the US Copyright Law.
In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those
who have expressed a prior interest in receiving the included information for research and educational purposes.

For more information please visit: http://www.law.cornell.edu/uscode/17/107.shtml.

If you wish to use copyrighted material from this site for purposes of your own that go beyond fair use,
you must obtain permission directly from the copyright owner.

NewLifeGames.net Web-Site is optimized for use with Fire-Fox and a minimum screen resolution of 1280x768 pixels.


Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Loon Designed by Mystica
Updated by Runic Warrior
Page created in 0.093 seconds with 20 queries.