The Amp Hour

An Interview with Uri Shaked (Wokwi.com)


Listen Later

Welcome Uri Shaked of Wokwi.com!

  • Wokwi is an online microcontroller simulator built to make it easy to test different code types / platforms like Arduino, MicroPython, Rust, C, and more!
  • Hardware targets:
    • ESP32 (and -C3, -S2)
    • AVR
    • RP2040
    • It was initially built to scratch own itch and get rid of lots of hardware on his desk. It all started as an Arduino simulator.
    • Chris has had bad simulation experiences in early 2000s (felt so fake)
    • Uri has talked about the simulator on Embedded.fm as well
    • The Wokwi simulator is built on mutliple layers
      • Schematic layer creates a netlist
      • All the code get compiled to a binary
      • The binaries get loaded into microcontroller core simulators (depending on the processor/instruction set)
      • All things on github open source
      • Simulating an LED is especially hard because of PWM and user screen refresh rates
      • An often asked for feature is a built in debugger. Uri has been working on getting LLDB working.
      • gdb compiled as x86 binary and then simulating the linux distribution
      • Fast LED Library and the code required to work with its timing
      • life of a packet:
        • comple source code to hex file
        • starts AVR simulator
        • ESP32 connection to the internet
        • The ESP32 uses the Xtensa instruction set (though the -C3 is a RISC V part)
        • Espressif didn't publish the instruction set manual
        • Reverse engienering the wifi driver was tough and involved Ghidra, an open source reverse engineering tool. There is also an xtensa plugin in Ghidra and Uri was using gdb on the physical chip as well for comparison. Uri gave a talk about this at 2021 Hackaday Remoticon
        • Uri published the Gateway code (in Go) on Githubwokwi-gw
        • You can vote on what's next on the roadmap by joining the Wokwi Club
        • Cortex-M4 parts are coming soon
        • Extending Wokwi - how to create your own chips
        • Writing code for the external parts like an i2c keypad driver
        • What is WebAssembly?
        • How much is running in the browser vs talking back to the cloud?
        • Micropython projects have very little interactions with the servers
        • Blog post about Kasm 
        • Caching at the project / compiler level
        • pic simulab
        • How accurate should a simulator be?
        • Hardware in the loop testing
        • Show with Pete from Blue Clover
        • Show with Akbar from Lager Data
        • For the Skull, Uri recorded signals with Saleae, added that as a simulated output
        • Saleae episode
        • Join the Wokwi.com Club!
        • Ask questions on the Wokwi Discord
        • More than anything, Uri is trying to gather feedback, so please try it out and let him know what you think!
        • ...more
          View all episodesView all episodes
          Download on the App Store

          The Amp HourBy The Amp Hour (Chris Gammell and David L Jones)

          • 4.9
          • 4.9
          • 4.9
          • 4.9
          • 4.9

          4.9

          226 ratings


          More shows like The Amp Hour

          View all
          The Changelog: Software Development, Open Source by Changelog Media

          The Changelog: Software Development, Open Source

          289 Listeners

          This Week in Tech (Audio) by TWiT

          This Week in Tech (Audio)

          3,061 Listeners

          Security Now (Audio) by TWiT

          Security Now (Audio)

          2,009 Listeners

          Software Engineering Daily by Software Engineering Daily

          Software Engineering Daily

          626 Listeners

          Talk Python To Me by Michael Kennedy

          Talk Python To Me

          583 Listeners

          SpyCast by SpyCast

          SpyCast

          1,534 Listeners

          SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast) by Johannes B. Ullrich

          SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast)

          648 Listeners

          Embedded by Logical Elegance

          Embedded

          190 Listeners

          Smashing Security by Graham Cluley

          Smashing Security

          317 Listeners

          Darknet Diaries by Jack Rhysider

          Darknet Diaries

          8,051 Listeners

          Physics World Weekly Podcast by Physics World

          Physics World Weekly Podcast

          77 Listeners

          Practical AI by Practical AI LLC

          Practical AI

          208 Listeners

          Hackaday Podcast by Hackaday

          Hackaday Podcast

          64 Listeners

          Latent Space: The AI Engineer Podcast by Latent.Space

          Latent Space: The AI Engineer Podcast

          101 Listeners

          Robinson's Podcast by Robinson Erhardt

          Robinson's Podcast

          265 Listeners