Giter VIP home page Giter VIP logo

si4010prog's Introduction

SI4010 Programmer/Debugger

si4010prog is a tool to program and debug the Silicon Labs SI4010 micro controller.

C2 Bus Master

The si4010prog program requires some sort of C2 Bus master hardware to interact with the C2 bus.

  • Cypress FX2: The best tested interface. See drivers/c2_fx2/README.md
  • Linux GPIO: Driver using Linux GPIO. See drivers/c2_gpio/README.md
  • Linux LPT: Deprecated, LPT port base bus master
  • FT232: C2 bus using the FT232(H) chip. See drivers/c2_ft232/README.md

See the drivers/ directory for more available bus masters, or run si4010prog -d help to get a full list of available bus masters.

Compiling the Software

To compile si4010prog run:

cd build
cmake ../
make

Optionally you can configure the build to enable/disable some features using ccmake or similar cmake gui.

Known Issues

  • Currently there is no way to check if the micro controller is running.
  • Issuing a halt command when micro controller already halted cause protocol break. This can only be fixed by doing a 'reset'.
  • Timing of official FT232R(L) chips is broken

Usage Examples

  • Identify device

      # si4010prog identify
      Device ID: 0x24; Revision ID: 0x02
    
  • Load program into xram and run:

      # si4010prog reset prg:test.ihx run
      Resetting SI4010
      Programming CODE memory using "test.ihx"
      Resuming SI4010 MCU
    
  • Halt running process, get program counter, and dump 16 byte at address 0x08

      # si4010prog halt getpc dram:0x8,16
      Halting SI4010 MCU
      Getting program counter:
      0x01f1
      Dumping 16 bytes of RAM at 0x08:
        0x0000 01daa1a2a3000000 0000000000000000                                      ................
    

NVM programming

See 'nvm_programming.markdown'

si4010prog's People

Contributors

dimhoff avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.