Giter Club home page Giter Club logo

cdecv_programmer's Introduction

cdecv_programmer

Programmer for cdecv_with_monitor(https://github.com/rikitoro/cdecv_with_monitor)

Installation

$ bundle install 

How to use

program (download the hexfile onto CDEC v's RAM)

$ bundle exec ruby cdecv_programmer.rb /dev/ttyS2 hexfile_sample/bitcount_test.hex
WM:10000000821381FF21E40BE80EC00442C004A8FF00
WM:10001000A814FF0000000000000000000000000000
DONE

read CDEC v's RAM

$ bundle exec ruby cdecv_ramreader.rb /dev/ttyS2
:10000000821381FF21E40BE80EC00442C004A8FF64
:10001000A814FF0004000000000000000000000021
:1000200000000000000000000000000000000000D0
:1000300000000000000000000000000000000000C0
:1000400000000000000000000000000000000000B0
:1000500000000000000000000000000000000000A0
:100060000000000000000000000000000000000090
:100070000000000000000000000000000000000080
:100080000000000000000000000000000000000070
:100090000000000000000000000000000000000060
:1000A0000000000000000000000000000000000050
:1000B0000000000000000000000000000000000040
:1000C0000000000000000000000000000000000030
:1000D0000000000000000000000000000000000020
:1000E0000000000000000000000000000000000010
:0F00F00000000000000000000000000000000001
:00000001FF

get more information (not implemented yet)

$ bundle exec ruby cdecv_monitor.rb /dev/ttyS2
{"PC":"08","A":"00","B":"04","C":"00","T":"00","R":"08","FLG":"04","Xbus":"08","MA":"07","WD":"04","RD":"E8","I":"E8","xsrc":"000","xdst":"0000001010","aluop":"0111","cycle":"00DC"}

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.