tpb has joined #litex
rohitksingh has quit [Ping timeout: 264 seconds]
_whitelogger has joined #litex
freemint has quit [Ping timeout: 268 seconds]
_whitelogger has joined #litex
rohitksingh has joined #litex
rohitksingh has quit [Ping timeout: 250 seconds]
rohitksingh has joined #litex
_whitelogger has joined #litex
_whitelogger has joined #litex
acathla has quit [Ping timeout: 250 seconds]
acathpala has joined #litex
freemint has joined #litex
rohitksingh has quit [Ping timeout: 250 seconds]
acathpala is now known as acathla
acathla has quit [Changing host]
acathla has joined #litex
_whitelogger has joined #litex
<kbeckmann> I'm new to litex, soc-on-fpga and so on. Is it possible to debug e.g. a picorv32 softcore using gdb that runs on my physical fpga and if so, how? I.e. not using qemu, verilator etc. on my PC. I feel that there is a *lot* for me to learn here and I'm not really sure where to read up on all of this.
freemint has quit [Ping timeout: 245 seconds]
<forksand> kbeckmann: i'm noob at this too, but I think what you're describing can be done with openocd + gdb. http://www.openocd.org/doc/html/GDB-and-OpenOCD.html
<tpb> Title: OpenOCD Users Guide: GDB and OpenOCD (at www.openocd.org)
<CarlFK> forksand: "that runs on my physical fpga" ?
<forksand> CarlFK: idk. meaning running gdb on the fpga ? /me bows out....
<RaYmAn> Xilinx seems to have some special blocks for hooking into the on-chip JTAG. Maybe ECP5 has something similar?
<CarlFK> I think an answer is: linux and thus gcc and any other linux binary
<daveshah> RaYmAn: yes it has JTAGG
<daveshah> I know Sprite_tm has been playing with it here https://github.com/Spritetm/hadbadge2019_fpgasoc/blob/master/soc/top_fpga.v#L271
<tpb> Title: hadbadge2019_fpgasoc/top_fpga.v at master · Spritetm/hadbadge2019_fpgasoc · GitHub (at github.com)
<kbeckmann> sorry for the confusing wording. i meant that gdb runs on my host pc and connects to the softcore's debug port using some interface, e.g. jtag or "litex bridge". seems that this little guide tells me what i want to know. https://github.com/timvideos/litex-buildenv/wiki/Debugging
<tpb> Title: Debugging · timvideos/litex-buildenv Wiki · GitHub (at github.com)
ambro718 has joined #litex
rohitksingh has joined #litex
<_florent_> kbeckmann: you can probably also look at the fomu workshop: https://github.com/im-tomu/fomu-workshop#debugging-risc-v-code
<tpb> Title: GitHub - im-tomu/fomu-workshop: Support files for participating in a Fomu workshop (at github.com)
<kbeckmann> thanks! will do that. that looks like a great resource.
forksand has quit [Ping timeout: 265 seconds]
forksand has joined #litex
ambro718 has quit [Quit: Konversation terminated!]
freemint has joined #litex
tpb has quit [Remote host closed the connection]