Monday, March 4, 2024

ARC HS Development Kit

HSDK Board


Debugger

  • Ashling Opella-XD
Installation on Ubuntu 22.04.3 LTS

[ ]$ sudo apt-get install gcc-multilib
[ ]$ sudo apt-get install libqt5widgets5 [ ]$ sudo apt-get install libqt5widgets5:i386
[ ]$ sudo apt-get install libusb-1.0-0:i386


Using the JTAG low-level console

[ ]$ opxddiag --list
[ ]$ ash-arc-gdb-server --jtag-console-mode --device arc-hs

Load U-boot

[ ]$ mdb -DLL=opxdarc \
     -prop=jtag_frequency=12MHz \
     -prop=jtag_optimise=1 \
     -nooptions -run -cl -memxfersize=0x8000 u-boot
 
  • Digilent JTAG-HS2

[ ] $ djtgcfg enum
Found 2 device(s)

Device: JtagHs2
    Device Transport Type: 00020001 (USB)
    Product Name:          Digilent JTAG-HS2
    User Name:             JtagHs2
    Serial Number:         ooxxooxxooxxooxx

Device: HSDK
    Device Transport Type: 00020001 (USB)
    Product Name:          DesignWare ARC SDP
    User Name:             HSDK
    Serial Number:         ooxxooxxooxxooxx

Load U-boot

[ ]$ mdb -digilent -cl -run u-boot


Minicom Console

U-Boot 2024.01-rc3 (Nov 24 2023 - 17:37:03 +0800)

CPU:   ARC HS38 v2.1c at 500 MHz
Model: snps,hsdk
Board: Synopsys ARC HS Development Kit
U-Boot autostart: enabled
DRAM:  1 GiB
Core:  20 devices, 16 uclasses, devicetree: embed
Relocation Offset is: 3ef91000
MMC:   mmc0@f000a000: 0
Loading Environment from FAT... MMC: no card present
** Bad device specification mmc 0 **
In:    serial0@f0005000
Out:   serial0@f0005000
Err:   serial0@f0005000
Clock values are saved to environment
Net:
Warning: ethernet@f0008000 (eth0) using random MAC address - 2a:99:60:c5:a4:2c
eth0: ethernet@f0008000
hsdk#

No comments: