package
module
Version:
v0.0.0-...-be9e2d4
Opens a new window with list of versions in this module.
Published: Jan 28, 2019
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
srec
Utilities for generating Motorola SREC files.
Documentation
¶
Package srec returns Motorola S-Record dumps. Currently, it only
supports S19 and S37 records, but not S28 records.
-
func Copy16(header []byte, exec uint16, r io.Reader, w io.Writer) error
-
func Copy32(header []byte, exec uint32, r io.Reader, w io.Writer) error
-
func Dump16(header, data []byte, exec uint16) string
-
func Dump32(header, data []byte, exec uint32) string
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.
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.
Dump16 returns an S19 16-bit record. Memory devices (such as EEPROMs)
should use an exec address of 0.
Dump32 returns an S37 32-bit record. Memory devices (such as EEPROMs)
should use an exec address of 0.
Source Files
¶
Directories
¶
cmd
|
|
|
|
Click to show internal directories.
Click to hide internal directories.