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.

CC2538 Flash programming

Other Parts Discussed in Thread: CC2538

Hi,

This is Frantisek from ELNEC company. Can anybody provide Flash programming specification for device from subject? We got demand from Chinese customer to implement programming on our device programmers.

Thank you in advance.

Best regards,

Frantisek

  • Hello,

    Nobody from TI read this question?

    Frantisek

  • Hi,

    Sorry for the late response.

    The CC2538 debug interface (cJTAG/JTAG) is described in chapter 6 of the CC2538 User's Guide (SWRU319). The device memory map is described in chapter 4.

    The CC2538 has a ROM API available with functions for erasing and writing the CC2538 flash, see chapter 3 of SWRU333. This document also describes the CC2538 serial bootloader which can be used to program the device.

    Using the debug interface, flash programming can be done as listed here:

    1. Connect to device
    2. Copy data to program into device RAM
    3. Call ROM API function for erasing/writing flash pages (sector erase size is 2048 bytes)

    Useful info:

    • CC2538 sector erase size is 2048 bytes
    • Flash starts at address 0x0020.0000
    • SRAM starts at address 0x2000.0000

    Hope this helps!

    Br,
    TIABO 

    --
    PS. Thank you for clicking  Verify Answer  below if this answered your question!

  • Thanks a lot!

    BR,

    Frantisek