Slashdot Mirror


An Open Source Hardware Development Tool

LuxuryYacht writes "The PLAICE is an open source hardware and software project developing a powerful in-circuit development tool that combines in one device the features of a FLASH Programmer, Memory Emulator, and High Speed Multi-Channel Logic Analyzer. It runs uClinux. The logic analyzer features up to 200MHz sampling rates and up to 32 input channels. The logic analyzer Java client supports up to 200MHz sampling rates, user-controlled filtering operations, time line in diagrams, transfer rates, and user configurable drawing modes. The Java client supports access via almost any PC with a serial port and uses the RXTX serial library with support for 34 platforms including Linux, Windows, and Solaris. Java client plugins include an SPI and I2C bus protocol analyzer, conversion of timing analysis to state analysis, and post-processing functions."

68 comments

  1. Huh... by dezert_fox · · Score: 1

    That's actually pretty damn cool. What's the catch?

    1. Re:Huh... by tylersoze · · Score: 1

      The catch is that you have to figure out something to do with it once you get it. :)

    2. Re:Huh... by Square+Snow+Man · · Score: 2, Interesting

      That you are going to be used to make this software populair, so they can start making money of it in the future (think MySQL).

    3. Re:Huh... by Alioth · · Score: 1

      You have to break out the soldering iron and build it yourself :-)

    4. Re:Huh... by stewwy · · Score: 2, Insightful

      Well I can think of several uses in the HD=dvd and Bluray area :), and its nice that the code is available

  2. Pretty sparse Web site by Wesley+Felter · · Score: 2

    An open-source logic analyzer for $150 sounds nice, but the site is seriously lacking in screen shots.

  3. That's nice by tftp · · Score: 4, Insightful
    But logic analyzers are history. If you want to debug logic today you use ChipScope. That's not just because it is easier, but because breakout connectors (Mictor etc.) are expensive, large, and they disrupt the timing of the circuit.

    As memory emulator this device may be useful sometimes, but many MCUs today come with internal RAM, and those that don't - they expect DDR2 speeds, and you can't emulate that.

    This can be a full-featured Microblaze development system, though, with tons of samples. I think that's its best value. MicroBlaze was always poorly supported by Linux, as opposed to Nios (which Altera itself supports.) If we have, finally, a working [uc] Linux port to MB that alone is a great achievement. When I looked a year or two ago there was only one, non-functioning, port to a hardware that did not exist.

    1. Re:That's nice by evanbd · · Score: 2, Insightful

      History? Since when? I've been doing a bit of PIC microcontroller programming lately, and for debugging the various communications between a PIC and various peripherals this sounds perfect. I'll be seriously investigating getting one of these. Mostly the timing of such circuits isn't the issue, it's seeing the data actually on the channel without adding lots of debug code I don't have time or space for. This sounds like a great tool for the serious hobbyist.

    2. Re:That's nice by tftp · · Score: 4, Interesting
      Since when? Well, for some designs (like yours) they are still useful, and I am glad that there is still someone out there who knows which end of the soldering iron to hold onto.

      But in an industrial setting they are quickly replaced by JTAG-connected tools; ChipScope in particular (if you are a Xilinx slave) is great because it captures the signals into the local, very fast RAM, and then sends you the snapshot over a slower JTAG connection. The snapshot is true to what is really happening, and if you design a DDR controller (or faster) then just forget the external wires, they are useless at those speeds. And most of modern commercial designs push the devices to the limit. That's what makes standalone logic analyzers less appealing to a mass manufacturer. Logic analyzers in such conditions become tools of last resort, just like ICEs, where you have to spend a day just preparing your board for testing.

      Myself, if I do not have an FPGA in between (and so ChipScope is not an option) then I just use an oscilloscope. I have a 4-channel, inexpensive Infiniium model, and 3 probes is the most I ever needed; staring at the schematic does the rest :-)

    3. Re:That's nice by LuxuryYacht · · Score: 3, Insightful

      The logic analyzer design is targeted at debugging logic outside of the FPGA and the board itself. ChipScope is supported by the board for debug of logic inside the onboard Spartan-3E FPGA.

      The memory emulator is currently targeted at FLASH devices.

      --
      Quidquid latine dictum sit altum viditur
    4. Re:That's nice by networkBoy · · Score: 2, Insightful

      You do realize that tektronix doesn't use mictor any more. They use compression probes that land on micro pads on your system board and are perfectly happy at DDR and DDR2 speeds.
      LAs are alive and well. Your tools only work once the board is up and running, till then you still need to see raw I/O and such.
      -nB

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    5. Re:That's nice by Anonymous Coward · · Score: 0

      My problem with chipscope is that you're extremely limited in the number of samples you can capture. It's great for capturing wide signals for a few samples (no need to drive them out to spare IOs, assuming you have any) but very lacking compared to a LA that can capture 512k or so samples. And chipscope certainly can mess up internal timing, though most people aren't pushing their FPGA's hard enough that it's an issue.

      Logic analyzers probably aren't necessary for a lot of DSP type applications FPGAs are put to. But for controller applications that have a lot of state information, it's really nice to be able to search through several milliseconds of an instruction stream rather than a couple of microseconds.

    6. Re:That's nice by Alioth · · Score: 3, Informative

      There are plenty of embedded microprocessors around that do NOT expect DDR2 speeds. Many digital circuits simply don't need a 2GHz space heater and run just fine with a 2MHz Z80 or equivalent (indeed, the Z80 is still manufactured and popular in its 'classic' 40 pin DIL form. I have one on my work table that was manufactured less than 6 months ago). Many many products use chips of this sort of class.

      Just because there's a clamour for ever faster (and hotter) chips in PCs and servers, it does not follow that the same is true of an embedded computer. If a 4MHz processor works for a particular application, there is absolutely no benefit in using something that 'expects DDR2'. Normal 70ns static RAM and flash chips are sold by the millions because they are cheap, electronically simple to interface, and low speed circuits are much cheaper and easier to lay out on a PCB. You don't need DDR2 on a weather station embedded computer or washing machine.

      Many microcontrollers like the Atmega can interface with external memory (even though they have some internal flash and RAM).

    7. Re:That's nice by c_oflynn · · Score: 2, Insightful

      I got a Logicport (500 MHz, 32 channel logic analyzer for $350) some time ago, and never looked back. I use it for FPGA designs where I want to capture a lot more data.

      I always bring out some spare pins to a header, that becomes my debug port. Then you can route any internal signals to this header. Provided you're not trying to debug anything insanely high-speed, it works great.

      It also supports the SPI/I2C/Serial decoding like this project. Only downside is the software is Windows only, and it uses USB so not sure how well it would work on Wine. I've got VMWare to run Windows though so don't mind.

        -Colin

    8. Re:That's nice by wpiman · · Score: 2, Informative
      I cannot say a bad word about chipscope, it is a great tool- but I must say that Mictor connectors do not disrupt the timing of the circuit if implemented correctly. Mictor means matched impedance connector. And often times, you need to look outside the device. Chipscope and its Altera equivalent are for internal signals, and the amount of data you can view depends on how much memory you have left in your device. An external logic analyzer has infinite more samples.

    9. Re:That's nice by acarguy · · Score: 2, Insightful

      Well, logic analyzers aren't dead just yet. I work for Agilent (used to be HP), and we still make quite a few of 'em. Although the JTAG-based tools for internal FPGA logic analysis like Chip Scope are very useful and relatively inexpensive, they present some limitations (like consuming the internal block RAM of the chip) that traditional LAs don't have. Like anything, there are tradeoffs. Agilent has some tools that customize our logic analyzers to make internal FPGA measurements more easily and bridge the gap between the internal tools and the traditional LA. For example, we have a tool for MicroBlaze debug that lets you easily probe the internal MB signals and bring them out to an Agilent LA for trace, inverse assembly and correlation with the original source code. There is a tool called FPGA Dynamic Probe that works well for 'generic' logic debug as well. Traditional LAs can be very useful for tracking down the complex interactions between parts of designs implemented in FPGAs, discrete processors, memory systems and peripherals.

  4. standalone engine managment FTW by sanimalp · · Score: 1

    This thing sounds like it would be great for an engine management system.. 200mhz sampling and 32 input channels == awesome. Cost is the only remaining variable, although I see it is based off the xilinx spartan 3e starter kit which is cheap cheap cheap.

    1. Re:standalone engine managment FTW by Alien+Being · · Score: 1

      "This thing sounds like it would be great for an engine management system."

      I don't think it would do much good without a proper exhaust system.

  5. RS-232? by hugorxufl · · Score: 1

    supports access via almost any PC with a serial port But those are getting scarce nowadays, on low-price PC systems and laptops.
    1. Re:RS-232? by bersl2 · · Score: 1

      Then get a USB<->RS-232 converter.

    2. Re:RS-232? by tftp · · Score: 3, Informative

      I see that the board has Ethernet transceiver installed, and the connector. However the SoftTEMAC IP from Xilinx is not free, and because of that you can't use Ethernet. Virtex-4 (and 5) FPGAs have HardTEMAC which is not just free, it is a hard core in the FPGA, so it is ready to use, and it can do Gigabit Ethernet as well. Because of that I may question the wisdom of picking a S3 platform that is some $ cheaper than V4 but requires a $5,000 IP to do something really useful (Ethernet connectivity is not too much to ask for these days.) Or, alternatively, write your own [T]EMAC module, it's not impossible but you need to be a decent FPGA coder to even get started.

    3. Re:RS-232? by plasmoidia · · Score: 1

      supports access via almost any PC with a serial port But those are getting scarce nowadays, on low-price PC systems and laptops. Just get a USB-to-RS232 adapter. A nice one will work fairly well and is not too expensive. Just don't get the dirt cheap ones; they might not work. But we use USB adapters all the time at work for new laptops that lack a real serial port.
    4. Re:RS-232? by plasmoidia · · Score: 2, Informative

      If it doesn't have to run all the time, you can use the Xilinx soft-core EMAC (10/100) for free. The catch is that it times out after about 8-9 hours, at which time it stops functioning. It is limiting, but it will get the job done if you cannot afford to buy the full core.

    5. Re:RS-232? by jcgf · · Score: 3, Informative

      Yeah, the only problem is those never work ;)

    6. Re:RS-232? by Max+Littlemore · · Score: 1

      But those are getting scarce nowadays, on low-price PC systems and laptops.

      How much lower price can you get than a ten year old Pentium? ;-P

      Seriously though, two days ago I bought a new Gigabyte AM2 socket mobo (don't have the model number with me now) for $A100 which has an RS232 connector on the back. If you want cheaper than that, buy second hand.

      --
      I don't therefore I'm not.
    7. Re:RS-232? by Prune · · Score: 1

      That's bullshit. We've used an FTDI USBserial chip and works fine.

      --
      "Politicians and diapers must be changed often, and for the same reason."
    8. Re:RS-232? by dwarfsoft · · Score: 1

      Works fine until you have to rely on the connection for any amount of time. USB->RS-232 was tried for some Wheelchair management systems that a client once wanted... It either didn't work or couldn't reliably work. This conversion is not a solution to people who require Serial Access.

      Also failed for people who needed Serial connection to their GPS mapping gear whilst doing fieldwork for the Department of Primary Industry.

      What did yours "work fine" for?

      --
      Cheers, Chris
    9. Re:RS-232? by fractoid · · Score: 2, Informative

      It depends a lot on what adapter you use. I too used FTDI-based USB-to-RS232 adapters at my last job and some of them (can't remember brands, sorry, it was a while back) used to wedge themselves after a couple of hours continuous use. Fine for copying stuff off a device but not good for automation. Then again, we did find one brand that was solid even after a weekend of hammering data back and forth. The FTDI chips seem solid, I'd tend towards blaming the low-budget boards they get used in.

      --
      Rampant carbon sequestration destroyed the Dinosaurs' tropical paradise. I'm here to help repair the damage.
    10. Re:RS-232? by fabs64 · · Score: 1

      The voltages required by the serial port spec tend to disagree with usb somewhat.

    11. Re:RS-232? by Prune · · Score: 1

      There are various of easy to use switchmode converter ICs that can be used.

      --
      "Politicians and diapers must be changed often, and for the same reason."
    12. Re:RS-232? by fabs64 · · Score: 1

      I'm sure there are, but grab one of the converters and chuck a multimeter on it sometimes, see if it lines up. Hell, most laptop serial ports don't.

    13. Re:RS-232? by Alioth · · Score: 1

      USB attached RS232 ports cost trivial amounts of money and are available from virtually any computer store.

    14. Re:RS-232? by Anonymous Coward · · Score: 0

      Most (and especially the cheap ones) don't work for anything more complex than interfacing with modems and are pretty much useless for anything else.

    15. Re:RS-232? by Anonymous Coward · · Score: 0

      I think these problems you guys describe in this thread might not be the USB to R232 device, they might be the general flakiness of the USB on linux (if you are using linux, that is). I have found that my USB devices, both storage and RS-232 stuff, change device names too much on reboot, stop working after a number of mount / umounts unless you reboot the machine, and seem generally crappy. On the machines that are running mush more modern linux kernels it's not nearly as bad, inspite of the same hardware.

    16. Re:RS-232? by Alioth · · Score: 1

      Generally, devices like this are *simpler* than modems, requiring no flow control (and can be wired with just GND, TX and RX). Modems generally are the complex case because of the need for flow control.

    17. Re:RS-232? by Clover_Kicker · · Score: 1

      supports access via almost any PC with a serial port But those are getting scarce nowadays, on low-price PC systems and laptops. You can get serial ports on a PCI card.
    18. Re:RS-232? by Anonymous Coward · · Score: 0

      The point is that the underlying hardware is hardwired for modem communications. Even something as simple as slightly more unusual baud rates can be too much, never mind twiddling the pins manually. Parallel port adapters are even worse.

    19. Re:RS-232? by dwarfsoft · · Score: 1

      The above problems were on a Windows Box. On Linux there was a problem with this converter for use with a Tie-line management system. At least in the end we were able to track down a Serial PCI Card to replace it with. This is not a solution on a Laptop though obviously.

      I conclude therefore that it is not the flakiness of Linux USB support, but the flakiness of USB in general, or the flakiness of USB->RS-232 adapters in general.

      --
      Cheers, Chris
  6. This could eventually be important by Anonymous Coward · · Score: 3, Informative

    If Microsoft gets what it wants, it will be hard to get hardware that runs Linux. Well that's Microsoft's dream anyway. In order to protect precious DRM Microsoft has ordained that only 'bullet proof' hardware will be allowed to run in HD mode with Vista. Their spec even says that unencrypted signals must run only on inner layers of pc boards.

    Being able to create Linux friendly hardware could, if Microsoft succeeds, be necessary if we are to have high performance video and audio.

    This project is not alone as open source hardware. My current favorite is the Arduino board using an Atmel microcontroller. www.arduino.cc I am also playing with the Make controller that uses an Arm. www.makezine.com/controller

    1. Re:This could eventually be important by Bearhouse · · Score: 1

      I agree, that's not as unlikely as one might think, what with AMD buying ATI etc. However, as long as they sell the processors (CPU or GPU) as separate parts, I'm sure you'll always be able to buy high-end mobos and cards that'll work just fine with Linux etc.

      Once you've got your BSD or whatever on the box, getting at the DRM-protected stuff should not be a problem.

      However the real problem may well be - as it already is - getting decent Linux drivers...

  7. Finally... a DigiView killer by originalhack · · Score: 1

    I spoke to DigiView a few weeks ago about the problems with their $500 doo-dad and they still don't care. The only way to drive it is to run a windows app with real or simulated mouse clicks to trigger and export data. If more than one are in a system, they have no way to know which is which. I told them that their lack of automation capability would lead either me or someone else to design a replacement. It looks like someone has.

    If this works the way it looks like it will, that'll be a well deserved scoop. It's what happens when a company refuses to listen to its customers.

  8. Not open source hardware... by plasmoidia · · Score: 3, Informative

    The hardware is not open source. Actually, the hardware is a Spartan-3E Starter Kit board. Nothing special there. What will be open source is the *firmware* (as well as the software running on top). Semantics aside, this should be an interesting project. This seems to be an attempt to build an entire system in an FPGA with open source firmware/software. As others have expressed, I am not sure how useful it will be as a logic analyzer, but perhaps this could be a start for more open source firmware projects.

    1. Re:Not open source hardware... by Anonymous Coward · · Score: 0

      yes i do concur

    2. Re:Not open source hardware... by Anonymous Coward · · Score: 0

      Plus all FPGA synthesis tools are closed-source and run only on Windows or some x86 Linux distros.

  9. MicroBlaze licence ? by Anonymous Coward · · Score: 0

    The Xilinx site isn't very clear about what the 32 bit MicroBlaze licence fee would be for this. Purchase of a copy of the Xilinx Embedded Development Kit just to use the MicroBlaze in your own FLASH-PLAICE would blow the costs right out...

    1. Re:MicroBlaze licence ? by Anonymous Coward · · Score: 0

      The licence fee is $0. Microblaze is subject to some restrictions, but the bit file produced by EDK can be redistributed, so the end user is not forced to buy any Xilinx tools unless he is interested in modifying the hardware in some way.

  10. Useful invention by TheRealAnonymousCowa · · Score: 1

    This could actually be useful... at $150 a piece, this might be worth purchasing for educational use.

  11. Yet another FPGA project by nurb432 · · Score: 1

    Sure they are cool, but this is only some guys throwing some IP at a commercial eval board.

    Nothing to get overly exited about, really.

    ( and i thought microblaze was $$ anyway.. there are free alternatives out there, such as Leon3, or OpenRISC )

    --
    ---- Booth was a patriot ----
    1. Re:Yet another FPGA project by Anonymous Coward · · Score: 0

      Microblaze is free as in beer ($0). The restrictions are (a) you can't try to port it to non-Xilinx FPGAs, (b) you can't change the source code, and (c) you can't redistribute the design files. This is not as good as a truly free CPU core, such as OpenRISC, but the technology is sufficiently open for most purposes, and Microblaze makes much more efficient use of logic than OpenRISC (or any other comparable soft core that I know of). Microblaze users are able to distribute FPGA bit files that include Microblaze - just not the Microblaze source. But since you need the Xilinx tools to build Microblaze-based systems anyway, and the EDK tool includes Microblaze, this is no great loss.

    2. Re:Yet another FPGA project by Anonymous Coward · · Score: 0

      > Microblaze is free as in beer ($0).

      Nope. Microblaze is only licensed as part of the EDK which costs $$.

      > The restrictions are (a) you can't try to port it to non-Xilinx FPGAs, (b) you can't change the source code, and (c) you can't redistribute the design files.

      You don't even get the source code for Microblaze unless you buy it for a lot more $$$$.

      > Microblaze users are able to distribute FPGA bit files that include Microblaze

      This is the only bit you got right, the license you buy with the EDK includes unlimited implementations.

      All this info is on the Xilinx web site. Please read it.

    3. Re:Yet another FPGA project by taniwha · · Score: 1
      well there's nothing wrong with an open source FPGA project - more power to them - remember that these days chip design is really just software - frozen and made real - others can use their source and make their own.

      IMHO the big problem is choosing an FPGA dev system - whatever they choose it probably wont be available a year from now when the FPGA designers release their next generation and want to push that

    4. Re:Yet another FPGA project by Anonymous Coward · · Score: 0

      > Nope. Microblaze is only licensed as part of the EDK which costs $$.

      Microblaze is available royalty-free. That is what I meant. There are restrictions regarding use - I attempted to acknowledge these in my original post.

      > You don't even get the source code for Microblaze unless you buy it for a lot more $$$$.

      Yes you do, it is provided with EDK under a weak layer of DRM. This is why it is possible to configure the Microblaze core using VHDL generics, setting (for example) the range of addresses that are subject to caching, and whether or not the idiv instruction is available. If Microblaze were provided as a netlist, this sort of configuration would not be possible.

    5. Re:Yet another FPGA project by nurb432 · · Score: 1

      Except its NOT a opensource FPGA project. Its an open source Software project, to run on a FPGA.

      The hardware is a commercial product.

      I think a year for 'obsolescence' of a product generation isn't too accurate, more like 5 years.. i can still buy xilinx products 2 generations back ( or the current compatible generation )

      --
      ---- Booth was a patriot ----
    6. Re:Yet another FPGA project by taniwha · · Score: 1

      you may be able to buy the parts - my point is that the development systems don't last that long (the marketting guys want you to get the dev system for the fancy new generation with the better margins ....)

  12. Microblaze uclinux by Anonymous Coward · · Score: 0
    If we have, finally, a working [uc] Linux port to MB that alone is a great achievement. When I looked a year or two ago there was only one, non-functioning, port to a hardware that did not exist.

    Petalogix maintains a Microblaze port of uClinux (link), which works perfectly. The software has been stable for six months and a new version is coming soon. Microblaze is a nice CPU with a clean "from scratch" architecture, and uClinux works very well on it.

  13. The catch? by newandyh-r · · Score: 1

    There is an awful lot of "will" and very little "is" as far as I can see on the site.

  14. Can you buy it? by jshriverWVU · · Score: 1

    I looked around the page and I really want one of these. However I dont see a method of actually buying one or the price.

    1. Re:Can you buy it? by ezdude · · Score: 1

      You can buy the Spartan boards at digikey.

  15. Based on a project at sump.org? by kent.dickey · · Score: 2

    The listed site links to it itself--http://www.sump.org/projects/analyzer/ is where it is getting the logic analyzer hardware design from. It's not clear to me what flash-plaice.wikispaces.com is adding, other than porting the design to the Spartan-3E proto board (from a Spartan-3 proto board).

    A commercial LA system has carefully designed probes to reduce the load on the signals being probed. I made a home-made PCI data capture "card" by soldering stubs to a blank PCI connector, and connecting directly to an HP analyzer I bought on ebay. I needed the probes to not be a large load on the PCI bus, and using the HP probes solved that problem for me.

    If you want cheap logic analyzers, you can get a very nice HP analyzer on ebay for about $500--and have it capture at least 96 bits wide at 100MHz, and have a usable interface. You can upgrade to capturing a million states at 135MHz for a few hundred more. And you can add in a correlated scope for another few hundred bucks. Although this is a bit beyond what folks would want to pay, it's pretty reasonable for hardware that used to cost $10,000+ and is less than a new decked out PC.

    1. Re:Based on a project at sump.org? by LuxuryYacht · · Score: 1

      The PLAICE adds in-circuit Flash programming and emulation as well as a 32-bit cpu running uClinux to the sump.org project. It will also add USB and Ethernet connectivity vs just serial.

      --
      Quidquid latine dictum sit altum viditur
  16. There are more by ChrisA90278 · · Score: 1

    There are more Open Sourse hardware projects than just this one example. Here is another that may have a slightly wider potential user base....

    http://hpsdr.org/

    1. Re:There are more by Anonymous Coward · · Score: 0

      Anyone know if someone makes something like this for the Altera Cyclone II starter kit?