mirror of
https://openbeagle.org/beagley-ai/beagley-ai.git
synced 2025-04-11 14:30:09 +00:00
test-procedure: Provide basic infra along with openOCD jtag connection
verify the jtag communication and verify the communication with the processor. Signed-off-by: Nishanth Menon <nm@ti.com>
This commit is contained in:
parent
a5be6d4db0
commit
323d5804ed
test-report
5
test-report/Certification/README.md
Normal file
5
test-report/Certification/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
Introduction
|
||||
============
|
||||
|
||||
This contains the various Certification documentation
|
||||
|
17
test-report/README.md
Normal file
17
test-report/README.md
Normal file
@ -0,0 +1,17 @@
|
||||
Test Documentation
|
||||
==================
|
||||
|
||||
This folder contains the test documentation for various peripheral validation
|
||||
steps
|
||||
|
||||
Test Results
|
||||
============
|
||||
|
||||
* [DVT](dvt/README.md)
|
||||
* [EVT](evt/README.md)
|
||||
* [Certification](Certification/README.md)
|
||||
|
||||
Testing Procedure
|
||||
=================
|
||||
|
||||
* [Testing Procedure](test-procedure/README.md)
|
4
test-report/dvt/README.md
Normal file
4
test-report/dvt/README.md
Normal file
@ -0,0 +1,4 @@
|
||||
Introduction
|
||||
============
|
||||
|
||||
This contains the various test reports for DVT (pre-production boards).
|
4
test-report/evt/README.md
Normal file
4
test-report/evt/README.md
Normal file
@ -0,0 +1,4 @@
|
||||
Introduction
|
||||
============
|
||||
|
||||
This contains the various test reports for EVT (pre - pre-production boards).
|
4
test-report/test-procedure/README.md
Normal file
4
test-report/test-procedure/README.md
Normal file
@ -0,0 +1,4 @@
|
||||
List of testing instructions
|
||||
============================
|
||||
|
||||
* [JTAG test for AM67](am67_jtag_testing.md)
|
65
test-report/test-procedure/am67_jtag_testing.md
Normal file
65
test-report/test-procedure/am67_jtag_testing.md
Normal file
@ -0,0 +1,65 @@
|
||||
Setup for testing:
|
||||
=================
|
||||
|
||||
* TUMPA or equivalent dongles supported by OpenOCD. https://www.diygadget.com/JTAG-cables-and-microcontroller-programmers/tiao-usb-multi-protocol-adapter-JTAG-spi-i2c-serial
|
||||
* Tag-Connect cable appropriate to the board such as TC2050-IDC-NL https://www.tag-connect.com/product/tc2050-arm2010-arm-20-pin-to-tc2050-adapter
|
||||
* Tag-Connect to ARM20 adapter https://www.tag-connect.com/product/tc2050-arm2010-arm-20-pin-to-tc2050-adapter
|
||||
|
||||
|
||||
|
||||
WARNING: There is no point in getting the retainer clips https://www.tag-connect.com/product/tc2050-clip-3pack-retaining-clip since it wont fit in, you have to hold it.
|
||||
|
||||
|
||||
S/w baseline:
|
||||
|
||||
openocd : master branch 04154af5d6cd jtag: linuxgpiod: drop extra parenthesis
|
||||
|
||||
Follow instruction for debugging for u-boot https://docs.u-boot.org/en/latest/board/beagle/am62x_beagleplay.html#debugging-u-boot
|
||||
|
||||
Config file:
|
||||
|
||||
```
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
|
||||
#
|
||||
# Support for BeagleY-AI
|
||||
#
|
||||
|
||||
# I use TUMPA: http://www.tiaowiki.com/w/TIAO_USB_Multi_Protocol_Adapter_User's_Manual
|
||||
# https://www.diygadget.com/jtag-cables-and-microcontroller-programmers/tiao-usb-multi-protocol-adapter-jtag-spi-i2c-serial
|
||||
source [find interface/ftdi/tumpa.cfg]
|
||||
|
||||
transport select jtag
|
||||
|
||||
# default JTAG configuration has only SRST and no TRST
|
||||
reset_config srst_only srst_push_pull
|
||||
|
||||
# delay after SRST goes inactive
|
||||
adapter srst delay 20
|
||||
|
||||
if { ![info exists SOC] } {
|
||||
set SOC j722s
|
||||
}
|
||||
|
||||
source [find target/ti_k3.cfg]
|
||||
|
||||
ftdi tdo_sample_edge falling
|
||||
|
||||
# Speeds for FT2232H are in multiples of 2, and 32MHz is tops
|
||||
# max speed we seem to achieve with BeagleY-AI is ~20MHz.. so we pick 16MHz
|
||||
adapter speed 16000
|
||||
```
|
||||
|
||||
|
||||
Screenshots of working Setup
|
||||
============================
|
||||
|
||||
WARNING: One has to hold the tag connect to be able to connect..
|
||||
unfortunately the retainer clip wont fit.. so until a custom 3d
|
||||
printed solution will probably work. but that solution is not in place
|
||||
atm.
|
||||
|
||||
|
||||

|
||||

|
||||
|
BIN
test-report/test-procedure/img/openocd_am67.jpg
Normal file
BIN
test-report/test-procedure/img/openocd_am67.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 234 KiB |
BIN
test-report/test-procedure/img/openocd_log_am67.jpg
Normal file
BIN
test-report/test-procedure/img/openocd_log_am67.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 242 KiB |
Loading…
Reference in New Issue
Block a user