Note: I am not affiliated with the project

  • simple@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    11 months ago

    Seems like a cool project, but with such weak specs what can one actually do with this?

    • Danny M@lemmy.escapebigtech.infoOP
      link
      fedilink
      English
      arrow-up
      21
      ·
      edit-2
      11 months ago

      The specs are literally the reason why people would buy this. It’s basically the best device we have available that can be used as a base for devices handling secure computation, or software handling secure computation. Think of a FIDO2 key, or a gpg smartcard, all secure and verifiable

      • dragontamer@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        edit-2
        11 months ago

        Ehhhh… I’d recommend a Teensy instead, or a variety of other microprocessors. At $72, this is awful value. And there seems to be no specifications with regards to power-consumption.

        https://www.pjrc.com/store/teensy41.html

        Teensy 4.1 gives you Hardware Floating point, 100 MBit Ethernet, USB, 600MHz, 1024kB of SRAM, 7MB of Flash for like $35 and within ~100mA of current usage at this 600MHz speed, meaning it easily runs off of AA Batteries for over a day with just a bit of idle/sleep cycles.

        • BearOfaTime@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months ago

          Wow.

          I have no idea what I’d use it for (or even how to use it) but I want one!

          • dragontamer@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            11 months ago

            How so?

            The use-case is determined by power-efficiency, performance, and cost. Cost is already a loser at $72 vs $35. Performance is a loser at 18MHz vs 600MHz. What’s left is power-efficiency, but now that I know that this is an FPGA soft-core, I’m guessing the Teensy / ARM Cortex-M7 is also more power efficient.

            So the Teensy is cheaper, faster, and (probably??) more power-efficient than the RISC-V soft-core FPGA implementation here.


            The 8-bit uCs that I like to play with (AVR, or their competitors PIC12, Cortex M0+, Cortex M32, or TI MSP430) are all in the 5mA or less range (dramatically so: some in the 5uA range if you abuse sleep / idle states severely). These 8-bitters are closer to the performance that I’d expect of the 18MHz speed and 128kB of RAM here, but I have reason to believe that the 8-bit (and 32-bit / 16-bit competitors like Cortex M0+ / MSP430) are far more power efficient than the TKey.

            In fact, cryptographic applications in an embedded low-power circumstance is typically handled by… that damn 8051 chip again in the form of our PKI cryptography inside of our credit cards. They are so power-efficient, there’s no battery involved but instead can absorb energy through Near Field Communications (aka: Tap to pay) alone. I doubt the TKey here has that level of cryptography + low power usage.


            Reviewing the project here, it seems like a RISC-V / FPGA soft-core project trying to come up with a use case. It uses a more modern BLAKE cryptography algorithm (instead of the standard, still secure, SHA standards or AES standards because other chips like our credit-card chips, already implement hardware accelerated ASICs on that algorithm). Its almost like this was specifically designed to avoid the common use cases and form a new niche. Which is fine I guess. But a more realistic project would use a more standard Zinq kind of setup (ASIC hard-core Cortex-M of some kind + FPGA), rather than spending most of your FPGA LUTs on a soft-core IMO.

            As such, I do believe that this is the kind of project that started as “How can I find a use of RISC-V?” and tried to find an application from there. Rather than the more appropriate “Think of a problem, then choose the best tool” forward-engineering kind of mindset. Nothing wrong with trying to experiment with RISC-V or trying to build the tools around a new, seperate ecosystem mind you. But there are downsides.


            The problem is that this field is just so competitive. Each “mainstream” use of a device like this is basically overruled by like 3 or 4 competitors. Its difficult for me to think of a niche where pico-RISC-V soft-cores on an iCE40 FPGA is an appropriate solution.

    • dragontamer@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      2
      ·
      11 months ago

      This thing is like 5x more MHz with 8x more RAM than an Arduino. 18MHz and 128kB is plenty.

      Remember: the Apollo flight computer (Moon landing) was accomplished with 2MHz and 4096 bytes of RAM. Even the Arduino is more computationally powerful than the Moon Lander.

        • dragontamer@lemmy.world
          link
          fedilink
          English
          arrow-up
          8
          arrow-down
          2
          ·
          edit-2
          11 months ago

          Any computer application you can think of from the 1970s or earlier can be replicated by a device of approximately the specs listed in this topic.

          IE: Airplanes, Space Exploration, Differential Equations, Matrix Multiplications, Simulations, Cruise Missiles, Homing Missiles, Firing Computers (aka: aim-bots), RADAR, SONAR, Radio communications, Error-correction codes, Reed-Solomon (aka: reliable communications to the Voyager Probe)

          To just give you an incomplete idea of what’s possible. So erm… anything you want, really. Yeah, we have faster computers today, but we use most of that computational power for convenience and graphics, rather than like, actually solving problems.


          The vast majority of car controls (Air Bags, Tire Pressure Sensors, Electronic Computer timings, Traction Control, Radio, etc. etc.) is built up from cheap (but very reliable) microcontrollers. Industrial control systems that run our factories and precisely perform operations using servos and sensors are also using chips of this caliber.

          You might be surprised at what a few MHz and a few kilobytes of RAM can accomplish.

          • Plopp@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            11 months ago

            Oh, well in that case I’m making a USB connected sonar guided homing missile with an airbag!

            • dragontamer@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              1
              ·
              edit-2
              11 months ago

              That’s what confused me.

              Modern versions of ATMega (ex: the AVR DD) run at 4MHz by default, even if they can go up to 24MHz. Looking back at ATMega328p (which powered the Arduino Uno, aka the one that got popular), the ATMega328p defaults to 1MHz. (IE: 8MHz internal oscillator with 1/8 clock division == 1MHz overall)