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.

What is the maximum size of Flash memory can be connected with MSP432 through EPI (External Peripheral Interface) in Host-mode?

Part Number: MSP432E401Y

Dear Techies,

What is the maximum size of flash memory can be connected with MSP432 through EPI ( External Peripheral Interface ) in Host-mode?

Reference 1:

I found the below table in MSP432E401Y TRM. Here, it is mentioned like 512MB. Is it right? 

Requirement:

1. We are deploying the LWIP protocol stack form the MSP432SDK and got the executable file size upto 900KB. But internal flash size is 1MB. It is not sufficient for our application.

     We are looking for external flash.

2.  We would like to put  8MB/16MB/32MB external flash. Is it possible? 

Regards,

Maikkannan.

  • Hi Maikkannan,

    What is the maximum size of flash memory can be connected with MSP432 through EPI ( External Peripheral Interface ) in Host-mode?

    You are correct, it is 512MB. Of course you will need to ensure your memory device is compatible with the bus requirements for this mode.

    We would like to put  8MB/16MB/32MB external flash. Is it possible? 

    Yes.

    Regards,

    Evan

  • Hi Evan, 

    Thanks for you reply.

    1. Here, external flash is required for storing the executable image and booting. will it work?

    2. In this below table, it is mentioned like 512MB. it is wrong. Instead of 512KB they mentioned 512MB.

    3. Is this 'Addressable Memory' field mentions about parallel memory? We need to connect serial flash memory. Is it possible?

        Exact requirement :  Serial external flash + SPI interface + size more than 1MB.

  • 1. Here, external flash is required for storing the executable image and booting. will it work?

    Yes. You will need to initialized the EPI before you can run code from it. That code obviously will have to be on the MSP432.

    2. In this below table, it is mentioned like 512MB. it is wrong. Instead of 512KB they mentioned 512MB.

    Thanks for noticing this, it is an error.

    3. Is this 'Addressable Memory' field mentions about parallel memory? We need to connect serial flash memory. Is it possible?

        Exact requirement :  Serial external flash + SPI interface + size more than 1MB.

    It is up to you to determine if the EPI Host Bus (or other) protocol is compatible with you chosen flash. The TRM will have all the information (including waveform diagrams) about how each supported protocol operates.

    Regards,

    Evan

  • Thanks lot Evan. Here, few more queries to confirm the design,

    1. If external flash possible for booting, how can we store the image into the external flash? Please give some detail for flashing.  (SW)

    2. How the booting will happen in case of external flash contain image and needs to be executed in Internal RAM?  Any example bootloader code available? (SW)

    3. How the booting will happen in case of external flash contain image and needs to be executed in external SDRAM? Any example bootloader code available? (SW)

    Regards,

    Maikkannan

  • 1. If external flash possible for booting, how can we store the image into the external flash? Please give some detail for flashing.  (SW)

    To be honest I'm not sure. The MSP432 BSL may be able to program the external flash, but you will have to experiment. I'm not entirely sure I understand your definition of "booting". Once the EPI is configured the device can address into the external flash can execute code from it, but the code that sets up the EPI will need to be on the local MSP432 flash.

    2. How the booting will happen in case of external flash contain image and needs to be executed in Internal RAM?  Any example bootloader code available? (SW)

    Not sure what you mean. Why do you need to execute from RAM?

    3. How the booting will happen in case of external flash contain image and needs to be executed in external SDRAM? Any example bootloader code available? (SW)

    Not sure what you mean. I would expect most of the boot code to reside on the local MSP432.

    Regards,

    Evan

  • Hi Evan,

    2. How the booting will happen in case of external flash contain image and needs to be executed in Internal RAM?  Any example bootloader code available? (SW)
    Question is:  What are the things we need to configure for booting from external flash memory? Is it possible to boot form parallel external flash memory?
  • Issue:

    MSP432E401Y internal flash memory (1MB) not sufficient  to store the executable image.

    Image size is more than 1MB.

    Requirement:

    1. Is it possible to interface external flash memory for storing the executable image.

    2. How to boot from the external flash memory?

    3. Which flash memory we need to select? parallel or serial?

    Thanks and Regards,

    Maikkannan

  • Hi,

    I merged your new question with this thread because I think all the questions are related. If you disagree, I apologies you can ask it again.

    As far as I know EPI is the only way to run code stored on an external memory.

    How the booting will happen in case of external flash contain image and needs to be executed in Internal RAM? 

    Please define what your application needs to do during boot. 

    Any example bootloader code available?

    I'm not aware of any.