Bootloader from USB for S7

Hi,

we are starting a new design with a S7 microcontroller, based on the PE-HMI1 evaluation board.

Is there a sort of bootloader available from Renesas that enables the application firmware upload from a USB stick?

Thank you,

Andrea.

  • Hi all,

    I´m interested too in gettiing this app. example for a customer. Does it exist?

    Any other example code of for booting and flash update would be welcomed.

    Thanks!

  • In reply to ARROW FAE:

    Here is the most recent update from the Synergy Development team.

    In the current SSP release, 1.1.3 there is no support for a traditional user bootloader function- i.e. a function that helps load code into flash that is targeted for start-up execution. There are plans for such a function in a future SSP release however. When a public schedule is available, that date will be posted to this thread.

  • In reply to WarrenM:

    Hi,
    are there any update about a SSP that includes a bootloader that enables the application firmware upload from a USB stick?
    Thank you.
  • In reply to Laser:

    Hello Laser,

    I'm aware that bootloader for the module is currently being worked on however there's no planned release date as of yet. You can implement simple bootloader by jumping to the initial address (base + 4) of another application after setting VTOR register (0xE000ED08U) to the vector table of that application (base address). You'll need to make sure your client application is linked at certain offset so that it doesn't overwrite the bootloader.

    Regards
  • In reply to Renesas Karol:

    Hello

    Currently, there is a bootloader through a pendrive connected via USB for SSP 1.3?

    Regards
  • In reply to feraro:

    Hi feraro,

    Please take a look at the following project from Karol:

    s7_sk_ux_mass_host_boot_nano_1_3_0.zip

    Regards,
    adboc

  • In reply to adboc:

    Thank you very much adboc.

    Something I need to do. I do not have the files "sf_memory_mcu_flash.h", "sf_bootloader.h" and "sf_firmware_image.h". Where can I find them?

    Is there any documentation about this project?

    Regards.
  • In reply to feraro:

    Hi feraro,

    The project depends on the Flashloader Framework available from Synergy Gallery (SSP Utilities tab). This is an unofficial project, so there is no documentation, but the code is relatively easy to understand.

    Regards,
    adboc

  • In reply to adboc:

    Hi

    I have already managed to compile the project correctly. Thank you very much for your help.

    Now, to generate the BCH file, I modified the file S7G2.ld to change the starting address of my application

     

    I try to convert it with Renesas Synergy Flashloader Utility but it gives me the following error

     

     

    Can you help me, please?

     

    Best Regards

  • In reply to feraro:

    Hi feraro,

    When you build your program you will get a .srec file in debug folder. Now using flash loader utility open this .srec file by browsing application file and press convert.

    regards

    Mohamed Hashir
  • In reply to Mohammad Hashir:

    Hi Mohamed.

    Thanks for you help.

    That's what I'm doing. For privacy I covered the name of the file routes. I am sorry. I fill in all the fields and even then, it continues showing the same error.

    Best Regards
  • In reply to feraro:

    Hi feraro

    I could not notice it, any way, which version of SSP are you using.
    Try the same using older version of flashloader from synergy gallary and see what is the result.

    Best regards

    Muhammad Hashir
  • In reply to Mohammad Hashir:

    I am using SSP 1.3.0

    Regards
  • In reply to feraro:

    Hi

    I installed the python and it does not give me the error mentioned. But now it neither performs the conversion nor shows any message. Is it necessary to install some more software on the computer for this type of bootloader?

    Regards.
  • In reply to feraro:

    Hi feraro,

    make sure install these two
    python: pypi.python.org/.../3.3
    library: pypi.python.org/.../1.7

    Regards