Page 13 of 15 FirstFirst ... 39101112131415 LastLast
Results 121 to 130 of 147

Thread: USB-to-Serial Module based coders cable

                  
   
  1. #121
    DCEmu Coder pboese's Avatar
    Join Date
    Sep 2004
    Location
    MKE WI
    Posts
    65
    Rep Power
    0

    Default

    Quick update: I can't get this PIC chip to operate as I originally envisioned with dual clocks. It can do it, but only for low power, low frequency modes. So the maximum baud I've been able to calculate that will be common to both the DC and this USB-Serial device is 781249 and 800000 respectively. That's 2.4% baud error, but acceptable. So not as speedy as I had originally hoped, but not bad either. I'll be building up a prototype for actual tests over the next week or so. The hardware is pretty simple, but the software/firmware for the PIC will take a little while to get working properly.

    The code is based on the Microhip USB CDC demo/tutorial so it will look like a serial/modem type of device to Windows 2K/XP, and Linux kernel 2.6+. Not sure about OS/X.

    If this works it will probably be sold as a hobbyist type of kit since it will be using Microchip's USB VID/PID for their CDC demo. I intend to install the bootloader into the PIC so the device will be field upgradeable (firmware wise) via the USB port.; e.g. a real software hackers playtoy! All the development tools (IDE, assembler, C compiler, etc.) are available from Microchip online for free!
    Axlen was here... or was he? Bwahha ha ha ha ha...

  2. #122
    DCEmu Coder pboese's Avatar
    Join Date
    Sep 2004
    Location
    MKE WI
    Posts
    65
    Rep Power
    0

    Default Log book 31 March 2005

    I don't like not being able to run the connection speed at 1.56M baud, therefore I have decided to add an external USART in the form of a second PIC microcontroller. Communications between the two PICs will be via the Serial Peripheral Interface (SPI). It keeps the interface between the chips simple (3 lines) and gives me the oppourtunity to customize the operation of the device to this application. So now the two main parts are the PIC18F2550 (4Mhz Xtal/48Mhz Pll)which handles the USB interface and the PIC18F252 (25Mhz Xtal) which will be programmed to serve as a serial USART.

    A sample part is on its way from Microchip.
    Axlen was here... or was he? Bwahha ha ha ha ha...

  3. #123

    Default

    What/where is "MKE" WI? I'm from Green Bay

  4. #124
    DCEmu Coder pboese's Avatar
    Join Date
    Sep 2004
    Location
    MKE WI
    Posts
    65
    Rep Power
    0

    Talking Mke; @ Gr34t B33r T0w|/| F0r M3

    Quote Originally Posted by kgenthe
    What/where is "MKE" WI? I'm from Green Bay
    MKE is an abbreviation for Milwaukee that I've seen used by the postal, shipping and airline industries. It's short but sweet, no?
    Axlen was here... or was he? Bwahha ha ha ha ha...

  5. #125
    DCEmu Coder pboese's Avatar
    Join Date
    Sep 2004
    Location
    MKE WI
    Posts
    65
    Rep Power
    0

    Default USB to Maple for Coding?

    I've had an interesting thought. It's about using the Maple bus, that's the gameport connectors on the front of the DC instead of the serial port. Right now it's just an idea, but I'm looking at the technical issues to see if there would be any advantage. The Maple bus runs at 2M bps, that's bits per second, but the bandwidth is shared by all the connected devices. That means that the overall throughput would be less than 2M bps. I base that statment on other considerations like protocol overhead and the fact that the Maple bus communications are totally host initiated and half duplex. It's similar to USB protocols in many ways. I'll probably try to rig up a fixture to snoop on the Maple bus transactions on one of the ports for the fun of it.

    BTW I just received the 2nd PIC today, so I can begin some PIC to PIC comm experiments. I also tried connecting the prototype device to a Linux machine to see if it would work. So far no luck. I need to review the Linux cdc-acm driver code to find out what's going on.
    Axlen was here... or was he? Bwahha ha ha ha ha...

  6. #126
    DCEmu Newbie
    Join Date
    Nov 2004
    Location
    France - Auxerre
    Posts
    10
    Rep Power
    0

    Default Another chip ?

    http://www.beyondlogic.org/usb/ftdi.htm : RS422/485 to 2000Kbps !

    Sounds interresting ? Maybe a chip member of the same family should overshoot this one ?

    Kochise

  7. #127

    Default

    Kind of figured Milwaukee... oh well, Wisconsin, represent!

  8. #128
    DCEmu Coder pboese's Avatar
    Join Date
    Sep 2004
    Location
    MKE WI
    Posts
    65
    Rep Power
    0

    Default

    Quote Originally Posted by Kochise
    http://www.beyondlogic.org/usb/ftdi.htm : RS422/485 to 2000Kbps !

    Sounds interresting ? Maybe a chip member of the same family should overshoot this one ?

    Kochise
    Ack! That page is really old, I used a FT232BM in the previous design. Nice chip really, but not ideal for this application; thus I'm back to the drawing board

    I really despise beyondlogic, those pages drop "pop-unders" with Firefox no-less! Damn advertisements.
    Axlen was here... or was he? Bwahha ha ha ha ha...

  9. #129
    DCEmu Newbie
    Join Date
    Nov 2004
    Location
    France - Auxerre
    Posts
    10
    Rep Power
    0

    Default

    Don't see none of them, using Opera in F12 -> 'Block unwanted pop-up' setting

    Kochise

  10. #130
    DCEmu Coder pboese's Avatar
    Join Date
    Sep 2004
    Location
    MKE WI
    Posts
    65
    Rep Power
    0

    Thumbs up

    Quote Originally Posted by Kochise
    Don't see none of them, using Opera in F12 -> 'Block unwanted pop-up' setting

    Kochise
    I tried Opera Once about two years ago. Maybe I'll give it another shot.
    Axlen was here... or was he? Bwahha ha ha ha ha...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •