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.

F28M35 M3 core can erase/program C28 FLASH?

Hi all,

We want to build a bootloader for F28M35, the bootloader run at M3 core side. We expect installing/upgrading M3 programme image and C28 programme image, my question is how to erase/programm C28 FLASH from M3 core programme?

  • Hi Arthur,

    M3 can not directly program/erase C28x FLASH.  What you could do is download the C28x FLASH API in one of the Shared RAM (Sx RAM) using M3 BOOTLOADER and then pass the Shared RAM control to C28x and then let C28x run that code to program/erase it's own FLASH.

    Regards,

    Vivek Singh

  • Hi Arthur, let us know if you have any further queries on this.

    Regards,
    Vivek Singh
  • Hi Vivek,
    I'm sorry to reply you late. Do you means that we can write C28 code(step stone code) which runs on shared memory to simulate C28 FLASH api program/erase C28 FLASH? We'll test the method, and ask you for help if any question.
    Thank you very much!
  • Hi Arthur,

    Yes, you can load the C28 Code into Shared RAM using M3 bootloader and then run that code from C28x to erase/program the C28x Flash.

    Regards,

    Vivek Singh