CW 3.0 and flash/RAM_placement issue creating "No driver installed for memory range" error message

Comments

1 comment

  • Avatar
    Michael Jones

    Okay, Michael Johnson of CrossWorks Support showed me where I went wrong: :-)

    In the flash_placement.xml file, I should have load="No" instead of "Yes" in the RAM placement portion:

    <ProgramSection alignment="4" load="No" name=".framebuffer" start="0x20004000" size="0x012C00"/>

     

    That way I can allocate to a specific address in v3 using the following:

    static uint8_t framebuffer[320][240] __attribute__ ((section(".framebuffer")));

     

    Hope this helps someone.

    0
    Comment actions Permalink

Please sign in to leave a comment.