CYW20819 SDK2.8 ld file

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ToKo_4602001
Level 4
Level 4
50 sign-ins 25 replies posted 25 sign-ins

I think that FLASH0_BEGIN_ADDR: 0x500000 and FLASH_LENGTH: 0x040000 (256 kbyte).

However it seems that generated LD file is conflicting the definition.

My LD file generated by build script with SDK is the following description.

MEMORY

{

    ram (rwx) : ORIGIN = 0x20FC14, LENGTH = 0x17FEC

    aon (rwx) : ORIGIN = 0x203210, LENGTH = 0x1364

    static_section (r) : ORIGIN = 0x500C00, LENGTH = 0x400

    xip_section (rx) : ORIGIN = 0x501480, LENGTH = 0x3FF80

    log_section (r) : ORIGIN = 0x81000004, LENGTH = 0x100000

}

0x501480 + 0x3FF80 = 0x541400   (It should be incorrect)

0x501480 + 0x3EB80 = 0x540000   (Probably this is correct)

Please check this.

0 Likes
1 Solution
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

Hi,

The XIP length might be calculated or displayed wrong. But since the compilation didn't fail with an error of overflow, I think it's okay to continue.

See the doc below for more information:

WICED Execute-in-Place (XIP) Application Support Guide (cypress.com)

Best regards

View solution in original post

0 Likes
1 Reply
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

Hi,

The XIP length might be calculated or displayed wrong. But since the compilation didn't fail with an error of overflow, I think it's okay to continue.

See the doc below for more information:

WICED Execute-in-Place (XIP) Application Support Guide (cypress.com)

Best regards

0 Likes