ulink_write_firmware_section() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDulink_write_firmware_section()

ulink_write_firmware_section() function

Send one contiguous firmware section to the ULINK's EZ-USB microcontroller over the USB bus.

Syntax

static int ulink_write_firmware_section(struct ulink *device,     struct image *firmware_image,     int section_index);
Implemented in ulink.c:430

Arguments

device

pointer to struct ulink identifying ULINK driver instance.

firmware_image

pointer to the firmware image that contains the section which should be sent to the ULINK's EZ-USB microcontroller.

section_index

index of the section within the firmware image.

Return value

on success: ERROR_OK on failure: ERROR_FAIL

References

LocationReferrerText
ulink.c:430
static int ulink_write_firmware_section(struct ulink *device,
ulink.c:164
static int ulink_write_firmware_section(struct ulink *device,
ulink.c:403ulink_load_firmware()
ret = ulink_write_firmware_section(device, &ulink_firmware_image, i);

Call Tree

Functions calling ulink_write_firmware_section()
Functions called by ulink_write_firmware_section()
all items filtered out
ulink_write_firmware_section()
Data read by ulink_write_firmware_section()
Data written by ulink_write_firmware_section()
ulink_write_firmware_section()::addr
ulink_write_firmware_section()::size
ulink_write_firmware_section()::bytes_remaining
ulink_write_firmware_section()::chunk_size
ulink_write_firmware_section()::data
ulink_write_firmware_section()::data_ptr
ulink_write_firmware_section()::size_read
ulink_write_firmware_section()::ret
all items filtered out
ulink_write_firmware_section()
ulink_write_firmware_section()::addr
ulink_write_firmware_section()::size
ulink_write_firmware_section()::bytes_remaining
ulink_write_firmware_section()::chunk_size
ulink_write_firmware_section()::data_ptr
ulink_write_firmware_section()::ret
all items filtered out
Type of ulink_write_firmware_section()
ulink_write_firmware_section()
size_t
uint8_t
uint16_t
all items filtered out