This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am437x使用ccs加载bootloader·的·起始·地址



我·用ccs加载bootloader的out文件,如果把lds文件配成OCMCRAM :   o = 0x40300000,  l = 0x00040000,是可以加载的,程序可以在ram中跑,但如果改成

OCMCRAM :   o = 0x402F4000,  l = 0x00040000,就load program failed,但是按文档上bootloader的加载地址应该就是0x402F4000,请问是哪里出错了?

  • 我看您在之前的帖子也问了这个问题,根据TRM的说明,检查下您板子的启动模式是否有USB MS启动模式:

    5.2.3.2.1 Downloaded Image (ISW)
    This area is used by the Public ROM Code to store the downloaded Initial SW. The downloaded image
    can be up to 271KB on GP Device. It resides from 0x402F4000 (0x402F0400 for PG1.1) to 0x40337C00
    in GP device.
    Note: If ROM boots using USB_MS boot mode, then the image can reside only from 0x40300000. This
    limits the maximum image size while using USB_MS boot mode to 220KB.

  • 还是不对,我板子上用拨码选择的串口启动模式,ccs工程也编译的是uart boot debug,而且我又尝试改了一下地址,改成OCMCRAM :   o = 0x402F8000,  l = 0x00040000,也是可以load program的,并不是必须从 0x40300000开始的, 但是改成0x402F4000到0x402F7FF0之间的地址都会load失败