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

Overview

Artifact ID: 233ab4c9f6facf355eeb317b06276ccb58df974b
Page Name:binconvert
Date: 2017-11-08 02:18:54
Original User: erikj
Mimetype:text/x-markdown
Parent: 29e7821cf4df3a79b65f6466db3bb60d109f3228 (diff)
Next dd4707524b61aa4b96296773ef1a842f37567ca2
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