Comments (3)
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.
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.
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)
- New Programmer: TL866II Plus HOT 14
- Issues with newer firmware? HOT 3
- 1.8V device adapter support HOT 1
- Few documentation about TL866 and comments in code HOT 6
- Re-reverse-engineering the device database HOT 15
- int size appears in a few places HOT 3
- New TL866II Plus Support HOT 2
- Possible abandonment of Github HOT 2
- CD4028 CMOS IC check HOT 1
- With firmware versions after 6.71 mini pro doesn't work. HOT 4
- Winbond W27C512 64k EEPROM Device ID Mismatch HOT 4
- is this abandoned ? HOT 1
- After upgrading programmer to V03.2.86, code no longer works HOT 1
- missing "typedef" HOT 1
- I can't seem to write anything or read anything from the programmer, but it recognises it. LIBUSB_ERROR_NO_DEVICE HOT 1
- How to test an SRAM chip
- udev files put in the wrong place for local compilations HOT 5
- Merge in changes from https://github.com/rozhuk-im/minipro HOT 7
- Support for ATmega8/16/32U series wanted HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minipro.