I have a Motorola S-record file and the last address is different when read with srec_info in linux vs windows. When I run command srec_info abc.mot, I get: Linux: Format: Motorola S-Record Header: "abc.mot" Execution Start Address: FFE00500 Data: FF7FFFE8 - FF7FFFF3 FFE00500 - FFE5FC73 FFFFFF80 - FFFFFFFFFFFFFFFF Windows: Header: "abc.mot" Execution Start Address: FFE00500 Data: FF7FFFE8 - FF7FFFF3 FFE00500 - FFE5FC73 FFFFFF80 - FFFFFFFF I have tried different things but don't understand why this...
Hi, How can I keep the comments part of an intel hex record. For example if I process one hex file that comes with comments section (started with ; for the first 100 lines there) , the output hex will have no more comments section. The output hex file is started directly with record :. I need the comments section in order for further processing. I was trying option -enable=header, but seems nothing happened. What is the right option to skip comment processing? Thanks +ap+
Hi, How can I keep the comments part of an intel hex record. For example if I process one hex file that comes with comments section (started with ;) , the output hex will have no more comments section. The output hex file is started directly with record : I was trying this option -enable=header, but seems nothing happened. What is the right option to skip comment processing? Thanks +ap+
new input filter : nibble_swap (#62)
Add support for gowin .fs files (input only) (#59)
Merge pull request #60 from marcows/pdf-deps
doc: Complete the dependencies for PDF generation
doc: Remove unused file new.so, it is generated during build
Merge pull request #58 from marcows/pdf-features
cspell: Add pdfmark and related command names to the dictionary
doc: Explicitly set a consistent paper size (A4) for PDFs
doc: Display the PDF outline by default when opening the file
doc: Add a PDF outline for navigation in the reference manual
doc: Add metadata to all four PDF documents
doc: Change "\[hy]" to simple "-" character in .XX macros
doc: Move .XX macros up a few lines before .SH macros
Fix formatting error in srec_cat(1) doc options
Ohio Scientific 65A Support (#57)
Add git hash including to documentation(#55)
Generate compile_commands.json in build directory (#54)
Fix indent style tabs -> spaces
Fix bounds checking bug found by Daniel Anselmi during his development of VHDL_textio format support. Added a regression test
Added web and README docs references and libsrecord interface for VHDL textio
Add vhdl textio format (output only) (#52)
Added additional docs references, libsrecord interface and --guess inclusion for Efinix bitstream
add support for efinix .bit/.hex files (input only) (#51)
Migrated code base to use cstdint (#48)
Merge pull request #43 from SeanAlling-DojoFive/modernization/updating-c++-pass-1
[modernization] First pass updating codebase to C++11
[bugfix] Stop execution when invalid input detected
Merge pull request #36 from oceanofthelost/bugfix/rounding-exception
Merge pull request #32 from jtxa/clang-tidy-fixes-step1
clang-tidy: Update configuration and CI call
[bugfix] Added tests showing rounding failure
C++: Apply misc readability fixes
C++: Remove useless const
C++: Fix strcmp/memcmp
C++: Remove void arguments for consistency
C++: Fix macro parantheses
C++: Use uppercase literal suffix
C++: Apply misc C++11 modernizations
C++: Improve const usage
C++: Modernize and de-duplicate includes
C++: Use auto keyword
CI: Do update package index on Linux
cSpell: Add filename exceptions
cmake: Require C++11 as minimum
ShellCheck: Avoid checking success of echo
Glad to hear you are back up and running Frédéric and thank you for the kind words. The project was started by and mainly written by the late Peter Miller and keeping it going is a labor of love for a few of us so knowing that it continues to help is very rewarding. All the best, Scott
Thank you for your detailed response Scott. Indeed, I was having trouble finding the right commands to fill the gaps. I also wanted to tell you that the work done on Srecord is really impressive. It is a very complete and practical tool. Cheers, Frédéric
Hi Frédéric, The error message you are seeing covers the issue. Your Intel hex file contains a "hole" and the Lattice format doesn't support holes. A hole is any region between address zero and the last data byte in the input file where the data isn't specified. If you run srec_info program.hex -intel you'll get the following output: Format: Intel Hexadecimal (MCS-86) Data: 0100 - 013F ***note the start address isn't zero! As your error message says "there is a hole at 0x0000..0x00FF" ie the data...
Hi everyone, I'm trying to convert a .hex -Intel file into a .mem -MEM file. But I got this issue and I need some help : C:\Users\freda\Documents\conversion_mem>srec_cat program.hex -Intel -o prog.mem -Mem srec_cat: prog.mem: 11: The Lattice Memory Initialization Format (.mem) output format is unable to cope with holes in the data,however there is a hole at 0x0000..0x00FF. This is my program.hex : :10010000214601360121470136007EFE09D2190140 :100110002146017E17C20001FF5F16002148011928 :10012000194E79234623965778239EDA3F01B2CAA7...
Merge pull request #31 from jtxa/ci-msys-doc-gitattributes
Add .gitattributes to force LF
docs: Split pdf generation into 3 separate steps
CI: Add package build for MSYS2
Merge pull request #28 from marcows/msys2-pdf
doc: Fix missing man pages in reference manual PDF generated by MSYS2
doc: Fix abort of PDF generation with MSYS2
arglex: Avoid warning about unused function
Merge pull request #27 from jtxa/ci-abort-on-warnings
CI: Fail QA on warnings by clang-14 and gcc-11
msbin: Avoid warning by renaming function
hp64k: Remove unused parameter
Make static_assert C++11 compatible
Avoid variable length array for C++11 compatiblity
CI: Small improvements on GitHub workflow
CI: Add Windows MSYS2 and MacOS workflow
Merge pull request #24 from jtxa/ci-win-mac
CI: Add QA check for Clang-Tidy
CI: Add QA workflow with specials build
Merge pull request #19 from jtxa/mega-linter
doc: Normalize groff calls
doc: Do not copy scripts to build directory
doc: Fix some issues in shell scripts
doc: Refactor CMake file
test: Use test_prelude.sh from source dir
README: Simplify, fix formatting and spelling
Fit C source into line length limit
Change spelling of nybbles to nibbles
Add cSpell configuration
Fix spelling errors
Add GitHub workflow for MegaLinter
Remove leftover scripts after ref-index.so removal (#23)
Remove vestigal ref_index.so (#22)
Merge pull request #20 from marcows/msys2-psselect
MSYS2: install mingw-w64-x86_64-texlive-bin
Merge pull request #18 from sierrafoxtrot/srec_input_doc_update
Fix missing reference to hp64k absolute format in srec_input.5
Merge pull request #11 from marcows/doc-fixes
Use correct command name 'srec_cat' in man page copyright sections
Fix the license CLI option in man page copyright sections
Fix the -LICense CLI option
Merge pull request #14 from jtxa/fix-srec_info-end-address
Remove duplicated copyright/maintainer block from Mips-Flash doc
Fix wrong reference to Signetics file format man page
Add srecord(3) section to the reference manual TOC
Remove .5 suffix from man page names
srec_info: Replace snprintf by iomanip functions
srec_info: Fix address length formatting