[SOLVED] Start application code after programming

  • [SOLVED] Start application code after programming

    Hello
    I'm using jlink in IAR and my micro is stm32f030 .
    after i program my micro it won't start working until i reset my micro or using j-Flash->Target->start Application .

    is there any setting that i can do that it happen automatically after programming ?


    Best Regards
  • Hi,

    in J-Flash, you can check the "Start application" check-box in the Production tab of the project settings.
    Performing "Auto" (F7) will than also start the microcontroller.



    Best regards,
    Niklas
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • SEGGER - Niklas wrote:

    Hi,

    in J-Flash, you can check the "Start application" check-box in the Production tab of the project settings.
    Performing "Auto" (F7) will than also start the microcontroller.



    Best regards,
    Niklas


    Hello Nilas
    Thanks for your support
    actually i'm looking for solution in IAR .
    as I'm writing in IAR it's much easier to program in IAR.
  • Hi,

    I am sorry, but I don't know it. I would guess it is possible with an IAR EWARM macro file.
    Please note that IAR EWARM is not a SEGGER product, therefore I can only give you the advice to take a look at the IAR manual or contact IAR.


    Best regards,
    Niklas
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • SEGGER - Niklas wrote:

    Hi,

    I am sorry, but I don't know it. I would guess it is possible with an IAR EWARM macro file.
    Please note that IAR EWARM is not a SEGGER product, therefore I can only give you the advice to take a look at the IAR manual or contact IAR.


    Best regards,
    Niklas


    could you please tell me what is the "start application" command if I want to write macro .
  • Wrong forum. More a question for IAR.
    We would have to have a look into the IAR manuals, too. So this is another place where you could look for what you want to achieve.


    Best regards
    Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.