We started in 2016 with S7 and S3 µC and developed our own boards, since that we are waiting for an easy to implement and maintainable bootloader/flashloader.
Every time in the last years when I've visited the Renesas booth on embedded world, they guys told me that an useable bootloader framework will be offered in the future.
Then finally when Renesas provides a bootloader/flashloader, Renesas - as far as I know - stopped the support with SSP 1.3.0., why?
May be I'm the only developer, who is confused which bootloader to choose now, ensuring support by Renesas also in future SSP versions.
So I'm not misunderstood, I have to say that I really appreciate SSP and also the support here in RenesasRulz, but regarding the subject bootloader I can't see a really clear and future-proof concept compared to other SSP modules.
E.g. ST provides CAN/Ethernet/USB/UART bootloader versions for their STM32 Cortex M series, why it is not possible to provide something similar for the Synergy family?
Background of this post is, that we actually have to plan a project for huge number of devices, installed all over the country in the next years, but being now unsure which solution we should choose.
What other piece of advice can you give us than to implement the bootloader itself?
Thank you very much and best regards
Ralph
downloader_usb_cdc_blocking_s3a1.zipbootloader_usb_cdc_blocking_s3a1.zipbootloader_usb_cdc_blocking_s7g2.zipdownloader_usb_cdc_blocking_s7g2.zip
Hi Ralph,
Attached are flashloader bootloader and downloader projects for the SK-S7G2 and TB-S3A1. Both are blocking using USB-CDC and the transfer interface.
Hopefully they will be useful.
Regards,
Ian.
Hi Ian,
thank you so much for your work and your support. Actually I can successfully program the bootloader and downloader to our custom board. With breakpoints I've verified that the bootloader is called first before jumping to the downloader application with flashing leds.
But now I'm stucking in converting "downloader_usb_cdc_blocking_s3a1_crc.srec" (or should I use the one without crc) file to BCH, the GUI always shows the error message "Error! Please fill in all the information before attempting to convert the script.".
I've attached the screenshot, but I think I've provided all necessary information.
Thanks and best regards
The CRC version of the SREC file is created by an e2studio custom build phase. This can be found in the Builders section of the project's peroperties.
This is only needed when using the debugger and the first build and not when using a free running version of the donloader and/or subsequent builds.
Apologies for not included the newer Python file. Please find it attached. This was modified by another form user, Erik, and fixes an issue where a 4k section of flash can be mistaken for RAM and excluded from the output.
r_fl_mot_converter_modified.zip
Thank you for your replies!
Yes, Jeremy you are right, after adding "NOLOAD" in the linker script to the ID code, they weren't part of crc calculation any longer and crc values are equal now!
I've compiled the flashloader projekt with Visual studio and replaced "r_fl_mot_converter.py" with "r_fl_mot_converter_modified.py".
But nevertheless, if I wan't to convert the srec file into a bch file or if I want to connect to the S3A1 MCU nothing happens, no entry to the log window (only after saving the default options):
So actually I'm still stucking in the flashloader app! I hope I'm not to annoying, but I'm very grateful for any support!
The python scripts need to be in the same directory as the executable. If I debug the GUI under VS I see :-
If I leave the python scripts in their default location.
If I then copy the scripts into the directory where the .exe is (while still debugging under VS):-
The GUI runs as expected :-
pyserial and modcrc need to be downloaded and installed in python as well.
Hi Jeremy,
thank you very much for your very helpful reply!
I've copied the files and installed pyserial and modcrc successfully, so far so good.
But the visual studio output window shows the following syntax errors:
The first one is shown when I press the convert button, the 2nd one when I press the connect button. Do you have any idea what's going wrong?
Thank you and best regards!
Which version of Python are you using? I see :-
When I try to open an invalid s-record file. The flashloader documentation shows :-
I am using python 2.7.16
with Python Version 2.7.16 the programming of the MCU slots works as well. Thanks a lot for your support!
Best regards