srec

package module
v0.0.0-...-be9e2d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2019 License: MIT Imports: 5 Imported by: 0

README

srec

Utilities for generating Motorola SREC files.

Documentation

Overview

Package srec returns Motorola S-Record dumps. Currently, it only supports S19 and S37 records, but not S28 records.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy16

func Copy16(header []byte, exec uint16, r io.Reader, w io.Writer) error

Dump16 copies the data from the reader to an S19 16-bit record in the writer. Memory devices (such as EEPROMs) should use an exec address of 0.

func Copy32

func Copy32(header []byte, exec uint32, r io.Reader, w io.Writer) error

Copy32 copies the data from the reader to an S37 32-bit record in the writer. Memory devices (such as EEPROMs) should use an exec address of 0.

func Dump16

func Dump16(header, data []byte, exec uint16) string

Dump16 returns an S19 16-bit record. Memory devices (such as EEPROMs) should use an exec address of 0.

func Dump32

func Dump32(header, data []byte, exec uint32) string

Dump32 returns an S37 32-bit record. Memory devices (such as EEPROMs) should use an exec address of 0.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL