Shop OBEX P1 Docs P2 Docs Learn Events
PPLA Module - Propeller Platform Logic Analyzer - now available — Parallax Forums

PPLA Module - Propeller Platform Logic Analyzer - now available

Brian RileyBrian Riley Posts: 626
edited 2011-02-14 20:33 in Propeller 1
This is a BSLA-like unit. It inserts into a Propeller Platform setup between the processor board and its associated application boards. Using 'stacking headers' on the PPLA, it presents no connection problems. The PPLA is then connected to a host computer which must run Win XP or better and have .Net 2.0 or better. Jazzed is working on upgrades to the host software. Source code will be available under MIT license.

The PPLA runs at 100 MHz and is capable of 10 nanosecond sampling. It samples P0 to P27 and can be configured to do 2 more channels (P28/P29 or P30/P31) bringing the total to 30. All the details are at the webpage

http://www.wulfden.org/TheShoppe/prop/ppla/index.shtml

The introductory price is $36. Which, by the way, is a lot less than what the BSLA sold for at End-of-Life!

I enclosed two pictures, One is the PCB sans chips, crystal and stacking headers, to give a better view of the layout and parts. The second is the complete unit showing how it neatly stacks between a PP-USB and a VGA-AV platform module.
800 x 600 - 128K
800 x 600 - 100K
«1

Comments

  • Nick McClickNick McClick Posts: 1,003
    edited 2011-02-09 17:54
    I'm a big fan of this board, I've found DLA's to be a godsend when debugging and just trying to understand what's going on in the code/hardware. The PPLA is great with Viewport or with jazzed's propalyzer software and the price is great, too. I did a preview video earlier, when I get a chance, I'll do a proper tutorial for Propalyzer.
  • David BetzDavid Betz Posts: 14,519
    edited 2011-02-09 18:33
    Looks very cool. I have on on order! It will go well with my Propeller Platform kit and SDRAM board.
  • TrapperBobTrapperBob Posts: 142
    edited 2011-02-10 06:31
    This will be very useful. It will be convenient to not have to hook and unhook probes. I placed one on order last night. Thanks all involved!

    TrapperBob
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-02-10 06:40
    Do my eyes deceive me or do I see "Stackable headers" being used with this?

    stackable_headers.jpg


    OBC
    188 x 188 - 7K
  • Brian RileyBrian Riley Posts: 626
    edited 2011-02-10 07:39
    Do my eyes deceive me or do I see "Stackable headers" being used with this?

    stackable_headers.jpg


    OBC

    YES!!!!! I never even considered not using stackable headers. Use of stackable headers means the PPLA slips in wherever your PP processor board is in the stack with no cause to have to worry about which gender and row position connectors you have. Since most PP processor boards have socket headers in the outer rows, which is the configuration I showed on my PPLA web page, BUT, there is nothing to stop anyone from doing it differently.

    Now, as anyone who has worked with stacking headers can attest, they CAN BE a royal PITA to align and solder! I include with the kit a set of 20 pin long headers to use to align and solder.

    - insert stacking headers into holes in PPLA PCB

    - insert long double male headers into socket part of stacking headers

    - flip PPLA PCB over carefully and mate the second side of the double male headers to the socket headers on a PP processor board

    - you now have the pins aligned and the board upside down with gravity holding it flush to the stackin headers

    - solder the four corners to start

    - not exactly 'simple,' but far from difficult.
    800 x 600 - 105K
    800 x 600 - 94K
    800 x 600 - 75K
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-02-10 07:45
    Brian,

    If you would provide an item # and price for just stackable headers, I'd love to buy a few sets from you. Stackable headers are the way to go with any GG addon board. (I'd love to order them with my PPLA kit, if you'll do it.)

    OBC
  • jazzedjazzed Posts: 11,803
    edited 2011-02-10 08:16
    I'm glad everyone is pleased with Brian's PPLA so far.

    I'll be working on Propalyzer again soon to provide enhancements and make it MIT open source. Another software item is in the Propeller code. I plan to make the 100MHz sample rate buffer deeper. One feature which I need is "Save to Trigger" so that's in the plan. Other things are coming later. Longer term a Qt version of Propalyzer will be developed.

    Nick should also be offering Stackable Headers soon.
  • schillschill Posts: 741
    edited 2011-02-10 08:22
    I use stackable headers like this for almost all of my PP boards. The only time I don't use them is when I'm creating a "finished" product that doesn't need anything else stacked on top.

    These are commonly used in the Arduino community. You can pick them up from www.sparkfun.com or www.adafruit.com. Sometimes they come in complete Arduino-compatible sets, sometimes individually.

    Here are individual 8-pin headers (not sold in the usual Arduino 2x6 + 2x8 pack):
    http://www.sparkfun.com/products/9279

    They are nowhere near as cheap as they probably should be, but I haven't come across similar headers very many other places.

    As Brian said, they can be a pain to work with sometimes. In addition to needing to line them up correctly to solder (and I usually do what Brian shows in his pictures), sometimes you need to shave a little of the housing off to have them fit well next to each other.

    By the way, I also ordered a couple of the PPLAs yesterday. Coincidentally, I think Brian lives about 10 miles away from my brother but I figured it was easier to have them shipped to me than to have my brother track down Brian :) .
  • David BetzDavid Betz Posts: 14,519
    edited 2011-02-10 09:01
    I noticed after I placed my order that this board requires a PropPlug to interface it to the PC. While I agree that the PropPlug is a good solution for programming boards I don't like the idea of using it for a normal communications link. It seems like the PPLA requires a connection to the PC to transfer captured data and that would be better provided by an on-board FTDI chip and USB interface. Is there any chance of another version of the PPLA with an integrated FTDI USB connection?
  • schillschill Posts: 741
    edited 2011-02-10 09:12
    There is a discussion of other design variants in this thread:
    http://forums.parallax.com/showthread.php?127144-Propeller-Platform-Logic-Analyzer-Module

    For the connection, I will probably use a cable from FTDI that has the USB/TTL circuit built into it with the header rearranged for the correct pinout.
    http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=768-1015-ND
  • David BetzDavid Betz Posts: 14,519
    edited 2011-02-10 09:16
    schill wrote: »
    There is a discussion of other design variants in this thread:
    http://forums.parallax.com/showthread.php?127144-Propeller-Platform-Logic-Analyzer-Module

    For the connection, I will probably use a cable from FTDI that has the USB/TTL circuit built into it with the header rearranged for the correct pinout.
    http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=768-1015-ND
    Will that cable handle the Propeller reset function?
  • schillschill Posts: 741
    edited 2011-02-10 09:25
    David Betz wrote: »
    Will that cable handle the Propeller reset function?

    For something like this, once the Prop (EEPROM) has been programmed I usually don't want the PC to be able to reset the Prop. That's one of the reasons I like these cables - I don't have to connect anything to the reset pin.

    That being said, I think you may need to add a little hardware to use this cable to reset the Prop (if the correct signal is available at the header). I usually use a Prop Plug for programming/debugging and one of these cables (or something similar) for a "final" product.
  • David BetzDavid Betz Posts: 14,519
    edited 2011-02-10 09:28
    schill wrote: »
    For something like this, once the Prop (EEPROM) has been programmed I usually don't want the PC to be able to reset the Prop. That's one of the reasons I like these cables - I don't have to connect anything to the reset pin.

    That being said, I think you may need to add a little hardware to use this cable to reset the Prop (if the correct signal is available at the header). I usually use a Prop Plug for programming/debugging and one of these cables (or something similar) for a "final" product.
    That makes sense. I agree that putting a programming interface on every board is probably a waste. I'd just like this board to include the required communications interface since it is needed whenever the board is in use. Seems like it should be part of the board itself.
  • Brian RileyBrian Riley Posts: 626
    edited 2011-02-10 09:40
    David Betz wrote: »
    I noticed after I placed my order that this board requires a PropPlug to interface it to the PC. While I agree that the PropPlug is a good solution for programming boards I don't like the idea of using it for a normal communications link. It seems like the PPLA requires a connection to the PC to transfer captured data and that would be better provided by an on-board FTDI chip and USB interface. Is there any chance of another version of the PPLA with an integrated FTDI USB connection?

    Even with the drop in prices adding a USB/FTDI chip,, dealing with surface mount, etc. overall adds $10-$20 to the selling price of a board. I wanted to make the PPLA inexpensive enough to be considered by anyone. The USB adapter that I sell, Modern Device's BUB, for $14 was designed for Arduino, but when you realign the pin out to Prop Plug order no one in the lashup has any idea its not talking to a gen-u-wine Prop Plug!

    Most people have a Prop Plug or a SerPlug or one of my P1's or BUBs. Why keep buying FTDI chips over and over when they are going to spend 75% or more of YOUR time doing nothing? ON my bench I have 2 BUBs, a Prop Plug, an old FTDI cable, and 2 P1's for Arduino and Prop work. One BUB is hard wired for Prop, the other for Arduino, it can be used with a small adapter for Prop, the P1's work through USB/RS232 adapters. The FTDI cable is Arduino 5 volt, but I made a pin out adapter with a 1K resistor in the TX line and it will do Prop if need be. I am doing all this with BST on an iMac under MacOSX and occasionally under WinXP via Bootcamp. I have at least 17 or 18 different Prop boards and only 5 of them have USB the rest are serviced by my array of adapters. I have done high speed data collection for long periods on Props and Arduinos using the adapters and so far haven't been torpedoed.

    The short answer, David, is, unless people simply won't buy the PPLA because of this, NO, I have no plans for a USB port.
  • David BetzDavid Betz Posts: 14,519
    edited 2011-02-10 09:45
    The short answer, David, is, unless people simply won't buy the PPLA because of this, NO, I have no plans for a USB port.
    Okay, thanks. I guess it's not a big deal either way. I just don't trust the rather shaky connection that the four pin PropPlug makes. I guess it should be fine though. I guess I could always solder a PropPlug to the PPLA if I really want a more solid connection. :-)
  • Brian RileyBrian Riley Posts: 626
    edited 2011-02-10 09:48
    schill wrote: »
    For something like this, once the Prop (EEPROM) has been programmed I usually don't want the PC to be able to reset the Prop. That's one of the reasons I like these cables - I don't have to connect anything to the reset pin.

    That being said, I think you may need to add a little hardware to use this cable to reset the Prop (if the correct signal is available at the header). I usually use a Prop Plug for programming/debugging and one of these cables (or something similar) for a "final" product.

    The PPLA has a Reset Enable jumper, remove the jumper and Reset is isolated. It also has a Write Enable jumper, if removed the EEPROM is Write Protected.

    The Reset Enable will be most handy if you chose the option to remove the EEPROM and freeup P28/P29 to give you 30 channels. Load to RAM w/o EEPROM is most vulnerable. Load to RAM with Reset Enable, then pull the jumper.
  • schillschill Posts: 741
    edited 2011-02-10 09:51
    The PPLA has a Reset Enable jumper, remove the jumper and Reset is isolated. It also has a Write Enable jumper, if removed the EEPROM is Write Protected.

    The Reset Enable will be most handy if you chose the option to remove the EEPROM and freeup P28/P29 to give you 30 channels. Load to RAM w/o EEPROM is most vulnerable. Load to RAM with Reset Enable, then pull the jumper.

    I guess I was speaking in more general terms and not really addressing this board specifically. I really like/appreciate the jumpers that you've included in this board.
  • Brian RileyBrian Riley Posts: 626
    edited 2011-02-10 09:55
    David Betz wrote: »
    Okay, thanks. I guess it's not a big deal either way. I just don't trust the rather shaky connection that the four pin PropPlug makes. I guess it should be fine though. I guess I could always solder a PropPlug to the PPLA if I really want a more solid connection. :-)

    Why take out a $30 Prop Plug, I can sell you a $14 BUB with no connector that could be more readily hooked up!
  • jazzedjazzed Posts: 11,803
    edited 2011-02-10 09:55
    schill,

    The FTDI cable does not have a DTR connection, but it does have RTS.
    A program could be used to download with RTS for reset instead of DTR.
  • schillschill Posts: 741
    edited 2011-02-10 10:52
    jazzed wrote: »
    The FTDI cable does not have a DTR connection, but it does have RTS.
    A program could be used to download with RTS for reset instead of DTR.

    I knew it was something like that. I have to admit that I was too lazy to look it up. :(
  • Nick McClickNick McClick Posts: 1,003
    edited 2011-02-10 13:36
    I've used the PPLA with the Propalyzer & with ViewPort's DLA. Honestly, I prefer the Propalyzer; the mask -> arm -> trigger setup takes a few minutes to figure out, but it's very handy. Only thing I don't like is the sample depth, but I'm hoping that will improve.
  • Nick McClickNick McClick Posts: 1,003
    edited 2011-02-11 09:21
    I put together a little ViewPort base spin file if anyone wants it (attached). This is the 4 Cog quicksample version and should work with all versions / the trial.
  • Brian RileyBrian Riley Posts: 626
    edited 2011-02-11 22:15
    There are 9 units left of the original 20.

    I have posted a "BUILD" page. It's linked from the main PPLA page. I also have a stub for a How To USE page, which will be worked on over the weekend.
  • HannoHanno Posts: 1,130
    edited 2011-02-13 14:25
    Great job Brian- this looks great! I love the stackable headers. Logic Analyzers are invaluable when you're interfacing to other devices. Make sure to check out Bob's EventLogger plugin for ViewPort- it gives you lots more functionality by capturing 99 events- no matter how far apart they are.
    http://obex.parallax.com/objects/554/
    Hanno
  • Ding-BattyDing-Batty Posts: 302
    edited 2011-02-14 15:17
    schill wrote: »
    I use stackable headers like this for almost all of my PP boards. The only time I don't use them is when I'm creating a "finished" product that doesn't need anything else stacked on top.

    These are commonly used in the Arduino community. You can pick them up from www.sparkfun.com or www.adafruit.com. Sometimes they come in complete Arduino-compatible sets, sometimes individually.

    Here are individual 8-pin headers (not sold in the usual Arduino 2x6 + 2x8 pack):
    http://www.sparkfun.com/products/9279

    They are nowhere near as cheap as they probably should be, but I haven't come across similar headers very many other places.

    As Brian said, they can be a pain to work with sometimes. In addition to needing to line them up correctly to solder (and I usually do what Brian shows in his pictures), sometimes you need to shave a little of the housing off to have them fit well next to each other.

    As far as I know, the long-tail stackable headers are available in different sizes in wholesale quantities from 4uconnector.com. The page with single-row female headers with 10.5mm and 15.5mm long tails is:
    http://www.4uconnector.com/online/itemagrid.asp?seriesdesp=2.54+FEMALE+HEADER+DIP+STRAIGHT+HEIGHT%3D8.5MM&seriesno=0118&GroupNo=01&groupdesp=Pin+%2F+Female+Header&itemnum=4953&sample=0&seriesnum=90&

    I believe the stacking headers used on the Arduino boards are the ones with the 15.5mm tails. This site only has two sizes with that length tail: 6-pins (Item number 19874), and 8-pins (Item number 19875). I think the ones with 10.5mm tails would not be tall enough (unless you used two of them stacked to get enough height).

    For the Propeller Platform modules, you need 2 x 4-pin and 2 x 16-pin, but they don't have 16-pin headers with any length long tails, so you'd have to use two 8-pin ones. The also don't have any 4-pin ones with 15.5mm tails, so you'd have to split an 8-pin one into two, or just cut off two pins from a 6-pin header.

    I've misplaced my password for their site at the moment, but the order for each item is a minimum of 1000 pieces, and as I recall the price per piece (for the 6 and 8 pin versions) is about $0.10 each, or a minimum order of about US$100.00 per item number. That's a few more than I need at the moment.

    I have some of the Arduino stacking headers from Sparkfun, and I use them on my PP boards. But believe me, it is very hard to split one 8-pin female header into two 4-pin ones without losing a pin. It just might be easier to sacrifice two pins from a 6-pin header.
  • jazzedjazzed Posts: 11,803
    edited 2011-02-14 15:56
    I started another thread on my purchasing / pricing plans for these headers.
    @Ding Batty, do you have any of the 10.5mm tail parts on a set of boards?
    If you do can you measure the actual stackup? Thanks a bunch.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-02-14 16:00
    Just got my kit in today.. While I haven't assembled it yet, the kit looks great!

    OBC
  • Ding-BattyDing-Batty Posts: 302
    edited 2011-02-14 16:05
    jazzed wrote: »
    I started another thread on my purchasing / pricing plans for these headers.
    @Ding Batty, do you have any of the 10.5mm tail parts on a set of boards?
    If you do can you measure the actual stackup? Thanks a bunch.

    I have a SDRAM board with the Arduino headers, and also a PP proto board with the same headers. I will measure this evening, (probably in a few hours -- it is Valentine's Day after all :), and I will post the measurements.
  • schillschill Posts: 741
    edited 2011-02-14 16:27
    The length of the legs you need depends on what you need to clear. Some of the Propeller Platform boards have tall components. Others may not.

    I think the "Arduino" ones are the shorter ones. They may not be long enough for some Platform boards. But the longer ones will really space things apart a lot.
  • Ding-BattyDing-Batty Posts: 302
    edited 2011-02-14 20:33
    Yes, I measured the ones I have at home, and the Arduino headers have 10.5mm legs.

    The rest of the headers discussion should go the other thread...
Sign In or Register to comment.