srecord - Manipulate EPROM load files
Copyright (C) 2011, 2012 Peter Miller
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Data is presented as 32\[hy]bit hexadecimal numbers, in the normal big\[hy]endian text number format. To write them to memory, you have to know if the target is big\[hy]endian or little\[hy]endian. for little endian targets, reverse the order of the bytes in this number.
The eight bytes following a '>' are a sort of comment. The SDE code reads like they are displayed in the flash programmer as a kind of progress indicator.
The number following '@' is a new address for the following data.
Each segment must be erased before it can be written, this is done with the '!E' command. Each segment is assumed to be 128kB in size.
Special segments must unlocked (with the '!C' command) and locked again (with the '!S' command).
This file format contains no checksum mechanism.
!R >00000xxx @00000000 !E @00000000 >00000000 48656C6C 6F2C2057 6F726C64 210A0000 >#DL_DONE >FINISHED
.so man/man1/z_copyright.so .so man/man1/z_copyright.so vim: set ts=8 sw=4 et :