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.

[FAQ] PROCESSOR-SDK-AM62X: How to read device Id register

Part Number: PROCESSOR-SDK-AM62X

Hi,

Here I am discussing a known issue: Device Id Register is missing for AM62x-SK

Baseline:

Processor SDK 08.03.00.19

Problem Statement:

As device Id register address is not  defined in AM62x TRM.

  1. What is the base address to  read device id  register ?
  2. an we read via omapconf or devmem utils ? 

Solution:

For Windows Setup:

For Linux Setup:

  1. Downloaded tisdk-default-image-am62xx-evm.wic.xz  from https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-AM62X/08.03.00.19
  2. Set SD card boot mode referring https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_03_00_19/exports/docs/linux/How_to_Guides/Hardware_Setup_with_CCS/AM62x_EVM_Hardware_Setup.html
  3. Create SD card using "1.1.3.2. Create SD Card using balenaEtcher" mentioned in https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_03_00_19/exports/docs/linux/Overview/Processor_SDK_Linux_create_SD_card.html
  4. Insert card and power cycle the board
  5. Then run below commands and get device-id

========================================================================================

_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|

Arago Project http://arago-project.org am62xx-evm ttyS2

Arago 2021.09 am62xx-evm ttyS2

am62xx-evm login:
am62xx-evm login: ls
Password:


Login incorrect
am62xx-evm login: root
root@am62xx-evm:~# ls
root@am62xx-evm:~# pwd
/home/root
root@am62xx-evm:~# [ 138.379344] Initializing XFRM netlink socket
devmem
-sh: devmem: command not found
root@am62xx-evm:~# devmem2

Usage: devmem2 { address } [ type [ data ] ]
address : memory address to act upon
type : access operation type : [b]yte, [h]alfword, [w]ord, [l]ong
data : data to be written

root@am62xx-evm:~# devmem2 0x43000014
/dev/mem opened.
Memory mapped at address 0xffffb0e7d000.
Read at address 0x43000014 (0xffffb0e7d014): 0x0BB7E02F
root@am62xx-evm:~#

========================================================================================

Best Regards

Ashwani