Slashdot Mirror


Hands On With the First Open-Source Microcontroller (hackaday.com)

The folks at SiFive have offered Brian Benchoff from Hackaday a look at the HiFive 1, the first hands-on with the first Open Hardware microcontroller. From the report: The design files for the HiFive 1 were made with Altium, a proprietary and non-Free software. Basically, the HiFive 1 is the SiFive FE310 microcontroller packaged in an Arduino Uno form factor. The pin spacing is just as stupid as it's always been, and there is support for a few Adafruit shields sitting around in the SDK. There are no analog pins, but there are two more PWM pins compared to the standard Arduino chip. The Arduino Uno and Leonardo have 32 kilobytes of Flash, while the HiFive 1 has sixteen Megabytes of Flash on an external SOIC chip. The HiFive 1 supports 3.3 and 5V I/O, thanks to three voltage level translators. The support for 5V logic is huge in my opinion -- nearly every dev board manufacturer has already written off 5V I/O as a victim of technological progress. The HiFive doesn't, even though the FE310 microcontroller is itself only 3.3V tolerant. It should be noted the addition of the voltage level translators add at least a dollar or two to the BOM, and double that to the final cost of the board. It's a nice touch, but there's room for cost cutting here. Other than that, the only other chip of note on the board is the FTDI FT2232HL, a well-supported but most certainly not Free and Open Source USB to UART chip. This is a two-port chip that provides programming, serial, and debug connections simultaneously. The folks at SiFive realize documentation and SDKs are necessary to turn a chip into a development board. To that end, they have a bare-metal SDK and support for the Arduino IDE. The board itself comes with a bootloader, and when you plug the HiFive 1 into a USB you get the equivalent of the Blink sketch from the Arduino. Yes, you too can have Open Source blinkies. What a magical time to be alive. Right now there are two methods of programming the HiFive 1. The Freedom E SDK, and the Arduino IDE. The Arduino IDE appears to be dependent on the Freedom E SDK, so either way, you'll have to get the SDK running. Right now, the SDK only works under Linux (and OS X, and possibly Cygwin), but support for Windows is coming. For Linux users, the getting started guide is more than sufficient, although it will take quite a while (at least 30 minutes) to build all the tools. Once the Freedom E SDK is installed, support for the Arduino IDE pretty much falls into place. You'll have to futz around with the Boards Manager, but with a few clicks, you get something fantastic. You can blink an LED with Open Source Hardware.

83 comments

  1. ftdi? sigh ;( by TheGratefulNet · · Score: 2, Insightful

    REALLY bad idea. the company is fucked up. or, their leadership is, at least. I'll never touch another ftdi chip by choice, again. just search for 'ftdi gate' and you'll see the back story.

    --

    --
    "It is now safe to switch off your computer."
  2. No it is Not by Anonymous Coward · · Score: 0

    There have Been Op cores for years.
    There are many Public Domain Cores. Many of the are 8052 Cores.
    The Core is easy, It is the Software support tools that are hard.
    Until You get into the high tech stuff that is all patented.

  3. Who is first again now and how? by Anonymous Coward · · Score: 0

    Was it the Neo OpenMoko Freerunner or before that the Sony Mylo 2 or before that the Agenda Computing VR3?

    Im still waiting for the Linux kernal 2.0 pc-speaker synthesizer patch to make it into general kernal modern.

  4. The futuer of computing: RISC-V by Anonymous Coward · · Score: 0

    More interestingly, these are the guys behind RISC-V, the first royalty-free modern and forward-thinking ISA (instruction set architecture); the instruction set is designed to be modular, and it supports standardized implementations from this low-level kind of microcontroller all the way up to 128-bit (yes, that's right) general purpose or highly parallel computing.

    It has a lot of industry support, and a commuting of very zealous tinkerers, who are working on all manner of open-source implementations of this open and royalty-free ISA.

    1. Re:The futuer of computing: RISC-V by unixisc · · Score: 1

      Actually, why didn't they base this microcontroler on RISC-V or OpenRISC, rather than an ARM based Arduino?

    2. Re:The futuer of computing: RISC-V by SkOink · · Score: 2

      They did!

      The board uses a Freedom E310 RISC-V microcontroller. The PCB size and connector layout is the same as an Arduino, and also there is some software-compatibility with Arduino's programming environment. But it's definitely not ARM based.

      What makes this so interesting is that the instruction-set (RISC-V) is free for anybody to implement, and has growing academic support.

      The E310's RTL source-code is also open-source and freely available, which means you could implement your own version on an FPGA or approach a chip-fab if you wanted to build a lot of them.

      --
      ---- I'll take you in a Hunt deathmatch any day.
    3. Re:The futuer of computing: RISC-V by Smerta · · Score: 3, Interesting

      Speaking of RISC-V and its instruction set, I recently read an interesting & informative blog post on the topic by Adam Langely at his blog Imperial Violet

    4. Re:The futuer of computing: RISC-V by drinkypoo · · Score: 1

      That is informative, especially where you find out that it doesn't have dedicated pointer registers, so it effectively has several less GPRs. Good thing it has 32 of 'em to start with.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  5. 5v logic doesn't really matter by drinkypoo · · Score: 1

    It's nice, I'm not mad at it or anything, but for a lot of purposes you don't need it and it just takes up space. When you do, a 4-gang level shifter is only a couple of bucks. It seems unnecessary.

    What does matter is size. I pretty much just use ESP-01, ESP-07, and Arduino nano unless I have a really good reason to use something else, like a mini 2560. A dev board I can't fit into a project isn't as useful to me.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    1. Re:5v logic doesn't really matter by Anonymous Coward · · Score: 0

      If space is a concern, many times you can get away with just using a microcontroller directly. Something like an ATTINY 4313 is under $2 from Newark. You need a cheap programmer, but you can still use the Arduino IDE.

    2. Re:5v logic doesn't really matter by Cmdln+Daco · · Score: 1

      If you don't mind through-hole pin processors, you can buy a socketed Arduino UNO and use it as the device programmer. You need to push the low level stuff into each chip to make it work in the Arduino board, but that's fairly trivial and then you can program the chips on the Uno and pull them to deploy.

    3. Re:5v logic doesn't really matter by drinkypoo · · Score: 1

      You need to push the low level stuff into each chip to make it work in the Arduino board, but that's fairly trivial

      I presume you mean going through the ISP socket with USBASP or similar. I also have a JTAGICE MkII but so far USBASP has done what I actually need.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    4. Re:5v logic doesn't really matter by MightyYar · · Score: 1

      Or you can leave an ISP header on the board and just use any programmer on the chip in-place. USBtinyISP is $5 now - cheaper than even a knockoff UNO, and no pulling dip chips. If you do go the chip-pulling route, treat yourself to a ZIF socket. Under a buck and no more bent pins.

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    5. Re:5v logic doesn't really matter by Cmdln+Daco · · Score: 1

      The advantage of starting with the Arduino is the libraries, and all the prebuilt prototype peripherals, in the form of shields, that you can just plug into your own design and use.

      A bare bones ISP is also perfectly usable, but you by necessity start at a much lower level than you do when taking advantage of the libraries and hardware resources already established in the Arduino family.

    6. Re:5v logic doesn't really matter by drinkypoo · · Score: 1

      There's no point to spending $5 making a USBtinyISP when you can buy a USBASP with six pin adapter for six or seven bucks. I'm willing to spend a dollar to get a better, smaller programmer.

      What I'd like is a better clip for programming flat quad atmega8 chips than the thing hobby king sells

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    7. Re:5v logic doesn't really matter by MightyYar · · Score: 1

      Agreed that you lose the shields, but you do not lose the libraries. Most/much of the Arduino libraries work fine with discrete ATMEL chips. The post I was replying to suggested using various boards with non-traditional layouts, so the shields were not a factor in the discussion. The last little fun project I did with the kids was modifying one of those "Useless Box" toys to have psuedo-random behavior and more capabilities, like vibrating and lighting up. Because I was space-constrained, I ended up using a ATTINY - but that required only minor changes from a code standpoint compared to a full-blown Arduino. I just had to download the correct board files and refrain from using ATMEGA-specific features. I still used the same Arduino IDE, motor libraries, etc.

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
  6. Re:ftdi? sigh ;( by Anonymous Coward · · Score: 0

    Why They Bricked Clone Chips that used their drivers?
    An Little Dickish.
    The Clone companies could have written their own, but then they could not undercut FTDI prices.
    They Make Good well supported Products.

  7. Re: ftdi? sigh ;( by Anonymous Coward · · Score: 0

    But why should customers suffer bricked devices? Fuck FTDI, I won't buy anything with their chip s again.

  8. of-course your io method is by Anonymous Coward · · Score: 0

    across mike and speaker to directly control hardware?

  9. Open Hardware? by Obfuscant · · Score: 1

    The design files for the HiFive 1 were made with Altium, a proprietary and non-Free software.

    Umm, if you need proprietary software to modify the "open hardware" design, is it really open hardware?

    1. Re:Open Hardware? by drinkypoo · · Score: 4, Insightful

      Umm, if you need proprietary software to modify the "open hardware" design, is it really open hardware?

      Yes. It is open source, and it is free, but it is not Free.

      This is why capital-F Freedom is important, why Open Source is not enough.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re:Open Hardware? by Cmdln+Daco · · Score: 3, Insightful

      It's unfortunate, because the design would probably fit perfectly well into gEDA. Then it would be completely open-source editable.

    3. Re:Open Hardware? by Anonymous Coward · · Score: 0

      Sure.

      Virtually everyone running free-as-in-speech software runs it on proprietary hardware. Much such software runs ONLY on proprietary hardware. Needing proprietary hardware to run your free software is no different from needing proprietary software to run your free hardware.

      It would of course be better if it were done in free CAD software too, but Altium is very powerful and they may have just not wanted to deal with the far less capable free CAD alternatives.

    4. Re:Open Hardware? by AmiMoJo · · Score: 1

      It does seem like a very odd decision. Kicad actually comes with an Arduino board as one of the example projects.

      How does gEDA compare to Kicad?

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    5. Re:Open Hardware? by FrankHaynes · · Score: 1

      I'm so old I remember when hardware came with schematics.

      Kids today, thinking they're inventing a new concept!

      --
      slashdot: A failed experiment.
    6. Re:Open Hardware? by unixisc · · Score: 1

      Is proprietary software the only way to modify the open hardware design? Only then can its openness be called into doubt. If its spec is published - which it would have to be for it to be open - then there is nothing stopping a competent coder from writing an FOSS version of the modifying HDLs

    7. Re:Open Hardware? by Anonymous Coward · · Score: 0

      GEDA and KiCad are literal junk.

      The open source Mantra simply cannot apply to physical things. It makes zero sense as physical things cost money and time to reproduce. No Hardware design can be "Free" in the sense that you want it. Where do you stop? The Mask Files? The designs for deposition hardware? The process documentation for the silicon growth?

      If they release the gerbers and schematics, that is good enough. The fact that you get RTL is the closest you will ever need for open IC design. At that point you have everything you need to inspect and modify the design. Anyone who wants to play with RISC-V will simply use the RTL on an FPGA. Beyond that it is simply unpractical.

      IC design is not for the weak.

    8. Re:Open Hardware? by Anonymous Coward · · Score: 0

      GEDA and KiCad are literal junk.

      As is most of the rest of your post.

      The open source Mantra simply cannot apply to physical things. It makes zero sense as physical things cost money and time to reproduce.

      Seems you have missed the idea of that mantra. Open source makes perfect sense. Do you think it is somehow against that mantra to charge for your product? Such a profound misunderstanding, yet seems to be the only explanation.

      No Hardware design can be "Free" in the sense that you want it. Where do you stop? The Mask Files? The designs for deposition hardware? The process documentation for the silicon growth?

      If they release the gerbers and schematics, that is good enough.

      No, that's just it. Releasing schematics (.pfd) and gerbers is NOT open-source. Almost its antithesis. For a HW project to be open source, you release the schematics and layout files in a modifiable form. Preferrably in a open format, and not as Altium-specific files.

      The fact that you get RTL is the closest you will ever need for open IC design. At that point you have everything you need to inspect and modify the design. Anyone who wants to play with RISC-V will simply use the RTL on an FPGA. Beyond that it is simply unpractical.

      And now, when switching the domain from PCB to IC, you hit it spot on what open source HW is. Releasing the VHDL or Verilog of a chip is precisely what an FOSS project does. Its up to you to take it to silicon or FPGA in which ever you want. Since the project is Free, you have the freedom to do so with closed or open source tools.

      IC design is not for the weak.

      Nor the stupid. Just like SW design. The profound difference between SW and IC is that the top-notch SW compiler (gcc) is free of cost. The top notch IC compiler costs billions. This causes a significant difference in the way these fields work. But it don't mean the open source mantra can't be applicable in both, its works just a bit differently.

    9. Re:Open Hardware? by Anonymous Coward · · Score: 0

      How does gEDA compare to Kicad?

      Like apples to oranges.
      KiCad is a PCB design software.
      gEDA is a suite of EDA tools, including PCB design tools and verilog synthesis. I.e. something towards FPGA and IC.

      The HiFive1 could definetly have been done with either. Some parts of FE310 could have been done with gEDA.

    10. Re:Open Hardware? by Anonymous Coward · · Score: 0

      It would of course be better if it were done in free CAD software too, but Altium is very powerful and they may have just not wanted to deal with the far less capable free CAD alternatives.

      Definelty. Beacuse an Arduino board is so much more complex than a particle accelerator.
      http://www.ohwr.org/projects/cern-kicad/wiki

    11. Re:Open Hardware? by Anonymous Coward · · Score: 0

      I cleaned up a bit among papers that I got when I bought gadgets recently and found a schematic for a TV.
      Turns out that one of the small flat-screen TV's I bought to connect old consoles to had the schematic with it.
      The other TV that broke down was easy enough to fix without the schematic, but it is always nice to have.

    12. Re:Open Hardware? by radarskiy · · Score: 1

      As far as I know, there are no open formats that can store a complete board level design, only interchange formats for the emitted PCB layers.

      (As far as I know, there are no open formats that can store a complete any level design)

  10. Re: ftdi? sigh ;( by Cmdln+Daco · · Score: 1

    A lot of us just buy little tiny daughterboards with FTDI chips on them, for our microcontroller projects. You plug 'em in and the USB hassle is solved.

    USB really has been an ugly thing for some of us who for years liked being able to just hang a microcontroller project off a PC's serial port using a MAX232 chip, voltage level shifters or even just a few resistors. Turnkey USB i/o modules bring some of that back.

  11. Haha by ArchieBunker · · Score: 1

    The open source software is so shitty they had to design it with Altium. What, Eagle isn't good enough?

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
    1. Re:Haha by Anonymous Coward · · Score: 0

      Ha ha HAA! Like, totally LoL

    2. Re: Haha by Anonymous Coward · · Score: 0

      I don't think eagle is open source, I can't even get a version for my computer running BSD. You have to use kicad or xcircuit, etc if you don't have a windows computer but I'm fine paying for software too. Frankly, I don't even get this open hardware crap. Its like the software people trying to push their religion on us. If someone publishes the schematic, you can make it or your own similar version or use parts of it - that's how it always was. We don't need some open hardware job creation program to sign up for, I just give people the schematic. Like I said, don't get it - don't care.

  12. It is Open, Free and free. by Anonymous Coward · · Score: 0

    It is Open, Free and free.

    A Free Software project built with a proprietary toolchain is still a Free Software project. Richard Stallman started the GNU Project in 1984 with proprietary UNIX C compiler. The point is, in theory, anyone can port such project to a free and open toolchain or even build a new toolchain, and the project itself doesn't restrict users' freedom. Of course, the lack of free and open toolchains is a practical problem that limits the usefulness of the project, but it is a separate issue.

    Same applies to Free and Open Hardware.

    1. Re:It is Open, Free and free. by Cmdln+Daco · · Score: 1

      You have a point, but Altium is actually a very expensive EDA 'seat' so it will act as a barrier to people being able to just pick up the files and view/edit/revise them. As I mention below, gEDA would be the ultimate tool to use to create the design files.

      Eagle would be another alternative. It's popular, and low-cost for hobbyists. It's not Free or open source, but it's available at a price approachable by people without high-four-figures budgeted for each designer 'seat.' There is a limited completely-free version, and even a hobbyist license version that gives you the full-bore Eagle design seat for under $200 so long as it's for non-commercial projects.

    2. Re:It is Open, Free and free. by Anonymous Coward · · Score: 0

      Or you could use CircuitMaker, http://circuitmaker.com, wich is free. And it's based on Altum Designer so importing the Altium files should not be an issue.
      CircuitMaker has no limitation design wise, it's free. The only "negative" is that it's built with open projects,community and sharing in mind and kind of a requirement. So it's not quite the right tool for closed designs, but that's kind of a non issue in this case.

    3. Re:It is Open, Free and free. by cb88 · · Score: 1

      gEDA... I'm pretty sure the consensus is it isn't even the best Open source and Free tool... KiCAD probably has that title these days.

      It has actually improved a lot of the parts of gEDA that were bad ... not that they are the best on KiCAD yet but certainly from what I understand not bad like gEDA which was never seen as a competitor to Eagle... unlike KiCAD which acutally has people that use it because the like it and not just because it is free.

      There are difference costs to entry into using software.. sometimes it is $ and sometimes it is complexity, KiCAD is as free as gEDA but reduces some of the latter. What is the point of developing Free software if in the end the net cost of using it is extremely high.

  13. Re:ftdi? sigh ;( by arglebargle_xiv · · Score: 1

    Why They Bricked Clone Chips that used their drivers?
    An Little Dickish.
    The Clone companies could have written their own, but then they could not undercut FTDI prices.
    They Make Good well supported Products.

    Burma Shave.

  14. open hardware becoming more important by ooloorie · · Score: 2

    There seems to be a big push for backdoors into CPUs and other chips, anything from hardware backdoors to instruction set backdoors that allow you to circumvent OS protections. Open hardware designs provide at least some protection against these kinds of abuses.

    Another kind of approach towards the same goal is to use an FPGA together with a soft core CPU. While the FPGA may not be entirely trustworthy, it would be hard for any kind of FPGA hack to be smart enough to interfere with the operations of a soft core CPU.

    1. Re:open hardware becoming more important by AmiMoJo · · Score: 1

      The key to secure computing is to add your own trusted processors for specific tasks. You can't trust the CPU, but that doesn't matter if you move all the critical key management and encryption functions to a USB device you have full control over.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    2. Re:open hardware becoming more important by ooloorie · · Score: 1

      The key to secure computing is to add your own trusted processors for specific tasks. You can't trust the CPU, but that doesn't matter if you move all the critical key management and encryption functions to a USB device you have full control over.

      That's not correct, because the main computer also handles I/O; that is, even if your key management is secure, an attacker can still get at all your encrypted communications when you type them in and when they appear on your screen.

      Even disregarding that issue, trusted processors, crypto processors, and key stores are not, in fact, trustworthy because they are big and obvious targets for backdoors. Combined with a general purpose, networked machine, they can be attacked by an attacker first getting code onto the general purpose machine, and that code then taking advantage of the backdoors in the "trusted" hardware.

      My point was simply this, though: no matter how you use your "trusted processor", you can only really trust it if both the software and the hardware are open source and you can verify that what you are running corresponds to the source code.

  15. If you think this is awesome... by Anonymous Coward · · Score: 0

    Wait until next month.

    They're adding 7V and 4.2V logic because they're better.
    R3 will feature 10.93V logic and new experimental 15.22449V logic.

    Canonical is working on new 17.2V logic to try and get ahead of Wayland (that's implementing 17.3V logic).

    Arch will debut with 10,000V logic but they're having initial minor problems with the insulation for which bugs have been filed.

  16. Silicon Labs 2102, or CH340G/CH341 by raymorris · · Score: 1

    The CH340G usb serial chips are about 30 cents. On older versions of Windows you have to install the driver.

    For about $3 you can get an adapter that uses a Silicon Labs 210x chip, and support is better than the CH340G.

    1. Re:Silicon Labs 2102, or CH340G/CH341 by drinkypoo · · Score: 1

      For about $3 you can get an adapter that uses a Silicon Labs 210x chip, and support is better than the CH340G.

      What's wrong with CH340G support? It's included with Linux ;)

      Seriously though, I have a shit-ton of devices with the CH340G and I've never been sorry about it. And you can get CH340G modules for next to nothing, they're much cheaper than FTDI modules. Let alone bare chips.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  17. Re: ftdi? sigh ;( by Anonymous Coward · · Score: 0

    The People that got Bricked never Bought from them in the First Place.
    There were no drivers if they just refused to work.
    A dickish move on their part, but I goes they got their point across to the clones.

  18. Re: ftdi? sigh ;( by Osgeld · · Score: 1

    there's about a half dozen other USB ttl serial chips out there I can think of off the top of my head

    I wont incorporate FTDI in my designs anymore as well, not when maxium, ti, prolific, microchip, NXT and ST all make the same durn thing (and for cheaper as well in large quantities)

  19. Fixed link: by Anonymous Coward · · Score: 0
  20. Re:ftdi? sigh ;( by sjames · · Score: 1

    The problem is that they hit the wrong target. I don't blame them for wanting to block counterfeits, but they attacked people who had no way to know they were using a counterfeit. Basically, they mis-managed their channels to the point that a legit customer could make a good faith effort to buy the real thing at market price and still end up with fakes and no way to tell. FTDI had a way to tell but they wouldn't disclose it. Rather than fix their channels and help their direct customers to get the real thing, they punished people who had no idea what an FTDI was.

  21. I agree with you, but.... by Anonymous Coward · · Score: 0

    They keep shitting out these microcontroller projects based off 'full' processor cores, rather than even offering hooks for a memory controller, MMU, or other peripheral connections needed to go from chip to something useful.

    Sure I *COULD* buy one of these for microcontroller purposes, but even among the proprietary chips most have been well enough documented to offer the features I need.

    What hasn't been available in quite a long time is an actual general purpose processor, with even 90s era PC memory capacity or io capabilities to begin building an actual openly documented libre computer system around chips like the risc-v or j1/2/4/6 processors. At the rate those projects are going, the window of opportunity for 'free' modern processors will have come and gone, whether due to financial considerations or more than likely legal ones if the movement doesn't break through soon.

    The opportunities to get the international community out of this dark spiral we are swirling down is coming to a close. If people don't start getting slightly more ambitious with their design plans we are never going to get over the memory, io, and cpu boundaries necessary for these open source chips to be anything greater than a toy or niche product.

  22. Marketing hash ruins the lede by TopSpin · · Score: 4, Informative

    That is one disappointing summary. Marketing cut-and-paste mixed with a bunch of irrelevancies.

    This is RISC-V. That crucial fact and what it means is completely omitted from the summary. RISC-V is an open ISA (Instruction Set Architecture) out of Berkeley. By open I mean you can go over here and get the stuff you need to make a real CPU without any license costs or other IP entanglements. Open and free from the silicon up. RISC-V is a new 32/64/128 bit ISA with a clean, comprehensive design that is free of legacy cruft, bad ideas and other flaws, and the core instruction set has recently been permanently frozen so it's no longer a moving target for developers.

    SiFive is a fabless semiconductor company "founded by the creators" of RISC-V to produce real silicon. HiFive is a little demo board with a (rather fast) RISC-V SOC. Some people have gotten hung up on the FTDI thing; that's just a UART to provide USB; it doesn't mean this is some kind of proprietary trap. Because the ISA is fully open competitors are free to make their own RISC-V designs as well and embed/attach whatever UARTs they want. Competitors are also free to use Eagle, gEDA, damp napkins are whatever they wish to design boards for their RISC-V chips, so that Altium hang up in summary isn't particularly relevant either.

    Google has been a sponsor of RISC-V work and has been hosting conferences for the platform. They are also actively developing Go on RISC-V and there have been some rumors about Google using RISC-V to displace proprietary CPUs in their operations.

    --
    Lurking at the bottom of the gravity well, getting old
    1. Re:Marketing hash ruins the lede by drinkypoo · · Score: 2

      Some people have gotten hung up on the FTDI thing; that's just a UART to provide USB; it doesn't mean this is some kind of proprietary trap.

      What it does mean is that they wasted money using an expensive USB to UART which will drive away a subset of hobbyists, needed to drive adoption of the platform. Something cheaper and less controversial would have been just as good — in fact, better, because these guys have no way to know that they are not buying counterfeit FTDI chips, and neither do you. You don't want your dev board to go tits up during the dev cycle because FTDI are a bunch of arses.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  23. No analog pins? by ArylAkamov · · Score: 1

    Depressing

    1. Re:No analog pins? by Anonymous Coward · · Score: 0

      It's open source. Just add an external AD converter. The cheapest one you can find will probably beat the crap of the ones embedded in your favorite microcontroller.

  24. Re:ftdi? sigh ;( by Aighearach · · Score: 1

    Since they have no way for customers to verify if a chip is a "clone" or not, and the company won't even give the name of a single trustable distributor, it is therefore impossible for a customer to verify that a bricked chip is actually a "clone" and not simply a false positive.

    Pretty much every other parts supplier of any type of part in the world can, if they claim to care about "clones," give you the name of a trusted distributor that can provide a guaranteed-real part. FTDI, no such luck. If you buy it at full price from a reputable American distributor listed by FTDI as a company that they sell parts to, their official position is that you still might be buying clones.

    The net result is: if you use FTDI in a product, it might stop working for your customers at any moment, and there is no way to verify if a particular board is safe or not. And as a customer you should be aware that the manufacturer of the end product has no way at all to promise you that they used "real" FTDI chips; even if they bought them from the factory, that same factory will not promise that what ever was delivered off the truck is "real" in their eyes.

  25. Re:ftdi? sigh ;( by AmiMoJo · · Score: 1

    It's unnecessary too. Microchip make similar USB to RS232 converters, or you can roll your own fairly easily with a cheap microcontroller and open source firmware.

    The only slight hitch with rolling your own is that Windows requires a signed .inf file to make it work. You can get a free cert to sign the .inf. However, there is also the possibility of using some custom Microsoft USB descriptors that avoid the need for any driver files on the PC. It's designed for their WinUSB system but I think it might work with CDC too, it's something I have been meaning to try for ages.

    By the way, if any MCU manufacturers are listening, an 8 pin device with USB and a fancy serial peripheral that does UART/SPI/I2C would be lovely, thanks.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  26. Yawn by Anonymous Coward · · Score: 0

    Uh, I can already blink an LED with open-source hardware. A couple transistors make a flip-flop. Is the author of this article being a tad sarcastic here?

    1. Re:Yawn by MightyYar · · Score: 1

      It's just a nod to the tradition of using a "blink" program as an introduction to micro-controllers. No different than referencing "hello world" in an article about programming. You can blink an led with a Frankenstein style throw switch and a monkey. Just make sure you include a current-limiting resistor.

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
  27. Re:ftdi? sigh ;( by Anonymous Coward · · Score: 0

    I'll never touch another ftdi chip by choice, again. just search for 'ftdi gate' and you'll see the back story.

    That's quite a knee jerk reaction in the world of software/hardware. Here's a fix for your problem that works just fine. https://rlogiacco.wordpress.com/2016/03/04/win-10-ftdigate-solved/

  28. Not the first, possibly not the second either by spiritplumber · · Score: 1

    Point of order, the Parallax Propeller has been open source (in that they give you VHDL code and photolito files) for a couple of years now. Give them credit. https://www.parallax.com/micro...

    --
    Liberty - Security - Laziness - Pick any two.
  29. Benchoff is an asshole by Anonymous Coward · · Score: 0

    Supplyframe and HaD turn our barely researched garbage that misleads more than it informs. And Benchhoff is an asshole. Here's to the death of HaD in 2017!!

    1. Re: Benchoff is an asshole by Anonymous Coward · · Score: 0

      Awww, is someone butthurt because Benchoff correctly called out Fritzing as a piece of crap?

  30. "microcontroller" vs. "PCB"? by moeinvt · · Score: 2

    This open source microcontroller has been around for 10+ years:

    http://opencores.org/project,c...

    This is truly "open source" because you can download the actual VHDL source files and compile them into your own chip design.

    The article seems to be confusing a "printed circuit board"(PCB) with a "microcontroller". The author keeps referring to the "HiFive1" as a "microcontroller". It's not. It's a circuit board. The FE310 is the "microcontroller".

    From the company website:

    HiFive1 Features & Specifications
            Microcontroller: SiFive Freedom E310 (FE310)

    It looks like the Altium files are "open source", but Altium is PCB design software. I don't see a place where you can download the VHDL, Verilog source code or even a netlist and layout(e.g. a GDS file) of the actual FE310 microcontroller. That appears to be proprietary IP. I don't see how this is any more of an "open source" microcontroller than the Atmel or PIC chips.

    1. Re:"microcontroller" vs. "PCB"? by SuricouRaven · · Score: 1

      I could design an open-source microcontroller by that definition.

      atmega, regulator, crystal, three capacitors. layout on stripboard, done.

    2. Re:"microcontroller" vs. "PCB"? by radarskiy · · Score: 1

      The FE310 is a RISC-V instantiation. Here is the repo that will generate a configured RISC-V RTL: https://github.com/ucb-bar/roc...

      The compiled verilog netlist and layout for the FE310 is pretty useless to anyone not targeting an ASIC the same configuration on the same process in the same package... and completely useless to anyone targetting an FPGA.

    3. Re:"microcontroller" vs. "PCB"? by radarskiy · · Score: 1

      SiFive does have a repo for the Freedom to generate configured RTL verilog and an FPGA target too: https://github.com/sifive/free...

  31. only works under Linux by macxcool · · Score: 1

    Right now, the SDK only works under Linux

    There's something in me that snickers every time I read those words. It happens surprisingly often ;-)

    1. Re:only works under Linux by Anonymous Coward · · Score: 0

      Ditto. Thinking of Muttley's "wheezy snicker" here.

  32. Re:ftdi? sigh ;( by jenningsthecat · · Score: 1

    REALLY bad idea. the company is fucked up. or, their leadership is, at least. I'll never touch another ftdi chip by choice, again. just search for 'ftdi gate' and you'll see the back story.

    What part of "first open source microcontroller" did you not understand? I'm no fan of FTDI after what they did. But seriously, you read a story about a ground-breaking first product based on an OPEN MICROCONTROLLER, and all you can do is kvetch about the closed bit of silicon they used to get the first version out the door?

    --
    'The Economy' is a giant Ponzi scheme whose most pitiable suckers are the youngest among us and the yet-unborn.
  33. Re:ftdi? sigh ;( by drinkypoo · · Score: 1

    By the way, if any MCU manufacturers are listening, an 8 pin device with USB and a fancy serial peripheral that does UART/SPI/I2C would be lovely, thanks.

    You mean an attiny85? You do need a crystal to get USB out of it, is that a dealbreaker?

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  34. Re:ftdi? sigh ;( by c · · Score: 1

    It's too bad, really, because the FTDI chip is just a dev board peripheral and has nothing to do with the open source microcontroller itself, but it's going to be the source of a lot of controversy and noise.

    Plus it's not like there aren't viable alternatives to the FTDI...

    --
    Log in or piss off.
  35. Re:ftdi? sigh ;( by Shoten · · Score: 1

    The problem is that they hit the wrong target. I don't blame them for wanting to block counterfeits, but they attacked people who had no way to know they were using a counterfeit. Basically, they mis-managed their channels to the point that a legit customer could make a good faith effort to buy the real thing at market price and still end up with fakes and no way to tell. FTDI had a way to tell but they wouldn't disclose it. Rather than fix their channels and help their direct customers to get the real thing, they punished people who had no idea what an FTDI was.

    I see a bigger problem here. You've got a microcontroller that is ostensibly open-source hardware, but it's using a component from a company that most definitely swings hard in the other direction. Okay, so a USB-to-UART conversion option that is open-source hardware may not be available...but do you have to use one from a company that deliberately goes after clones in a way that punishes the innocent as collateral damage, too?

    --

    For your security, this post has been encrypted with ROT-13, twice.
  36. ESP-12 and Orange Pi by ninthbit · · Score: 1

    At the base level, the HiFive 1 is a powerful microcontroller with a lot of Flash, with support for hundreds of Arduino libraries. That’s great, and alone this might be worth the $60 price of admission.

    These "Open" projects will always have a hard time when they have a price tag of $60. Who's buying a microcontroller for that? I can buy a retarded number of ESP-12 chips for this, or even go with 8 much beefier Orange Pi Zeros.

    1. Re:ESP-12 and Orange Pi by Anonymous Coward · · Score: 0

      https://www.extremetech.com/computing/188405-risc-rides-again-new-risc-v-architecture-hopes-to-battle-arm-and-x86-by-being-totally-open-source
      RISC V is "much beefier" than Pi

  37. Good to know. Linux supports vacuum tube radars by raymorris · · Score: 1

    > I have a shit-ton of devices with the CH340G and I've never been sorry about it.

    That's good to know.

    > What's wrong with CH340G support? It's included with Linux

    Of course; I'm pretty sure Linux includes drivers for some 1960s era vacuum tube radars too. :) I have a bunch of old enterprise hardware, raid cards and such, that works fine with Linux - the companies that made the hardware have been bought out a couple times since my hardware was made, and it's been off the manufacturer "supported" list for probably a decade, so I would caution anyone considering it for new deployments.

  38. Re:ftdi? sigh ;( by Anonymous Coward · · Score: 0

    First? In what sense? There's piles of free/Free Verilog/VHDL out there that implement controllers, and which can be used how you like. Want a chip? Send them off to a foundry (unless you have your own). Want something now? Get an FPGA and shoot the bitstream into it. Compile with proprietary software, or use something like the Icestorm project.

    Some people had odd definitions of 'open' and/or 'first'.

  39. Re:ftdi? sigh ;( by c · · Score: 1

    You've got a microcontroller that is ostensibly open-source hardware, but it's using a component from a company that most definitely swings hard in the other direction.

    Microcontroller != development board.

    The chip itself is (I assume) open source. The implementation of this specific development board was created using proprietary software and includes a proprietary component, but that's about it.

    If the MCU is of any interest to people, there will be other more or less open dev boards created. Most obviously would be things like the STM32 ARM boards that are all over the place now having just the minimum voltage regulation, resistors, capacitors, pin headers, crystals and jumpers to be usable with an external USB-to-TTL conversion module.

    --
    Log in or piss off.
  40. Re:ftdi? sigh ;( by AmiMoJo · · Score: 1

    The software V-USB stack has the disadvantage that a lot of cycles are lost to it and the timing is forced by interrupts. A double buffered peripheral with DMA into RAM will allow you to get a high baud rate on the serial side.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  41. Re:ftdi? sigh ;( by Anonymous Coward · · Score: 0

    The only thing FTDI did wrong was not finding a way to perminantly hard brick the clone chips. Sorry, but customers and vendors will continue to look the other way unless there are consequences. This is the harsh reality.

    What I want is a working legit FTDI implementation that is known good and I DO NOT want a clone because I don't have time for shit knockoffs that have crept in to the supply chain.

    I don't care if your device doesn't work. Go bitch at your vendor for getting fake chips, not FTDI. FTDI maintains their drivers and they have no obligation to you to maintain compatibility. For any reason. You are at their whim. Full stop.

    The real solution is to create a standard with a generic driver. But that takes time and money. You know. Like FTDI did when they made their chips that became the only non-shit usb-to-serial solution. Only to have their devices cloned so inferior knockoffs could steal their marketshare and dilute their brand.

  42. Re:ftdi? sigh ;( by radarskiy · · Score: 1

    "or you can roll your own fairly easily with a cheap microcontroller"

    Yo dawg, I heard you liked microcontrollers, so I put a microcontroller with your microcontroller so you can serially communicate with your serial communications.