Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Motorola S-RecordNew to Visual Studio Code? Get it now.
Motorola S-Record

Motorola S-Record

Yongdong Xiao

|
64,540 installs
| (1) | Free
Motorola S-record file format
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Motorola S-record for Visual Studio Code

This extension provides support for the Motorola S-record file format.

This extension is based upon keroc's Intel HEX format extension(https://github.com/keroc/hex-fmt)

Features

srecord-example

Color syntax

Status bar indicators

Adds some information on the status bar:

  • Binary size in bytes ie the total number of bytes in the binary information contained in the file without all the S-record format overhead.
  • Address of the cursor location in the binary information. This will only appear if the record type is data and if the cursor is on the data field.
  • The starting execution location.

File Reparation

Broken srec files can be repaired either automatically on save or by explecitly calling a command.

srecord-repair

The reperation process is done record by record and is based on each record header (from startcode to record type). This means that at least the header must be correct to repair a record. Then the data will be fitted to the byte count and the checksum will be updated.

Commands

  • Find: Find the position of a given address in the file.
  • Repair: Repair the opened srec file.

Extension Settings

This extension contributes the following settings:

  • srecord.repairOnSave: tells if a srec file must be repaired when saved (default to false).

Release Notes

See CHANGELOG.md.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft