Coder Social home page Coder Social logo

homebrew-r31jp's Introduction

homebrew-r31jp

Go to nitsky's original repo for the latest version.

  1. Install drivers for your serial-to-usb connector

My lab kit came with a Sabrent connector, so I used the CB-RS232 driver at https://www.sabrent.com/downloads/.

  1. Run
brew tap wangray/r31jp https://github.com/wangray/homebrew-r31jp
brew install r31jp 

Copied from http://davidyamnitsky.com/blog/2013/07/27/r31jp/:

Create an assembly file, and when you are ready to load it, just run

r31jp filename.asm

The r31jp script assembles the code with as31 and then waits for you to reset the R31JP in MON mode. It then uploads the code, and opens a serial console using screen. You can run the code by switching the board into RUN mode and hitting reset, or by entering the command G8000. The script takes one argument, the path to an 8051 assembly file, and has two options, -s to specify the serial port for the R31JP, and -b to choose the baud rate of MINMON. The default serial port is /dev/tty.usbserial which the Prolific driver chooses for Mac OS X, and the default baud rate is 9600.

You can also generate the .hex file yourself using as31 filename.asm, and load it onto the board using the same command as above.

This fork just switches from SHA1 to SHA256, since SHA1 is disabled in newer versions of homebrew. All creds to nitsky!!

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.