[SOLVED] PSoC 5LP extended memory programming

  • [SOLVED] PSoC 5LP extended memory programming

    I seem to be having a bit of trouble programming the extended memory areas of a Cypress CY8C5287AXI-LP095 MCU. As near as I can tell J-Link lacks built-in support for reprogramming the EEPROM, NVL and ECC areas.

    Fair enough. To rectify this I am looking into hacking together a CMSIS FLASH algorithm from the bootloader. Mostly to allow me to migrate away from the heinous Cypress Creator.

    Are there any sample implementations available for use as a starting point? Say, a no-op RAM reader/writer or some such.

    This MCU allows mapping in the 32 ECC bytes from each 256-byte FLASH row as general-purpose memory, which get written as single 288-byte rows but read back from a separate region at 0x48000000.

    Are there any clean ways of dealing with such discontiguously mapped memory areas? I am currently leaning towards forcing an initial full-chip erase, then programming each row twice.
  • Hi,


    this can be done by using the Open Flashloader concept.
    Documentation can be found in the wiki: wiki.segger.com/Adding_Support_for_New_Devices
    and in UM8001 chapter "Open Flashloader", section "Editing/Extending an Existing Device".

    Are there any sample implementations available for use as a starting point?

    Template projects are available for Embedded Studio in the wiki, example XML files can be found in section "Example XML file" in the manual.


    Best regards,
    Niklas
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.