Code Monkey home page Code Monkey logo

bin2srec's Introduction

bin2srec

A command line tool which converts binary files to s-record files.

The source code is from internet.

help:

Syntax: BIN2SREC <options> INFILE > OUTFILE

-help            Show this help.
-b <begin>       Address to begin at in binary file (hex), default = 0.
-e <end>         Address to end at in binary file (hex), default = end of file.
-o <offset>      Generated address offset (hex), default = begin address.
-a <addrsize>    Number of bytes used for address (2-4),
                  default = minimum needed for maximum address.
-l <linelength>  Number of bytes per line (8-32), default = 32.
-s               Suppress header and footer records.
-q               Quiet mode - no output except S-Record.

example:

BZ_DEV_FW    := $(soc_srctree)/output/out/fwprog/devfw
BIN2SREC_SRC := $(soc_srctree)/tools/bin2srec/bin2srec
BIN2SREC_DIR := $(soc_srctree)/output/tools/bin2srec
export BIN2SREC_DIR

bzbin:
    $(MAKE) -C $(BIN2SREC_SRC)
    @echo  '  Gen     sys.s19'
    @$(BIN2SREC_DIR)/bin2srec -q -s -o 10000000 -a 4 $(BZ_DEV_FW)/sys.devfw > $(BZ_DEV_FW)/s19/sys.s19

bin2srec's People

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.