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.

TMDSICE3359: Getting started with TI Sitara Embedded Linux

Part Number: TMDSICE3359
Other Parts Discussed in Thread: SYSCONFIG, SN65HVS882

Hello, 

I am new to embedded Linux. I want to start with TI sitara. 

I have TMDSICE3359 eval board.

Please provide me some source from where I can begin.

Regards,

Imran

  • Hi ,

    Thanks for quick reply. Can I have some video tutorial or some webinar link?

    Regards,

    Imran

  • Hi Imran,

    You can search it in https://training.ti.com/. But I don't think there is any video for getting started topics.

  • Hi ,

    Actually I tried with your links. So, faced some issues and I have some doubts:-

    1. I was trying to install ti-processor-sdk-linux-am335x-evm-08.02.00.24-Linux-x86-Install.bin. But it got failed while linux vitrification as I have ubuntu 22 and it is asking for ubuntu 18.04.

    So, is there any way I can install this SDK on latest version of Ubuntu or I need to install 18.04 only?

    2.  tisdk-default-image-am335x-evm.wic what is the exact use of this file. I have burn this file using balenaEtcher. And I put that memory card in Sitara EVM.

    but it didn't booted. Is this file have some other work?

    3. From where I can get the image file for TMDSICE3359? 

    4. Is it compulsory to have the linux machine for development or we can start developing on windows machine?

    5. And which IDE need to be used for the development? CCS or that particular SDK have IDE?

    Regards,

    Imran

  • Hi ,
    Actually, I have completed these steps:-
     I have installed the SDK on ubuntu 18.04 as I tried initially with latest version of ubuntu i.e. 22.04 but at last SDK configurator shown it support only 18.04
    Then I created the SD card with balenaEtcher with file tisdk-default-image-am335x-evm.wic. 
    So, now I have a doubt that before running the setup script do I need to connect the SD card with Linux host machine?
    And at the same time do I need to connect AM335 EVM also with the same machine? And while running the script will SD card should be connected with EVM or linux host machine?
    And what would be the next step after running the script?
    Regards,
    Imran
  • Hi ,

    Now I tried to create the SD card from script. I followed all the steps and in selection option i selected tisdk-default-image-am335x-evm.wic and it got created. But when I inserted that card in the EVM then it is not booting up.

    So, I download the image file directly from this link https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-AM335X/07.03.00.005, then burnt the SD card with this image then booted the EVM from this sd Card and EVM booted up successfully.

    Now, my concern is, is it okay to start developing with this image file or would it better to start with SDK sdCard creation?

    Regards,

    Imran

  • Hi Imran,

    when you say "it is not booting up", is there any console output at all (e.g., U-Boot)?

    Also when you read the SD card with a Linux PC, can you see the boot and root partitions, mount those, and access the files?

    The structure/content should look pretty much the same between the SD card created with the wic image download from ti.com vs. the image you created yourself (you can do a quick side-by-side comparison to see). Also I suppose you used the same physical SD card for the experiments, right?

    Regards, Andreas

  • Hi Andreas,

    when you say "it is not booting up", is there any console output at all (e.g., U-Boot)?

    Yes it went into U-Boot. But kernal didn't started 

    Also when you read the SD card with a Linux PC, can you see the boot and root partitions, mount those, and access the files

    Yes both the partition were created. I will match the files and let you know

     Also I suppose you used the same physical SD card for the experiments, right?

    Yes

  • Now, I am using the SD card created by image file and it working. Hope there is no difference between wic and image file as per use. 
    Now I am facing two problems:

    1. How to set static IP? So, that I can make a connection between EVM and host machine

    when i am running ifconfig then I am getting this result.

    So, for now I run this command: ifconfig eth0 192.168.0.14 netmask 255.255.255.0 broadcast 192.168.0.1

    and I am able to ping EVM and host from eachother

    How to set static IP permanently?

    2. I have downloaded and installed CCS on my linux host machine. I have created a hello programm

    Now I am trying to transfer banaries file to EVM by RSE but after all configuration, when I am trying to connect then this window is getting popup:-

    Please help me in resolving these issues.

    Regards,

    Imran

  • Hi Imran,

    Sorry I was out of office. I am glad to see you have made progress and were able to boot the EVM.

    1. Setting permanent static IP is a generic Linux question, it is not TI EVM specific. You can add the configuration in file /etc/network/interfaces in Linux. You can find plenty information on Internet.

    2. To develop Linux application, you don't have to use CCS. Typically you would write code on Linux host, cross compile it and run it on the EVM. Please see the following link for details.

    https://dev.ti.com/tirex/explore/node?node=ABYUM7gl3nvjuFIfdN8hww__7qm9DIS__LATEST

  • Hi ,,

    Thanks for your reply. Both problems are resolved.

    I need your help in running basic peripherals like: GPIO, UART, SPI,I2C, etc.

    Can you please provide me some documents/tutorials and examples?

    Regards,

    Imran

  • Hi Bin Liu,

    I am using TMDSICE3359 EVM, is there any user LED for testing purpose on this EVM? I am checking out User's Guide (AM335x ICE EVM Rev2.1 Hardware User's Guide). But did not find it. But I found General Purpose I/O which is on GPIO3_18. And I have installed sysConfig software but in this software when I am trying to Enable GPIO3_18 then its showing resource Conflict.

    Can you please suggest me how I can move forward with this EVM for writing sample code for GPIO?

    Regards,

    Imran

  • Hi Imran,

    I checked the TMDSICE3359 EVM schematics, but don't see any spare GPIO pin exposed. This EVM is for dedicated Industrial Communication purpose, so I don't expect it brings GPIO pins for general purpose. GPIO3_18 is also routed to SN65HVS882 (schematics page 14).

    If you want to practice GPIO programming, I'd recommend to use AM335x Beaglebone Black board.