This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TM4C1294NCPDT:EEPROM 地址

Guru**** 2525230 points
Other Parts Discussed in Thread: TM4C1294NCPDT

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1132093/tm4c1294ncpdt-eeprom-address

器件型号:TM4C1294NCPDT

大家好、我在我的项目中使用 TM4C1294NCPDT MU、在这种情况下、我使用 EEPROM 来存储一些数据、我不会获取 EEPROM 的任何地址范围、而只是使用 AS  

EEPROMRead (((uint32_t *)&set、0x400、sizeof (set));

我需要 EEPROM 的起始地址和结束地址。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Dinesh 您好!

    器件数据表概述了2.4存储器模型中存储器部分的地址。

    也就是说、EEPROMRead 不需要该起始地址和结束地址-只需从0x000到0x600读取即可存储的 EEPROM 值的范围即可。

    您是否正在初始化 EEPROM?

        //
        // Enable the EEPROM module.
        //
        SysCtlPeripheralEnable(SYSCTL_PERIPH_EEPROM0);
        
        //
        // Wait for the EEPROM module to be ready.
        //
        while(!SysCtlPeripheralReady(SYSCTL_PERIPH_EEPROM0))
        {
        }
        
        //
        // Wait for the EEPROM Initialization to complete.
        //
        ui32EEPROMInit = EEPROMInit();
        
        //
        // Check if the EEPROM Initialization returned an error
        // and inform the application.
        //
        if(ui32EEPROMInit != EEPROM_INIT_OK)
        {
            while(1)
            {
            }
        }

    此致、

    Ralph Jacobi