BowlerKernel
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
com.neuronrobotics.sdk.bootloader.IntelHexParser Class Reference
Collaboration diagram for com.neuronrobotics.sdk.bootloader.IntelHexParser:
Collaboration graph
[legend]

Public Member Functions

 IntelHexParser (ArrayList< hexLine > lines, NRBootCoreType type) throws IOException
 
int size ()
 
ByteData getNext ()
 

Static Public Member Functions

static String hex (long n)
 

Private Member Functions

void checkAddressValidity (long currentAddress, NRBootCoreType type)
 

Private Attributes

long highAddress =0
 
long dataIndex =0
 
long base = 0x1D00A000L
 
long head = 0x1D01FFFFL
 

Detailed Description

The Class IntelHexParser.

Author
hephaestus

Definition at line 17 of file IntelHexParser.java.

Constructor & Destructor Documentation

◆ IntelHexParser()

com.neuronrobotics.sdk.bootloader.IntelHexParser.IntelHexParser ( ArrayList< hexLine lines,
NRBootCoreType  type 
) throws IOException

Member Function Documentation

◆ checkAddressValidity()

void com.neuronrobotics.sdk.bootloader.IntelHexParser.checkAddressValidity ( long  currentAddress,
NRBootCoreType  type 
)
private

◆ getNext()

ByteData com.neuronrobotics.sdk.bootloader.IntelHexParser.getNext ( )

Gets the next.

Returns
the next

Definition at line 139 of file IntelHexParser.java.

References com.neuronrobotics.sdk.bootloader.IntelHexParser.dataIndex.

Referenced by com.neuronrobotics.sdk.bootloader.NRBoot.send().

◆ hex()

static String com.neuronrobotics.sdk.bootloader.IntelHexParser.hex ( long  n)
static

Hex.

Parameters
nthe n
Returns
the string

Definition at line 40 of file IntelHexParser.java.

Referenced by com.neuronrobotics.sdk.bootloader.IntelHexParser.checkAddressValidity().

◆ size()

int com.neuronrobotics.sdk.bootloader.IntelHexParser.size ( )

Size.

Returns
the int

Definition at line 130 of file IntelHexParser.java.

Referenced by com.neuronrobotics.sdk.bootloader.NRBoot.CoreLoader.CoreLoader().

Member Data Documentation

◆ base

long com.neuronrobotics.sdk.bootloader.IntelHexParser.base = 0x1D00A000L
private

◆ dataIndex

long com.neuronrobotics.sdk.bootloader.IntelHexParser.dataIndex =0
private

The data index.

Definition at line 26 of file IntelHexParser.java.

Referenced by com.neuronrobotics.sdk.bootloader.IntelHexParser.getNext().

◆ head

long com.neuronrobotics.sdk.bootloader.IntelHexParser.head = 0x1D01FFFFL
private

◆ highAddress

long com.neuronrobotics.sdk.bootloader.IntelHexParser.highAddress =0
private

The high address.

Definition at line 20 of file IntelHexParser.java.

Referenced by com.neuronrobotics.sdk.bootloader.IntelHexParser.IntelHexParser().


The documentation for this class was generated from the following file: