Giter Site home page Giter Site logo

Intel HEX output format needed about minipro HOT 3 CLOSED

 avatar commented on May 25, 2024
Intel HEX output format needed

from minipro.

Comments (3)

DavidGriffith avatar DavidGriffith commented on May 25, 2024 1

The code to do this is extremely simple. I'm looking at adding an -f flag to indicate what sort of hex format to use. For instance: minipro -p "M27C256B @DIP28" -r foobar.hex -f i8 for Intel I8HEX.

from minipro.

chenz avatar chenz commented on May 25, 2024

Maybe it would be better to go the Unix way and implement piping, and leave format conversion to external tools, ie srecord (http://srecord.sourceforge.net/).

EDIT: by "piping", I don't mean shelling out to a conversion tool, but to simply implement reading/writing from/to stdin/stdout. This would also require a cleanup that I was already about to suggest for #113 - keep stdout clean of any log messages (ie print those to stderr), and reserve stdout for the actual output of the operation.

from minipro.

elosha avatar elosha commented on May 25, 2024

It would be fine if both piping (for extension and unixability) and few most common formats worked.

Why I think some hex formats should be put directly into minipro: The purpose of those formats is to provide targets & programmers with a checksummed code image, so why reject that. "srecord" as a mighty editing and conversion tool retains its legitimation.

@DavidGriffith: Just a guess, probably most people will be happy if the very commong Intel Hex (.hex) and Motorola S-record (.S) are understood, right? One can recognize those two by filename extension (no binary image will be called foobar.hex), so -f should be an override flag, I suggest.

from minipro.

Related Issues (20)

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.