How to enable the F280X Standalone-mode

Markus_20691
Markus_20691 Altair Community Member
edited October 2023 in Community Q&A

Dear Altair Embed Support Team,
I have another question regarding Embed and the F280X (MCU).
I would like to know, if it is possible to download the compiled program (or diagram) dircet onto the MCU and use it, without any communication to the computer.
That means, that the target interface has no data transfer to the host computer (but the the energy supply).
Or in other words: I download the program on the F280x and after that there is no data connection 
to the computer anymore (standalone) but the program runs when energy supply is available.
Thank you for your help

Kind regards 
Markus

Tagged:

Answers

  • Sreeram Mohan_20368
    Sreeram Mohan_20368
    Altair Employee
    edited October 2023

    Hi Markus, 

    It is possible to generate code with target as flash. In the codegen dialog please do select Target Flash to generate the target code and the .out file accordingly. 

    However you would not be able to download the generated .out file from Embed. You should use the generated .out file and download to the target using TI's Uniflash tool. 

    Please refer to the procedure here for the same ;

    https://2022.help.altair.com/2022.2/embed/index.html#!flashinggeneratedcodewithuniflash.htm

     

     

     

    image

    Hope this helps ,

    --sreeram

  • Peter Darnell
    Peter Darnell
    Altair Employee
    edited October 2023

    Hi Markus,

    If I read your question right, you just want to download and run with no HIL interface. That can be done both with and without flashing. To compile for standalone operation, do not select "Use selected compound edge ...." option in the codegen dialog. After compiling, you click the "Download" button to the right of the "Compile" button. That will bring up the "Download" dialog below:

    image

    Then clicking the "Download" button here will download to RAM. If you want to burn it to flash, you will need to use Uniflash from TI as Sreeram mentioned. Note that all STM32 targets do support flashing directly from Embed. By the way, you can run in HIL mode with an app burned to flash as well. 

    Cheers,

    Pete