Skip to main content
Visitor II
October 4, 2005
Question

ST10F168 memory map issue

  • October 4, 2005
  • 3 replies
  • 905 views
Posted on October 04, 2005 at 12:41

ST10F168 memory map issue

    This topic has been closed for replies.

    3 replies

    linghuaAuthor
    Visitor II
    October 3, 2005
    Posted on October 03, 2005 at 21:58

    Our FPGA memory is previously mapped into SRAM area and now I want to move it out to a separate location. FPGA is controlled by BUSCON2. I changed start address for Addsel2 from 080h to 0c0h, changed FPGA class range to the new location, also changed FPGA reference. I got a linker error. Besides these changes, what else do I need to change ? DPP ? I use Tasking V7.5R2.

    Thanks for help

    linghuaAuthor
    Visitor II
    October 3, 2005
    Posted on October 03, 2005 at 22:26

    The error is E268 ''Absolute linear element 'section IODRV_1_NB class FPGA' cannot be located within 4 pages'', any idea what else needs to be chagned ?

    Thanks

    Visitor II
    October 4, 2005
    Posted on October 04, 2005 at 12:41

    Hello,

    If you want to keep this FPGA class in default ''near'' memory,you must be sure a DPP pointer is referring to this new area indeed.

    For example, if the FPGA is located at address 0xC00000, one DPP must be set to 48 (30h). See 'Project Settings | Application | Memory Model'. You can address 16Kbyte of memory with one DPP pointer.

    You can also decide to qualify the FPGA class as ''far'' by using the _far keyword at the data object. But this will produce less efficient code for accessing the object.

    Regards,

    Najoua.

    [ This message was edited by: Najoua on 04-10-2005 16:12 ]