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.

MSP432E401Y: Generating executable file in CCS

Part Number: MSP432E401Y


Tool/software:

Hello Team

We need to flash a Lattice FPGA (.sea and .sed files) with MSP432E401Y. The interface between FPGA and uC is SPI.

There is an example from Lattice which flashes the fpga from Raspberry pi. In this they've written the configurations in a makefile and using command prompt they're calling the makefile and passing the .sea and .sed files as arguments.

Kindly answer my following questions.....

How to generate a executable file to flash the same?

Can you please tell if the above method is possible for us to do in windows?

Thank you.

  • Hi Monica,

     I have no experience with the Lattice FPGA. I think you need to port the MSP432E SPI driver to interface with the Lattice's SSPI embedded programming source code. I will suggest you follow the Lattice demo reference design on how to port for other processors. There is really no knowledge for Lattice I can offer here. I think ultimately, you need to create an program image to be run on MSP432E so it can act as a programmer to program the Lattice.  

  • Hello Charles,

    We have modified the driver for MSP432E as mentioned in the lattice source code.

    But my problem is to run the program image on an windows machine like how it is done in the reference for raspberry pi.

    In the Lattice's SSPI embedded programming source code, the main function is expecting the .sed and .sea files as arguments so we need to run the program image with its argument files in a command prompt or similar command window

    So can you please tell if it is possible to generate a executable file in CCS that can be flashed with files like we've mentioned above? if yes how to do that? Or is there any other ways that we can do this

    Thank you.

  • But my problem is to run the program image on an windows machine like how it is done in the reference for raspberry pi.

    Can you answer a few questions because I'm still unclear on what you want to accomplish? Please understand I have zero knowledge on Lattice's SSPI embedded programming source code.

    - Are you trying to generate an executable from CCS to be run on a Windows machine? Bear in mind that CCS is a just an IDE. You would need to specify a CPU platform for which the IDE will base on to build the project. For example, if you select MSP432E then this is based on a Arm's Cortex--M4F CPU platform. The compiler that is to be used for building the project will support Arm Cortex-M architecture. The executable or binary that is generated will only run on the targeted platform which in this case is the MSP432E. You cannot run this executable/binary on a Windows machine. A Windows machine is based on Intel's x86 architecture. Maybe I'm missing what you are trying to do. 

    - What is the program image you are referring here? 

    - Are you trying to create sspiem-rbpi (the executable) using CCS?

    - What are  the .sed and .sea files?

    So can you please tell if it is possible to generate a executable file in CCS that can be flashed with files like we've mentioned above? if yes how to do that? Or is there any other ways that we can do this

    Here you said "can be flashed with files.....".

      -Are you trying to flash the MSP432E or what?

      - What program image are you trying to flash the MSP432E?