Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: dd4707524b61aa4b96296773ef1a842f37567ca2
Page Name:binconvert
Date: 2017-11-09 23:16:21
Original User: erikj
Mimetype:text/x-markdown
Parent: 233ab4c9f6facf355eeb317b06276ccb58df974b (diff)
Next a626bd391b054ec7f38bf72767d5ef9a41613be1
Content

binconvert

This package is in the process of being enhanced and re-hosted at Chisel. The process is expected to complete in November 2017.

About

Binconvert is a Tcl package that reads & writes EEPROM memory files in multiple formats (Motorola S-REC, Intel Hex, TI Txt, raw binary). Within Tcl, the information in the files is available for use as a Segment List, i.e. a list of segments in address/datablock pairs.

Documentation

Binconvert is written for use with the pycco documentation generator in a literate programming style. Generated documentation can be found here and here.

Installation

Download the teacup file to your local system. From a command line in that directory:

teacup install binconvert.tm

Example usage

set bindata [binconvert readFile srec inputFile.S28]
set bindata [you_can_process_the_data $bindata]
binconvert writeFile i16hex $bindata outputFile.hex