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.

TM4C123GH6PM: Using bootloader AND storing and accessing variables from FLASH on the Tiva-C

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: EK-TM4C123GXL

Hello,

In my application, I store certain initialization variables in flash, namely:

uint32_t write_eeprom_int(uint32_t addr, int data) {
    pui32Data[0] = data;
    return EEPROMProgram(pui32Data, addr, sizeof(pui32Data));
}

uint32_t write_eeprom_float(uint32_t addr, float data) {
    pui32Data[0] = ((union u32f32){.f32 = data}).u32;
    return EEPROMProgram(pui32Data, addr, sizeof(pui32Data));
}

I also would like to use usb bootloarder from: tivaware_2_2_0_295/examples/boards/ek-tm4c123gxl/boot_usb which works perfectly.

I use address space from 0x00 to 0x100 for storing my variables.

I am writing this post to ask, if we can use both bootloader operating from the flash, and the eeprom, which are different spaces of memory. Is this correct?

The datasheet states what the eeprom is "2Kbytes of memory accessible as 512 32-bit words" and this has nothing to do with bootloader is this correct?

Is there anything that I should be cautious of when using usb bootloader and flash?

Best Regards,

-C

Can