Hi,
I am using RX63N + E1 emulator + RFP V2.05 + CS+ and sw is dividing boot and application.
Boot use 0xFF7FC000 ~ 0xFF800000, application use 0xFFF000 ~ 0xFFFFFFFF
Boot and application has each project. So mot files is made two(boot.mot, app.mot)
Boot and application has fixed vector table (FFFFFF80h to FFFFFFFFh).
for example,
boot.mot
~~~~~`
S315FFFFFFD0FF7FD540FF7FD548FF7FD548FF7FD542BFS315FFFFFFE0FF7FD548FF7FD544FF7FD548FF7FD548A5S315FFFFFFF0FF7FD548FF7FD548FF7FD546FF7FC85098
~~~~~
app.mot
S315FFFFFFD0FFF54072FFF54077FFF5407CFFF5408167S315FFFFFFE0FFF54086FFF5408BFFF54090FFF5409606S315FFFFFFF0FFF5409CFFF540A2FFF540A8FFF0040088
E1 + RFP V2.05 didn't detect fixed vector's address overlapped. But RFP V3.0 above detect address overlapped and cannot download sw.
So I change boot's fixed vector address from 0xFFFFFF80 to 0xFF7FFFA0 and RFP V3.0 doesn't detect error and downloading is good.
As I know, fixed vector address is from 0xFFFFFF80 to 0xFFFFFFFF.
I have a question.
1. Can I change fixed vector address?
1) if right, could you share the document or sample code about this?
2) If wrong, could you tell me how do I fix this overlapped problem?
2. If two mot(boot.mot, app.mot) is merged, two mot's same address(boot's fixed vector address or app's ) has to be deleted. This is Am I right?
3. Does RFP V3.0 above has the ability to ignore overlapped problem?
4. In RFP setting, what is difference and advantage of using 'power target from the emulator' or not?
Thanks for your help in advance.
Dear Hossein,
"Fixed vector table is defined virtually by the compiler"
it means
1.
1) app1 without fixed vector table is downloaded, app2 is not downloaded
2) exception is happened
3) exception handling is working good.
Am I right?
But when I download fw without fixed vector table and exception is happened, system is down.
2. app1 with fixed vector table and app2 without fixed vector table
1) app1 and app2 is downloaded
2) app1 runs and jump to app2
3) exception is happened
4) at that time, if app1 has the fixed vector table, interrupt related exception will be invoked vitually. Am I right?
I cannot find any manual about this. If you share the manuals that you mentioned, I'll investigate it.
Regards,
JR
Dear JR, sorry for the late, if the problem still exists, I'll be grateful if you share your codes for more investigation. I'm not sure if there's a specific manual about that, but you can check the RXv1 core manual, here.Also, check the structure of RX63N memory and interrupt handling. Those are the implicit topics that come to my mind.
If this response, or one provided by another user, answers your question, please verify the answer. Thank you!
Renesas Engineering Community Moderatorhttps://community.renesas.com/https://academy.renesas.com/https://en-support.renesas.com/knowledgeBase/