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.

Using DMM for programming FLASH



As it was mentioned in TMS570 Datasheet (spna141c): "A Direct Memory Module (DMM) gives the ability to write external data into the device memory". Is it possible to use DMM port to change the main program in FLASH memory of TMS570 in running mode, for example, using external MCU or CPLD?

  • Hi,

     

    To program the flash memory in the TMS570LS2 series, their is a need to run a specific algorithm.
    This algorithm is available part of our Flash API library.
    Writing to the flash is not like writing to RAM.

    Assuming the flash algorithm is already part of your application program, and already flashed in the device, it is possible to use the DMM to receive the data to be programmed/reprogrammed to flash.

    Note: It is possible to execute code from one flash bank and erase/program a sector located in a different bank.

    In typical application, CAN, SPI or SCI are used to download to the device, data to be programmed in the flash.

    Best Regards,

    Jean-Marc

  • Thanks, Jean-Marc.

    Are there any code examples for changing main program in Flash through the CAN interface?