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.

How to start?

Other Parts Discussed in Thread: AM3359

I'm developing an ethercat application with ICE AM3359 demoboard, and I'm working on:

1-learn how SYS/BIOS works

2-learn how customize Ethercat slave stack (successfully patched from ETG)

Actually I'm stuck in point 1) of the list above, because I can't figure what these static libraries stand for:

"../../../drivers/lib/sys_bios_driver.lib"
"../../../platform/am335x/evmam335x/lib/evmam335x.lib"
"../../../starterware/starterware-starterware-src/binary/armv7a/cgttms470_ccs/am335x/drivers/drivers.lib"
"../../../starterware/starterware-starterware-src/binary/armv7a/cgttms470_ccs/am335x/evmAM335x/platform/platform.lib"
"rtsv7A8_A_le_n_v3_eabi.lib"

The first library is more than 30Mb size, and contains... no idea! No documentations, just some header files in the ../include folder with ancillary stuff (sys_led.h...). Where does this library came from? Any source code? How to recompile? 

The second library is about 6Mb size, and contains... again, no idea; some header files in ../include folder that does not justify the library size.  Any documentation? 

The other libraries contains? 

I've created a new SYS/BIOS project, and there is now evidence of those libraries, but a "libc.a" with no documentation.

Please, could some one provide some documentation? How do you approach this plenty of undocumented stuff?

  • Eugenio,

    I agree it is quite a step to get from zero to a fully working EtherCAT slave. But you need to look around a bit more... Both sys_bios_driver.lib and evmam335x.lib are provided as part of the IA-SDK together with the sources and projects. If you don't like the libs size (due to full debug options) rebuild them or just use the sources as is.

    The RTS lib is part of the compiler and you need to read the docs for the compiler to get more details. libc.a is just a place holder for the 'right' library to be automatically be selected by the linker matching your platform. In our case it is rtsv7A8_A_le_n_v3_eabi.lib.

    We are working on more and better docs but that takes a bit more time. For general info and help on Sys/Bios, or any other CCS parts please ask in the appropriate forum. I am sure you will get help there.

    Regards.