663 views
in Getting started by
Hello everyone,

I'm new to embedded wizard (and to all of embedded systems in general) and i'm trying to connect it to my envision kit, followed the steps from Embedded Wizard to flash a program to envision kit but keep getting this error, from both, terminal and flash programmer "Error(E3000101): The data already exist and cannot be overwritten. (Address: 0xFE7F5D40)". What can i do to solve it and get application running on the envision kit? also, i don't know if i set the .bat file correctly as they recommend in the envision kit article, these are the lines i have right now

set GCC_For_Renesas_Path=C:\ProgramData\GCC for Renesas RX 8.3.0.202102-GNURX-ELF\rx-elf\rx-elf\bin
set Renesas_Flash_Programmer_Path=C:\Program Files (x86)\Renesas Electronics\Programming Tools\Renesas Flash Programmer V3.09

If they are wrong, let me now how to change them, i installed them as the installation wizard recommend

1 Answer

0 votes
by

Hello,

within the file StartGccBuildEnvironment.bat you need the following setting:

set GCC_For_Renesas_Path=C:\ProgramData\GCC for Renesas RX 8.3.0.202102-GNURX-ELF\rx-elf\rx-elf\bin

Within the file FlashDownload.cfg you need the following setting:

RenesasFlashProgrammerPath=C:\Program Files (x86)\Renesas Electronics\Programming Tools\Renesas Flash Programmer V3.09

Please note, that the second setting does not have a 'set' at the beginning and it does not use '_' within the name.

Does it work with these settings?

Best regards,

Manfred.

by
Hi, i did as you said but i still get the same error: "Error(E3000101): The data already exist and cannot be overwritten. (Address: 0xFE7F5D40)", any guess what could it be
by
How are the switches set on your board?
by

Another not entirely unimportant question: Which board are you using? You mentioned only "Envision Kit" - are we talking about the RX65N Envision Kit?

by
As the documentation says for debug, SW1-1 ON SW1-2 OFF SW4-1 OFF SW4-2 OFF
by
Exactly, the envision kit RX65N from renesas
by

Yes, the switches are ok. 

I just tried it once more, also with the latest Renesas Flash Programmer V3.09, and it works fine.

Here is the binary file (*.mot) that I used for downloaded - so this contains valid addresses for the board. Can you try that on your hardware?

Make sure to select the "E2 emulator lite".

by
Your file works just fine, then, how do i fix my problem? how do i change those addresses?
by

Oh, interesting... So the issue is not flashing the binary - the issue is compiling/linking the binary.

How did you create the binary? Is it the example 'HelloWorld' and all steps according the Getting Started with RX65N Envision Kit?

Which toolchain are you using?

by
I followed every single step from the envision kit article from embedded wizard, i opened the 'HelloWorld' file from examples in my build environment, then try it with ctrl+F5 then close it and press F8, also checked that in the profile block says RenesasRx before building, after finished that, opened the bat file, type 'make' after finish this command, type 'make install' and then the error happened. With flash programmer create a new project using E2 emulator lite and little endian, first i erase everything and the command executes normally, but when i select the .mot file generated form 'HelloWorld' and try to program or verify, the error appear
by
The binary that I have sent you, was also create with GCC (make). This means, there must be either a difference in the compiler or in the compiler settings.

Did you make any changes within the provided Build Environment (to be sure, you can download it once more)?

What compiler are you using?
by
i downloaded again and set it as you said on your first answer, but still no, get the same error. About the compiler, i don't know exactly what you mean or where can i find that info, if you mean the version of embedded wizard is 11.0
by

After opening the build console via StartGccBuildEnvironment.bat, please type

rx-elf-gcc --version

you should get

rx-elf-gcc (GCC_Build_20201001) 8.3.0.202004-GNURX 20190222

Is this the case?

by

Ok... I just downloaded the latest GNURX Compiler "GCC for Renesas 8.3.0.202104-GNURX Toolchain" and I can reproduce the same issue.

[Error] E3000101: The data already exist and cannot be overwritten. (Address: 0xFE7F5D40)

We need further investigations on that.

Please uninstall that GNURX compiler version and download / install the following GNURX compiler version "GCC for Renesas 8.3.0.202004-GNURX Toolchain".

Then it will work - at least at intermediate solution.

Best regards,

Manfred.

by
This is what i get from StartGccBuildEnvironment.bat

rx-elf-gcc (GCC_Build_20210528) 8.3.0.202102-GNURX 20190222

I'll try the solution you suggest and hope it works :)
by
It works!!!!

Thank you so very much, you helped me a lot! :D

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...