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.
Part Number: AM3359
I am new to the am3359 industrial communications engine board. I have downloaded the LinuxSDK package for the same board. Now i want to implement simple hello world example using UART. But i am not able to find any example or pre-build binary for the hello world example. So please share the path for hello world example using UART on Linux SDK or pre build binary for the same.
You can find HelloWorld linux example in the below user guide:
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Pavel Botev:
I have gone through the above document. As it requires router in between which i dont have, i am not able to implement the example. So is there any example which transmits some data on UART which can be seen on PC.
In reply to digvijay khambe:
For this HelloWorld linux example, you can run only with SD card, no router is needed. Create a bootabble SD card with the create-sdcard.sh script, then place the helloworld executable in the rootfs partition of the SD card and run the file. You will see "Hello World from TI!!!" message on your UART console.
Check below user guide for how to create bootable SD card:
Check below guide for how to setup AM335x EVM with SD card and UART console. You can skip step 4 (ethernet cable).
AS given in document i have created the SD card having two partitions. I have created executable file for hello world and copied it into /Home directory in rootfs . But i am still not getting the hello world on terminal. Also i am not getting console in terminal. So what i am doing wrong??
I have attached snap of terminal.
This SD card seems to have RTOS image by default. And you need to make sure create-sdcard.sh script has run successful. Please make below steps:
1. Put your SD card into SD card reader and plug it in your Linux host machine (i.e. Ubuntu 16.04 LTS 64-bit). You will need a >8GB SD Card and the capability to connect that card to your Linux Host machine (using a USB SD Card reader, for example).
2. Run the ti-processor-sdk-linux-am335x-evm-06.00.00.07/bin/create-sdcard.sh script
3. Check if your SD card is properly detected, check for "sdb"
4. Select to install the default images and tisdk-rootfs filesystem
5. Make sure you do not have error messages during this process and verify PSDK Linux has been installed successful by the script
6. From Linux host machine, make sure you have MLO and u-boot images in boot partition, kernel and dtb images in rootfs partition. Then place your helloworld executable in the rootfs partiton
7. Unplug the SD card from the Linux host and plug it in AM335x ICE board.
8. Configure the sysboot pins for MMC/SD boot. Refer to the AM335x ICE user guide for details (link below)
9. Power on the AM335x ICE board, you should see MLO/u-boot/kernel/rootfs messages on UART console. Once boot up, you need to locate your helloworld executable and start it.
If that doesn't work, you might try the same procedure with PSDK RT-Linux (link below), instead of PSDK Linux .
I had formatted the SD card so there is no chance of RTOS application. Anyway i will try the above mentioned steps and let you know the result.
digvijay khambeI had formatted the SD card so there is no chance of RTOS application. Anyway i will try the above mentioned steps and let you know the result.
If that is true, than RTOS image might be loaded from SPI flash, EEPROM flash or other boot media. Make sure you have configured the sysboot pins to MMC/SD boot, as step 8 suggest. Refer to the AM335x ICE EVM user guide for details.
This resolved the problem. It was bootloading from SPI Flash. After erasing the SPI flash , now i am getting the console and able to run the application.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.