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.

StarterWare build problem with TMS470 ARM compiler, issue SDOCM00080255

Other Parts Discussed in Thread: OMAPL138

I want to use StarterWare for OMAPL138 (on an EVMOMAPL138 initially) however the ethernet drivers do not work due the above issue and this is really the main thing I want to use. The release note says "Unaligned memory accesses results in erroneous behaviour when binaries are generated using TMS470 tool chain. This is because the TMS470 does not support packed attributes for structures. This issue us evident when using ethernet or USB examples where the pointer/address alignment may be adjusted dynamically while parsing/dropping headers at different layers of the IP stack" and recommends using the Code Sourcery GCC tools. I have had a quick look at the Code Sourcery tools and they seem to be mainly aimed at Linux which I am not using. Does anyone know if there are plans to fix this problem with the TI compiler? I would rather not start to use another tool chain, I have had enough problems already trying to get the TI tools to work - still have not managed to build any of the StarterWare examples due to hard coded path issues etc.

Thanks.

  • Keith,

    The next release of the TMS470 codegen tools v5.0 will support the packed attribute. This release is planned for May timeframe.

    Regarding importing the Starterware examples into CCS, be sure to not check the box for "copy project to workspace". Besides that, I have seen some issues with hard coded paths myself in certain versions of Starterware. I'm not sure where the Starterware team is in terms of fixing these in a new release or if it has already been done. I would suggest posting any specific issues you have with the Starterware examples in the OMAPL1x forums as the folks who monitor that forum would also be the owners of that software.

  • AartiG,

    Thanks for the info, I will wait for that next tools release.

    I have imported the StarterWare examples again without a copy as you suggested and the demo_armv5_omapL138 project built and loaded straight away with no problems. As usual only a small isuue but one which can cause lots of wasted time.

    Thanks again.