Welcome, Guest. Please login or register.
November 22, 2024, 09:50:19 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.
| | |-+  SAS Host controller DLL. What do you want to see?
0 Members and 15 Guests are viewing this topic. « previous next »
Pages: 1 ... 12 13 14 [15] 16 17 18 ... 20 Go Down Print
Author Topic: SAS Host controller DLL. What do you want to see?  (Read 256137 times)
StatFreak
rotaredoM etiS GLN labolG
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 756
Offline Offline

Gender: Male
Posts: 8549


Warning! Spammers will be eaten, with relish!


« Reply #350 on: February 25, 2011, 12:16:03 PM »

...
I have only just started using visual studio 2010 and I am finding some serious bugs in it. It also defaults to use things I dont want it to use.



Andy, I have Visual Studio 2003. Are there any compatibility issues that you know that I might come up against?
Logged

I found myself at NLG garfield  ..but got lost again on the way home. Scratch Head 2
If found, please email me to myself. Thanks. yes
       Executive member in good standing of Rick's SMAA.                              Ehhh...What's Up Doc?
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #351 on: February 25, 2011, 12:25:27 PM »

Thanks poppo for a clear schematic 

Just to clarify for others that the schematic I sent him was slightly different than the one I posted earlier in this thread, and eliminates the opto-coupler.

Could you post it for everyone's benefit?

I plan to post a cleaned up version as soon as I test it myself because it was just a 'theoritical' concept I sent to Foster. I'm not sure if he changed anything. But for now, here is what I sent him. What I felt was important in this version is to send +5V OUT to pin 7 of J4. This gives Q21 (that open collector output) on the MPU a TTL level power source. Without it, Q21 won't do anything and the machine won't output any data. The schematic does not show the +5v power supply. You have to supply that somehow, but I will include it later to get it from J9 like the original SAS board.





* homebrewsas2.jpg (185.14 KB, 1041x771 - viewed 368 times.)
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #352 on: February 25, 2011, 12:29:17 PM »

lol...well partly...check this out...
For some reason, I'm stuck on :    "01:"

No other lines showing...

Is anyone else using this latest version and having the same problem? I'm asking because I'm getting ready to test some hardware and need to know if the app is broke or if Bunker just has some other issue.

Foster - what version did you use when you got it working?
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #353 on: February 25, 2011, 12:46:53 PM »

Okay,
I just hooked up the TestAppII to the S+.
I noticed a different behavior with the program.

Last night we hooked up the S2000 and when I hit the "Initialize" button,
the "Poll Address" box grays out and I got a [01:] in the report box.

On  the S+, when I hit the "Initialize" button, I still get the "Poll Address" box to "gray out"- 
but the report box does NOT populate with the [01:] or anything...
It is blank.

On the earlier Test App, I was at least able to get the two ds 1&2 (green & red) LEDs on the interface board to light up...
With the newer App, I'm lighting up the green ds1 LED only.
However, the green ds1 is not lighting up just because I hit the "Initialize" button -
it starts lighting up as soon as I boot up the S+.
Has anyone determined what the green ds1 LED is for compared to the red ds2 LED?

The TestAppII is having far less communications than with the older version.



"Uh...Houston, we have a problem..."



* oops.png (104.44 KB, 531x612 - viewed 368 times.)
« Last Edit: February 25, 2011, 01:07:50 PM by stayouttadabunker » Logged
AndyP
NLG Member 101 to 500 Post
***

Total Karma Storms: 127
Offline Offline

Posts: 212



« Reply #354 on: February 25, 2011, 12:59:22 PM »


Andy, I have Visual Studio 2003. Are there any compatibility issues that you know that I might come up against?

The solution files wont be backward compatible. The code will be. The only code I supply is the c# for the test app. Best off downloading the 2010 visual studion express edition for c#/

Okay,
I just hooked up the TestAppII to the S+.
I noticed a different behavior with the program.

Last night we hooked up the S2000 and when I hit the "Initialize" button,
the "Poll Address" box grays out and I got a [01:] in the report box.

On  the S+, when I hit the "Initialize" button, I still get the "Poll Address" box to "gray out"- 
but the report box does NOT populate with the [01:]

On the earlier Test App, I was at least able to get the two DS 1&2 (green & red) LEDs on the interface board to light up...
With the newer App, I'm lighting up the green LED only.
However, it is not lighting up because I hit the "Initialize" button - it starts lighting up as soon as I boot up the S+.
The TestAppII is having far less communications than with the older version.\

"Houston, we have a problem..."



It worked for me. The only change to the comms is the polling speed. I changed it from 1second to 200ms. This can be configured via a call to the DLL, but no support in the test app at this point.

If it does not work, maybe try the old version again. If you want to keep both versions, copy all the files out of the install directory to a temp directory before installing the new version. If its too late for that you can uninstall the new version and install the old version.
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #355 on: February 25, 2011, 01:07:55 PM »

FWIW, I have some activity on my S+. I am only using a MAX232 connnected directly to the machine, so there may be some issues with that. But I am getting '53: No progressive information has been received for 5 seconds.' (I do have progressive enabled).

Nothing else does anything. Is the older version still available somewhere?
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #356 on: February 25, 2011, 01:11:39 PM »

Nothing else does anything. Is the older version still available somewhere?


Waay back in reply #32...lol
Logged
StatFreak
rotaredoM etiS GLN labolG
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 756
Offline Offline

Gender: Male
Posts: 8549


Warning! Spammers will be eaten, with relish!


« Reply #357 on: February 25, 2011, 01:17:43 PM »

Nothing else does anything. Is the older version still available somewhere?



Waay back in reply #32...lol


First time downloaders should read the post first:
Waay back in reply #32

Direct link to the first version:
http://users.tpg.com.au/adslcmdn//SASEGMTestInstall.zip
Logged

I found myself at NLG garfield  ..but got lost again on the way home. Scratch Head 2
If found, please email me to myself. Thanks. yes
       Executive member in good standing of Rick's SMAA.                              Ehhh...What's Up Doc?
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #358 on: February 25, 2011, 01:21:37 PM »

Nothing else does anything. Is the older version still available somewhere?


Waay back in reply #32...lol

Thanks.

Ok, I tried that one and it does the same thing. I think I need the hex inverters. But at least it is communicating to some degree.

I wonder if having progressive on is somehow screwing things up. Maybe I will try turning it off and see what happens.

Just for grins I changed the poll # to 2 and got the 01: like you said you were getting.
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #359 on: February 25, 2011, 01:32:10 PM »

Just for grins I changed the poll # to 2 and got the 01: like you said you were getting.

How soon after you hit the "Initialize" button?
I don't even get that.
I un-installed the newer TestAppII and re-installed the 1st App.
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #360 on: February 25, 2011, 01:33:23 PM »

Ok, I turned off progressive. Got rid of the nagging '53: No progressive information has been received for 5 seconds.'
Keep in mind I had a home-brew progressive so there was no talk back to the machine which is probably why it has been nagging.

I am getting other info like door open etc., so I am receiveing data. propeller  But I can't get it to add credits or anything else. So I probably need the hex buffers to get it to talk to the machine. Time to go  stir the pot / get cooking some more.
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #361 on: February 25, 2011, 01:38:06 PM »

Poppo,
Can we see a screen shot of that?
All you did was install the older Test App version right?
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #362 on: February 25, 2011, 01:40:17 PM »

Just for grins I changed the poll # to 2 and got the 01: like you said you were getting.

How soon after you hit the "Initialize" button?
I don't even get that.
I un-installed the newer TestAppII and re-installed the 1st App.

I got it immediately with the new version after hitting initialize. I don't get anything with the old version (when I change the poll)
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #363 on: February 25, 2011, 01:47:48 PM »

Poppo,
Can we see a screen shot of that?
All you did was install the older Test App version right?

Ok, here is what I did.

1. Installed new app (never had old one).
2. Rigged up my MAX232
3. Started app and got the progressive info.
4. Swiched the app to poll address 2 and got 01:
5. Uninstalled new app and installed original.
6. Still had progressive messages.
7. Turned off progressive.
8. Progressive messages were gone, but other messages still worked (like door open)
9. Changed it to poll address 2 and it did nothing.

Now my problem seems to just be that I am not talking to the machine. I need to work on that. At least this proves that just a MAX232 alone will recieve the data.



* sas1.jpg (192.62 KB, 949x673 - viewed 362 times.)
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #364 on: February 25, 2011, 01:50:27 PM »

That's great poppo!
What are your SAS settings in the S+ options?
There must be some difference there?
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #365 on: February 25, 2011, 02:05:01 PM »

That's great poppo!
What are your SAS settings in the S+ options?
There must be some difference there?

I set up evetything on the SP1271 just like you had posted earlier.

Did you ever have the other buttons working like add legecy credits or ROM version?

Does SAS bonusing need to be turned on? You posted it was set to 0 (off)
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #366 on: February 25, 2011, 02:15:36 PM »

Update.

Apparently I am talking to the machine as the ROM signature does come back. But it takes a while as someone else pointed out. I think I just need to turn on SAS bonusing. Let me go try that.
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #367 on: February 25, 2011, 02:19:23 PM »

I did have the Bonusing turned off.
I haven't change any machine settings since that post.
I wonder if something happened to the "known good" interface?
I left the serial plug in the computer all night but both the PC and the S+ were turned off.
I cannot get the red ds2 LED to come on.
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #368 on: February 25, 2011, 02:24:52 PM »

I did have the Bonusing turned off.

But were you able to add credits? I can get the ROM signature so I am fairly certain that I am talking to the machine, but I can't add credits even with bonusing on.

BTW, my Transmit line (from the PC) fell off and I got a 01:  So I would check all of your connections.
Logged
TZtech
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 129
Offline Offline

Gender: Male
Posts: 1113



« Reply #369 on: February 25, 2011, 02:31:12 PM »

Poppo

If you are getting messages coming through your interface is fine. I would suspect settings. Apart from the SAS bonussing which I am pretty sure should be enabled also check your credit limits for bonussingor maybe just regular credit limit.

Ian
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 #370 on: February 25, 2011, 02:50:17 PM »

The only thing I did to Poppo's schematic
I changed the 74HC14 to a 74HC04 (that is what the Cham II had on it)
I added pull up resistors to the TTL TX and RX lines on the S+ side.
I will test it thoroughly tonight without them to see if it still works.
Logged

A Slot Machine and Coca-Cola Addict!!
"If it is not broke do not fix it" I keep forgetting that!
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #371 on: February 25, 2011, 03:35:17 PM »

This is making me  Pull Hair

I can receive data fine. I can get a ROM signature (but it takes a while). So that tells me that I am talking to the machine. But I can't add credits.

Oddly, the SAS bonusing option keeps going back to 0 after setting it to 1 when I go back to look at it with the set chip.  Scratch Head I don't know what I am missing.  Scratch Head

Does anyone have a S+ that they actually have the credits working? If so, what SP chip are you using and what did you set eveything to?


* sas2.jpg (99.67 KB, 543x599 - viewed 380 times.)
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #372 on: February 25, 2011, 03:43:08 PM »

I'm thinking that maybe the Test App killed our PC serial port Tx?  Scratch Head
I'm still not getting the red ds1 LED to light up...  hissy fit

I just finished running continuity tests on all the connections of the harness...
they all check out fine but still no Tx out to the S+ interface.
At least you're getting some Rx back from the S+ interface.

The green flashing ds2 LED must be the Tx from the interface to the PC?
But I'm not getting ANYTHING coming or going...
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #373 on: February 25, 2011, 04:00:23 PM »

Okay...
I was right about the serial port being knocked out...
I restored the serial port Com1 by disabling it first in the Device Manager, then re-enabling it.
The two ds LEDs on the interface are back in action!
Still no love in the TestApp1 though.
Still a blank report page.

I'm going to re-install Test AppII and see what happens.
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #374 on: February 25, 2011, 04:17:46 PM »

Were you ever able to add credits to the S+?

I don't want to be on a wild goose chase if there is something not working or it won't work with a SP1271

I did a complete ram clrear. I even put in a new EEPROM to have a blank slate. Still no go.

<edit> Argh!!!! Maybe this is why. From the SP1271 PSR

Cumulative SAS bonus amount   Displays 0000 because this version does not support SAS bonusing.   Displays 0000 because this version does not support SAS bonusing.

Logged
Pages: 1 ... 12 13 14 [15] 16 17 18 ... 20 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.111 seconds with 20 queries.