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 Bootloader debugging issue.

Other Parts Discussed in Thread: SYSBIOS

Hi,

I use IDKAM437X with CCS 6.1.2 and sysbios 2.1.1.2. In SDK packet within starterware section there is a bootloader project. I set all build-configurations in other projects according to bootloader's 'Dependencies' section. In the end of build process, the following errors occur:

I tried some of the solutions mentioned on this forum but none of them worked for me. Could you please suggest me what the problem is?

There are two things that concern me about OCMCRAM memory:

- should the start address in post-build steps be equal to 0x40300000 instead of 0x402F0400?

- should the length of OCMCRAM section in linker file (AM437x.lds) be equal to 0x00040000 (256kB) instead of 0x00010000(64kB)?

Thank you in advance!

JJ

  • Jacek,

    You are right, please increase the OCMC RAM to 256 KB instead of 64KB. That configuration seems tot have been copied over from the AM335x.lds file which is why it is set to 64KB.

    Please let us know if this doesnt resolve the build issue.

    Regards,
    Rahul
  • Hi Rahul,

    Thanks for fast response.

    I modified the OCMC RAM to 256 kB in AM437x.lds file and changed the starting address of TIimage command to "0x40300000". These are the only points refferring to OCMCRAM I see. However, the error is still the same:

    To be absolutely sure that the proper linker file is used, I browsed for the linker command file in Project Properties and pointed the file in the project once again - the result is as above.

    JJ

  • Hi Rahul,
    All the changes make no difference so far, however there is one thing that concerns me - after compilation and linker launch, console gives an info about redeclaration og DDR0 region in am43xx_boot_ccs.lds file. After opening it, there are two interesting lines:
    DDR0 : o = 0x80000000, l = 0x10000000 /* 256MB external DDR Bank 0 */
    OCMCRAM : o = 0x402F4000, l = 0x2FC00 /* 256KB of internal RAM */

    These are obviosuly wrong. I do not know how this file is launched - by arm-none-eabi probably but I see no straight command.
    After changing the OCMCRAM line to correct values, the project can be compiled without errors but there is a businesslike warning about an unresolved buildable problems:

    Seems like a warning that cannot be ignored. Should I also modify the am43xx_boot_ccs file? What else should I do?

    JJ