Reset Error When Programming kasli_soc Using local_run.sh #283
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/artiq-zynq#283
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am performing gateware development of ARTIQ and now wish to test my changes on the target platform, Kasli SoC. I have managed to build both the gateware and the firmware for the target device using the supplied makefiles, however I am struggling to program the board.
My configuration is a PC connected to the Kasli SoC board via micro-usb, with a direct connection to the board via an ethernet cable. To program it I enter the
nix develop
shell and invoke thelocal_run.sh
script, however encounter the error:Investigating this further, I see the error comes from the invocation of
openocd
with thekasli_soc.cfg
file of the directory$OPENOCD_ZYNQ
. I.e. the command:openocd -f kasli_soc.cfg
produces the same error.This error can be attributed to the
reset halt
command withinkasli_soc.cfg
:I am wondering how to approach debugging or resolving this issue. I can see the reset command is configured with the previous
reset_config ...
etc. commands. Could modifying these delays fix my issue, or is there a potential error with my configuration.I have attached the full logs from running the command with the debug flag set for reference.
Related I assume https://github.com/m-labs/artiq/issues/2250
Resolved via https://github.com/sinara-hw/Kasli-SOC/wiki/compiling-and-flashing. You must:
kasli_soc_por.py
script between successive programming runs