ProScript .NET Documentation
ProScript .NET Documentation
ProScript
SRECFirmwarePackage Class
SRECFirmwarePackage Constructor
SRECFirmwarePackage Methods

# SRECFirmwarePackage Class

This class can be used to read Motorola SRecord files produced by most of the Renesas tools.
Inheritance Hierarchy
System
Object
ProScript
SRECFirmwarePackage

Namespace: ProScript
Assembly: proscript-csharp (in proscript-csharp.dll) Version: 1.6.39.0 (1.6.39.0)
Syntax
C#
VB
C++
F#
Copy

    public class SRECFirmwarePackage : IFirmwarePackage

    Public Class SRECFirmwarePackage
    	Implements IFirmwarePackage

    public ref class SRECFirmwarePackage : IFirmwarePackage

    type SRECFirmwarePackage =
        class
            interface IFirmwarePackage
        end

The SRECFirmwarePackage type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| SRECFirmwarePackage | Initializes a new instance of the SRECFirmwarePackage class

Top
Methods

| Name | Description
--- | --- | ---
| Convert | This method will convert a SREC record into a HID feature report for use by the firmware updater built into JPX. The ST1500 series devices require that firmware updates be in fixed length pages aligned to a particular page length. This means that the sparse SREC records need to be aligned to the correct page buffers and sent along page-by-page instead of update by update.
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetPageCount | Gets the number of pages in this firmware package.
| GetRestrictions | Gets the restrictions for this package.
| GetType | Gets the type of the current instance. (Inherited from Object.)
| NextPage | Returns the next firmware page.
| ReadStream | This function reads in a stream containing firmware from a Motorola S Record file
| ToString | Returns a string that represents the current object. (Inherited from Object.)

Top
See Also

#### Reference

ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.