Shop OBEX P1 Docs P2 Docs Learn Events
i would like to build a RS232 to TTL serial cable connector pinout — Parallax Forums

i would like to build a RS232 to TTL serial cable connector pinout

camarokenny67camarokenny67 Posts: 10
edited 2011-04-23 21:04 in BASIC Stamp
i would like to use the parallax basic stamp homework board ... the schematic can be found here ...http://pinouts.ru/Converters/rs232-TTL_cable_pinout.shtml to obtain the drive specific data (key/inquiry/identify/Serial) in my liteon which once extracted are used to create the dummy.bin .A popular variant can be bought for around 30 dollars . what im trying to do id all opensource and legit . was hopeing to get your thoughts and help thanks for your time

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2011-04-22 21:20
    Your explanation doesn't make a lot of sense.

    The Basic Stamp can use any pins for serial input and output. You don't have to use the programming interface (RS232) at all for your program. The Stamp's I/O pins should be able to connect directly to the Tx and Rx lines of the mobile phone as long as they're 5V TTL compatible. You'd use the SEROUT statement to transmit to the phone and the SERIN statement to receive from the phone. Remember that the Stamp can't receive and transmit simultaneously and reception isn't buffered.
  • camarokenny67camarokenny67 Posts: 10
    edited 2011-04-22 21:25
    Ok here is more info. I don't want anything to do with a phone. I need to retrieve the key and other info from the liteon 74850c dvd drive . I would like to modify it and put it back in
  • FranklinFranklin Posts: 4,747
    edited 2011-04-22 22:02
    So, how do you connect to the liteon and what data format does it use?
  • camarokenny67camarokenny67 Posts: 10
    edited 2011-04-22 22:11
    well the lite-on has a sata port on the back and a 12 pin connector on the back i tried to build this contraption to get the drive to kick out the key over the com port but it just wouldn't communicate .... oh and microsoft .net 4 had to be installed on my windows 32bit pc and i used DOS for some things as well...... im not sure what info is really needed as i am fumbling around in the dark. im sorry i hook the sata cable from the liteon dvd to my computer and use the dvd drives power source to power the drice .. rig the contraption and run a program to extract the dummy.bin file but it doesnt want to cooperate was hoping there was a better way
    851 x 350 - 127K
    1024 x 496 - 74K
  • Mike GreenMike Green Posts: 23,101
    edited 2011-04-23 10:21
    As I mentioned, the Stamp should be compatible with the TTL level serial signal. Keep in mind that the Stamp is relatively slow and can't reliably handle over 9600 Baud and you have to be careful about input Bauds over 2400. The Stamp is also effectively half duplex.

    None of this addresses the question of whether a Stamp can be used to do what you want. You've supplied very little information about anything other than what's suggested for a hardware interface. You're going to have to supply a lot more information to get any significant amount of help. Sorry.
  • camarokenny67camarokenny67 Posts: 10
    edited 2011-04-23 11:12
    i would like to build one of these http://team-xecuter.com/ck3pro/
    or these http://www.team-xecuter.com/forums/showthread.php?t=48110
    so i can do this http://www.youtube.com/watch?v=ZXoix6MIALM
    in other words i have 6 kids 2 xbox 360's i pay 60 dollars for a disk it might last a month . well my other xbox has a hitachi dvd drive very simple process to modify so the xbox doesnt check for the "oem sticker" build into the disks . im not really sure of this site policy's i did some checking and didnt see any thing as far as rules and content of the forums . and i am sorry for the long period of time to get the piont .. as i was trying to fish for information with out saying to much because it is a controversial subject . but as i said before what i am trying to do is legal as i own both the game and the console and leagly can do what ever i want to them ... any who i hope i haven't stepped on anyones toes
  • Mike GreenMike Green Posts: 23,101
    edited 2011-04-23 11:23
    Can't help you. You've described what you want to get in the end, but with no details. Without the details, you'd be better off buying a ready-made adapter like the ones you've shown.

    If you want to use a Stamp for the interface, you'd need to provide at a minimum the description of the data that goes back and forth between the drive and the PC including the Baud used and any unusual formatting.
  • camarokenny67camarokenny67 Posts: 10
    edited 2011-04-23 11:26
    im not sure what that means but im going to gather some more information and get back to you
  • camarokenny67camarokenny67 Posts: 10
    edited 2011-04-23 11:38
    ok so once all the hardware is in place there is a windows xp program called jungleflasher that apparently uses dos and .net ver 4 . to retrieve a key some how .... is there a way to build the hardware and adapt it to the existing software? http://www.jungleflasher.net/ i can get on there and ask the admin or moderators for the info . i just googled what baud is ... if you push me in the right direction i will gladly run circles lol .... so step one is obtain the firmware key from the dvd drive . thats where i am stuck . they have homeade ways of doing this but obviously i am a noob and must have botched it becaues i kept getting an error message saying that the serial data was corrupt\invalid
  • camarokenny67camarokenny67 Posts: 10
    edited 2011-04-23 12:09
    does his help? For MasterChief.... who doesn't quite get it...

    It's pretty simple really. For a cross spoof you need to replace 2 things apart from the key to make donor look like the recipient, the Inquiry and the Identify.

    In most drives these are stored separately and can be simply over written.

    They are also separate in the Lite-on BUT they have unique information in the them i.e. the drive barcode. The barcode is read from another area i.e. the 0x1FF00 serial area and superimposed on both the Inquiry and Identify as they are returned.......

    This means that to spoof as a say hitachi you would need to write the part of the inquiry string used by the barcode to the barcode area in the lite-on firmware on hitachi this has readable information in it


    0000: 05 80 00 32 5B 00 00 00 - 50 4C 44 53 20 20 20 20 ...2[...PLDS
    0010: 44 47 2D 31 36 44 32 53 - 20 20 20 20 20 20 20 20 DG-16D2S
    0020: 37 34 38 35 30 43 41 30 - 41 31 44 36 30 38 43 47 74850CA0A1D608CG
    0030: 38 33 33 39 30 37 30 31 - 30 46 30 20 20 20 00 00 833907010F0 ..
    0040: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    0050: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................


    0000: C0 85 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    0010: 00 00 00 00 44 36 30 38 - 43 47 38 33 33 39 30 37 ....D608CG833907
    0020: 30 31 30 46 30 20 20 20 - 00 00 00 00 00 00 34 37 010F0 ......47
    0030: 35 38 43 30 20 20 4C 50 - 53 44 20 20 20 20 47 44 58C0 LPSD GD
    0040: 31 2D 44 36 53 32 20 20 - 20 20 20 20 20 20 20 20 1-D6S2
    0050: 20 20 20 20 20 20 20 20 - 20 20 20 20 20 20 00 00 ..
    0060: 00 00 00 0B 00 00 00 04 - 00 02 06 00 00 00 00 00 ................
    0070: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    0080: 03 00 78 00 78 00 E3 00 - 78 00 00 00 00 00 00 00 ..x.x...x.......
    0090: 00 00 00 00 00 00 00 00 - 02 02 00 00 68 00 00 00 ............h...
    00A0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    00B0: 20 20 00 00 ..

    soooooooo
    if you put Hitachi strings like these..

    0000: 05 80 00 32 5B 00 00 00 - 48 4C 2D 44 54 2D 53 54 ...2[...HL-DT-ST
    0010: 44 56 44 2D 52 4F 4D 20 - 47 44 52 33 31 32 30 4C DVD-ROM GDR3120L
    0020: 30 30 37 39 30 42 4D 42 - 42 20 20 20 30 36 2F 30 00790BMBB 06/0
    0030: 35 2F 32 35 20 20 20 00 - 01 00 00 00 00 00 00 00 5/25 .........
    0040: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    0050: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................


    0000: C0 85 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    0010: 00 00 00 00 20 20 20 20 - 20 20 20 20 20 20 20 20 ....
    0020: 20 20 20 20 20 20 20 20 - 00 00 00 00 00 00 30 30 ......00
    0030: 39 37 20 20 20 20 4C 48 - 44 2D 2D 54 54 53 56 44 97 LHD--TTSVD
    0040: 2D 44 4F 52 20 4D 44 47 - 33 52 32 31 4C 30 20 20 -DOR MDG3R21L0
    0050: 20 20 20 20 20 20 20 20 - 20 20 20 20 20 20 00 00 ..
    0060: 00 00 00 0F 00 00 00 02 - 00 02 06 00 00 00 00 00 ................
    0070: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 07 00 ................
    0080: 03 00 78 00 78 00 78 00 - 78 00 00 00 00 00 00 00 ..x.x.x.x.......
    0090: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    00A0: 7C 00 19 00 18 42 00 40 - 00 40 18 42 00 00 00 40 |....B.@.@.B...@
    00B0: 3F 00 00 00 ?...


    now if you were to put the red area from the Hitachi inquiry into the into the serial are in the Liteon firmware... the identify would look like this


    0000: C0 85 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    0010: 00 00 00 00 20 20 30 36 - 2F 30 35 2F 32 35 20 20 .... 06/05/25
    0020: 20 00 01 00 00 00 00 00 - 00 00 00 00 00 00 30 30 ............00
    0030: 39 37 20 20 20 20 4C 48 - 44 2D 2D 54 54 53 56 44 97 LHD--TTSVD
    0040: 2D 44 4F 52 20 4D 44 47 - 33 52 32 31 4C 30 20 20 -DOR MDG3R21L0
    0050: 20 20 20 20 20 20 20 20 - 20 20 20 20 20 20 00 00 ..
    0060: 00 00 00 0F 00 00 00 02 - 00 02 06 00 00 00 00 00 ................
    0070: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 07 00 ................
    0080: 03 00 78 00 78 00 78 00 - 78 00 00 00 00 00 00 00 ..x.x.x.x.......
    0090: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    00A0: 7C 00 19 00 18 42 00 40 - 00 40 18 42 00 00 00 40 |....B.@.@.B...@
    00B0: 3F 00 00 00 ?...


    Basically, the identify would be all wrong.
  • PublisonPublison Posts: 12,366
    edited 2011-04-23 13:08
    Where do you see the Basic Stamp involved in this project. Seems like you could just talk to the DVD drive from the PC.
  • camarokenny67camarokenny67 Posts: 10
    edited 2011-04-23 16:34
    you would thing but you need the above mentioned hardware to extract the key from the drive you have to convert the signal output from the dvd which i think is tt or something to com via the device through the com port on your computer so you have to provide power to the device ,via the x box system . hook sata from the dvdplayer to your mother board and probe an area on the dvd drive with the drive "half way closed" as to provide the correct signal and that some how is supposed to provide you with the code
  • PublisonPublison Posts: 12,366
    edited 2011-04-23 20:33
    Anyone have their universal language translator handy? I have misplaced mine.
  • camarokenny67camarokenny67 Posts: 10
    edited 2011-04-23 20:44
    what have i done wrong now?
  • Mike GreenMike Green Posts: 23,101
    edited 2011-04-23 21:04
    I think mostly you don't seem to be paying attention to the comments you're receiving. You're replying with what seem to be unorganized details about the process of spoofing the dvd drive while the issue from our standpoint is whether a Stamp Homework Board can be used at all for a process that seems to take quite a bit of open source PC software to accomplish. You haven't supplied what has been asked for (like information on the serial I/O between the spoofer and the dvd drive). Probably the Homework Board will be too slow to work with the dvd drive and it's not clear that the Stamp will have enough memory to do the task that you want, but there's not enough information in what you've provided to tell.
Sign In or Register to comment.