Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
SegmentTable Struct Reference

Declares that a given piece of data has to be copied from one place in memory to a place in flash. More...

#include <ReflashBootloader.hxx>

Public Attributes

uint8_t * dst_address
 address in the flash space where to write
 
const uint8_t * src_address
 address where to read the golden data from
 
uint32_t length
 number of bytes to write
 

Detailed Description

Declares that a given piece of data has to be copied from one place in memory to a place in flash.

A list of such segments defines how to overwrite the bootloader by the reflash_bootloader application.

Definition at line 43 of file ReflashBootloader.hxx.

Member Data Documentation

◆ dst_address

uint8_t* SegmentTable::dst_address

address in the flash space where to write

Definition at line 46 of file ReflashBootloader.hxx.

◆ length

uint32_t SegmentTable::length

number of bytes to write

Definition at line 50 of file ReflashBootloader.hxx.

◆ src_address

const uint8_t* SegmentTable::src_address

address where to read the golden data from

Definition at line 48 of file ReflashBootloader.hxx.


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