RX63N download with RFP

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

~~~~~`

S315FFFFFFD0FF7FD540FF7FD548FF7FD548FF7FD542BF
S315FFFFFFE0FF7FD548FF7FD544FF7FD548FF7FD548A5
S315FFFFFFF0FF7FD548FF7FD548FF7FD546FF7FC85098

~~~~~

app.mot

~~~~~

S315FFFFFFD0FFF54072FFF54077FFF5407CFFF5408167
S315FFFFFFE0FFF54086FFF5408BFFF54090FFF5409606
S315FFFFFFF0FFF5409CFFF540A2FFF540A8FFF0040088

~~~~~

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.

Parents
  • 1.)  The fixed vector table is FIXED.  However, there is the relocatable vector table that can be used.  Refer to the hardware user manual of the device for more information.

    2.)  The programming very much needs to flag the error of overlapping addresses when merging hex-files.  The tool should not decide which piece of the overlap should be programmed (as what is undoubtedly happening with the older version of RFP)

    3)  No, and it should not provide such an option (see #2 above)

    4)  The option of the debugger providing power is available for convenience when external power is not provided.  This works well with the simple reference boards that do not have many chip requiring power.  As the power available from the debugger is limited, a custom design that exceeds this limit will require external power to be supplied.

  • Thankss for your quick reply.

    As I know,

    1. 'relocatable vector' is a vector as like Excep_ICU_IRQ12(). Fixed vector is a vector as like 'access exception'. 

    2. fixed vector cannot relocatable.

    In HW manual, 

    2.6.1 Fixed Vector Table
    The fixed vector table is allocated to a fixed address range. The individual vectors for the privileged instruction
    exception, access exception, undefined instruction exception, floating-point exception, non-maskable interrupt, and reset
    are allocated to addresses in the range from FFFFFF80h to FFFFFFFFh.

    Boot sw must have fixed vector and application also does.

    I want to know how to do boot's fixed vector address and application's fixed vector address doesn't overlap each other.

Reply
  • Thankss for your quick reply.

    As I know,

    1. 'relocatable vector' is a vector as like Excep_ICU_IRQ12(). Fixed vector is a vector as like 'access exception'. 

    2. fixed vector cannot relocatable.

    In HW manual, 

    2.6.1 Fixed Vector Table
    The fixed vector table is allocated to a fixed address range. The individual vectors for the privileged instruction
    exception, access exception, undefined instruction exception, floating-point exception, non-maskable interrupt, and reset
    are allocated to addresses in the range from FFFFFF80h to FFFFFFFFh.

    Boot sw must have fixed vector and application also does.

    I want to know how to do boot's fixed vector address and application's fixed vector address doesn't overlap each other.

Children
No Data