Hello,
I follow the unit test guide in link: https://www.renesas.com/us/en/document/apn/how-use-cunit-e-studio-gcc-rx
In execute step 16, I receive an error: "Read from unwritten memory at 0xfffffff0"
If I use rl78-elf-run, output is a string of symbols
My source code is all following the guide above.
Please help me on this error.
Hello whittaiws07,
Please confirm to which MCU you question is devoted. You mentioned both rx-elf-run and rl78-elf-run in your post.
Kind regards,
Sergey
If this response, or one provided by another user, answers your question, please verify the answer. Thank you!RenesasRulz Forum Moderatorhttps://renesasrulz.com/https://academy.renesas.com/https://en-support.renesas.com/knowledgeBase/
I might guess that the simulator is looking for the reset vector at the default location, which is not configured correctly for RX. On RL78, execution starts from address 0 which probably has something there to cause that simulator to do something.
Thank you.
The MCU is RL78.
Sorry for not describing clearly before. I create project using RL78, because when create project with RX, it doesn't have "generate" folder.
Is there any way to execute unit test with RL78? Because I created project with RL78. RX doesn't have "generate" folder.
Sorry for not describing clearly in question.