Menu

#407 Error by connecting to the target via ICE (tlsr9518fd80d kit)

0.10.0
new
nobody
None
2023-08-03
2023-07-06
No

Hello everybody!

I am using Telink RDS program to make a project for the kit (tlsr9518fd80d), and i am using inserted tools (connect the target via ICE) to download the (.bin) code to in the flash.

  • The programmer is (tlsr9_dev_key).

Everything was fine and I used it normally for 3 months, but suddenly I got this error:

10:37:25.004 ICE-ICE Error on Target [ADP-AE350-D25F-EAGLE-0106]
Open On-Chip Debugger 0.10.0+dev-g01d57cb (2020-09-04-11:32)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
assertion "number != GDB_REGNO_S0" failed: file "/cygdrive/d/Jenkins/workspace/build-system-3/source-packages/openocd-0.10.0/src/target/riscv/riscv-013.c", line 1474, function: register_read_direct

I get a new kit and it had worked normally, but after month i get the same error.
And now I have two broken kits.
can somebody help to fix the problem

1 Attachments

Discussion

  • Tommy Murphy

    Tommy Murphy - 2023-07-06

    You might want to attach a verbose (openocd -d3) log.
    You should maybe also try a more up to date build of OpenOCD built from the RISC-V fork:

     

    Last edit: Tommy Murphy 2023-07-06
    • Ashi Gupta

      Ashi Gupta - 2023-08-03

      Hi Tommy,

      https://github.com/riscv/riscv-openocd i see the last release version is from Dec 2018 (almost 4.5 years old). Do you know if there is any latest release version available or master branch is the most updated one after 2018 that shall be used.

       

      Last edit: Ashi Gupta 2023-08-03
      • Tommy Murphy

        Tommy Murphy - 2023-08-03

        The RISC-V OpenOCD fork is under constant development/refinement.
        You really need to build from the latest sources to get the latest updates.
        You could try, say, the xPack binary builds but they will still usually lag behind the bleeding edge RISC-V fork repo sources.

         
        • Ashi Gupta

          Ashi Gupta - 2023-08-03

          Ok Thanks

           

Log in to post a comment.

MongoDB Logo MongoDB