Skip to content

Incorrect partition table data returned by stse_data_storage_get_partitioning_table() on STSAFE-A110 #82

@parmi93

Description

@parmi93
    uint8_t total_zone_count = 0;
    
    stse_data_storage_get_total_partition_count(&stse_handle, &total_zone_count);
    
    stsafea_data_partition_record_t data_partition_record_table[10] = {0};
    
    stse_data_storage_get_partitioning_table(
            &stse_handle,
            total_zone_count,
            data_partition_record_table, 
            10
    );

Content of data_partition_record_table after calling stse_data_storage_get_partitioning_table():
Image

According to the datasheet AN5762 (table 5), the first record (data_partition_record_table[0]) appears to be correct.

The second record (data_partition_record_table[1]) is mostly correct, except for the data_segment_length field, which is 677 instead of the expected 700 according to the datasheet.

The remaining six records appear to be completely incorrect. They seem to contain corrupted or invalid data.

My device is an STSAFE-A110. Is this behavior expected?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions