Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-10923

SysConfig gives incorrect indexes into the NVS Config table when external entries come before internal ones

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • TI Device Drivers
    • TIDRIVERS-5560
    • TIDRIVERS_6_20_00
    • TIDRIVERS_6_30_00
    • Hide
      CC13x1
      CC26x1
      CC13x2
      CC26x2
      CC13x2x7
      CC26x2x7
      CC13x4
      CC26x3
      CC26x4
      Show
      CC13x1 CC26x1 CC13x2 CC26x2 CC13x2x7 CC26x2x7 CC13x4 CC26x3 CC26x4

      When configuring the NVS in sysconfig, the indexes provided in ti_drivers_config.h do not match with the actual NVS configurations in the NVS config table in ti_drivers_config.c. What seems to be happening is that the NVS_Config table is created by adding the external config list onto the end of the internal one, but the defines that index into the config table don't reflect that structure; instead they match with what sysconfig shows. Either the backend NVS_Config table needs to match what sysconfig shows, or the defines ti_drivers_config.h provides need to match what the table actually has. 

       

      In the example below, if you try to use CONFIG_NVSINTERNAL2, you actually end up using CONFIG_NVSEXTERNAL.

       

       

      SysConfig View NVS_Config Table
      Internal Internal
      Internal Internal
      External Internal
      Internal External

       

       

       

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: