Hi Team,
We are using an Altera Cyclone V board interfaced with the ADRV9002 board.
We cloned the no-OS repository and are currently using the included API driver version 68.14.13. At the same time, we are working with TES SDK version 0.29.0, which expects API driver version 68.20.12.
After generating the profile and stream files using TES v0.29.0, we built the boot image and attempted to boot the board. During boot, we are seeing a checksum error.
With API driver version 68.14.13 and TES SDK version 0.27.1 also we are facing same checksum issue.
Steps done before creating image
1. Generating Profile and stream from TES tool
2. Then converting the stream and profile to .h files.
3. Copying the profile (json) which is converted to .h into Navassa_CMOS_profile.h
4. Copying the array from stream file after converting to Navassa_Stream.h
5. Copying the array from Navassa_EvaluationFw_C0_0.22.64.bin file after converting to Navassa_EvaluationFw.h
these are the steps followed and to inform we also updated the files from .zip of TES app to adrv9001 of drivers folder.
Can you please let us know if we missing something or doing wrong step to resolve the checksum error issue.
Please find the boot log below for reference.
Thank You
=======================================
2606836 bytes read in 125 ms (19.9 MiB/s)
## Starting application at 0x3FF79598 ...
## Application terminated, rc = 0x0
reading hwlib.bin
925384 bytes read in 48 ms (18.4 MiB/s)
## Starting application at 0x00100040 ...
HPS: stack ok, watchdog L4WD0=0 L4WD1=0 (0=disabled)
Hello
Init: dev_clk ok
Init: adrv9002_dev_init ok
Init: adrv9002_post_setup...
Altera: loading profile/stream to ADRV9001...
post_init: register clocks
post_init: profile parsed, programming device
post_init: programming device (adrv9002_init)
post_init: adrv9002_setup
post_init: HwOpen
post_init: init analog
post_init: digital_init
post_init: loading stream image
post_init: stream Navassa_Stream.bin, ch_mask=0xcf
post_init: stream load done idx=5 state=0x5
post_init: loading arm firmware
post_init: writing arm profile
post_init: writing pfir profiles
post_init: loading gain tables
post_init: gain table ORx ch1
post_init: gain table RX ch1
post_init: gain table ORx ch2
post_init: gain table RX ch2
post_init: gain table TX atten
post_init: power mgmt (skipped on Altera)
post_init: power mgmt ok
post_init: arm start
post_init: arm start issued, waiting boot
[ERROR]: Error number 4 (0x00000004), Recovery action -101.In file /home/soceds/adrv9002/no-OS-ADI/no-OS/projects/adrv9001/build/noos/drivers/rf-transceiver/navassa/devices/adrv9001/public/src/adi_adrv9001_arm.c, in function adi_adrv9001_arm_StartStatus_Check, in line 179, variable name NULL.Error message Stream image checksum error.
adrv9002_digital_init, 1716: failed with "Stream image checksum error" (4)
post_init: arm start status check failed (-5)
post_init: setup failed (-5), retrying after HwReset
post_init: HwOpen
post_init: init analog
post_init: digital_init
post_init: loading stream image
post_init: stream Navassa_Stream.bin, ch_mask=0xcf
post_init: stream load done idx=5 state=0x5
post_init: loading arm firmware
post_init: writing arm profile
post_init: writing pfir profiles
post_init: loading gain tables
post_init: gain table ORx ch1
post_init: gain table RX ch1
post_init: gain table ORx ch2
post_init: gain table RX ch2
post_init: gain table TX atten
post_init: power mgmt (skipped on Altera)
post_init: power mgmt ok
post_init: arm start
post_init: arm start issued, waiting boot
[ERROR]: Error number 4 (0x00000004), Recovery action -101.In file /home/soceds/adrv9002/no-OS-ADI/no-OS/projects/adrv9001/build/noos/drivers/rf-transceiver/navassa/devices/adrv9001/public/src/adi_adrv9001_arm.c, in function adi_adrv9001_arm_StartStatus_Check, in line 179, variable name NULL.Error message Stream image checksum error.
adrv9002_digital_init, 1716: failed with "Stream image checksum error" (4)
post_init: arm start status check failed (-5)
post_init: adrv9002_init failed (-5)
Altera: post_init failed (-5)
adrv9002_post_setup() failed with status -5
Error: halting (ret=-5)
==================================
TES 0.27.1 with drivers 68.14.13
==================================
post_init: setup failed (-5), retrying after HwReset
post_init: HwOpen
post_init: init analog
post_init: digital_init
post_init: loading stream image (devclk=38400 kHz)
post_init: stream load attempt 0 (spi_mode=0)
post_init: stream Navassa_Stream.bin, ch_mask=0xcf, spi_mode=0
post_init: stream hdr 29 23 00 00
post_init: stream rb 29 23 00 00 @0x20044000
post_init: stream SPI readback ok
post_init: stream load done idx=5 state=0x5
post_init: stream verify start
post_init: verify MAIN OK (16384 bytes @0x20044000)
post_init: verify TX1 OK (4096 bytes @0x20040000)
post_init: verify TX2 OK (4096 bytes @0x20040000)
post_init: verify RX1/ORX1 OK (4096 bytes @0x20040000)
post_init: verify RX2/ORX2 OK (4096 bytes @0x20040000)
post_init: stream verify done (0 bad sections)
post_init: stream image clean (spi_mode=0)
post_init: loading arm firmware
post_init: writing arm profile
post_init: writing pfir profiles
post_init: loading gain tables
post_init: gain table ORx ch1
post_init: gain table RX ch1
post_init: gain table ORx ch2
post_init: gain table RX ch2
post_init: gain table TX atten
post_init: power mgmt
post_init: power mgmt ok
post_init: arm start
post_init: arm start issued, waiting boot
[ERROR]: Error number 4 (0x00000004), Recovery action -101.In file /home/soceds/WW29.2/no-OS/projects/adrv9001/build/noos/drivers/rf-transceiver/navassa/devices/adrv9001/public/src/adi_adrv9001_arm.c, in function adi_adrv9001_arm_StartStatus_Check, in line 179, variable name NULL.Error message Stream image checksum error.
adrv9002_digital_init, 2018: failed with "Stream image checksum error" (4)
post_init: arm start status check failed (-5)
post_init: adrv9002_init failed (-5)
Altera: post_init failed (-5)
adrv9002_post_setup() failed with status -5
Error: halting (ret=-5)