Thanks for Rahul`s response below; it was very helpful, and I was able to build the UART example project for BeagleBone Black in no time.
https://e2e.ti.com/support/processors/f/791/p/768982/2869998#2869998
However, the problem is that I've been unable to make a bootable microSD card with the output binary. I followed the documentation here. (Sections 1.1.11 & 1.1.12) Here's what I've tried:
- First of all, I connected the board's UART with the following setup. (I verified the UART works properly by booting the board normally and reading and writing characters from Linux shell.)
- I used HP USB Disk Storage Format Tool to format my microSD card. Then, I picked the "ti/AM335X_StarterWare_02_00_00_07/binary/armv7a/cgt_ccs/am335x/beaglebone/bootloader/MLO" file and "project_name.bin" file created by CCS, renamed the latter as "app", and put them in the SD card manually. After that, I inserted the card into the board, and powered it up while holding down the S2 pin (to make it boot with SD card). Nothing happened; nothing gets printed on the serial port, not even boot up messages.
- I tried the same with a bin file generated by the tiobj2bin tool, but that didn't make a difference.
- I also tried the prebuilt files in the path "ti/processor_sdk_rtos_am335x_5_02_00_10/prebuilt-sdcards/evmAM335x/sd_card_files", but that didn't work out, either.
- I also tried "TI_SDCard_boot_utility_v1_0", which successfully ran to completion, but nothing.
- Lastly, I tried running "create-sdcard.sh" script in the RTOS SDK directory, which also ran to completion, but nothing.
I tried those both on a 64-GB SDXC card and on a 16-GB SDHC card, but neither worked. What should be my next move?
Thanks again,
Okan
PS. apologies for inserting the build log in the text itself; I should've attached it as a file as you later suggested.