lekernel changed the topic of #m-labs to: Mixxeo, Migen, MiSoC & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
idundidit has joined #m-labs
xiangfu has joined #m-labs
sh4rm4 has quit [Ping timeout: 256 seconds]
fengling has joined #m-labs
xiangfu has quit [Remote host closed the connection]
fengling has quit [Quit: WeeChat 0.4.3]
fengling has joined #m-labs
nicksydney has quit [Read error: Connection reset by peer]
nicksydney has joined #m-labs
_whitelogger_ has joined #m-labs
idundidit has quit [Quit: Leaving]
sb0 has joined #m-labs
bentley` has quit [Ping timeout: 264 seconds]
Alain_ has joined #m-labs
siruf has quit [Ping timeout: 266 seconds]
playthatbeat has quit [Ping timeout: 266 seconds]
kristianpaul has quit [Ping timeout: 266 seconds]
playthatbeat has joined #m-labs
siruf has joined #m-labs
kristianpaul has joined #m-labs
kristianpaul has joined #m-labs
thunderbolt_ has joined #m-labs
<thunderbolt_> Hello everybody. I got myself a FT2232H breakout board and UrJTAG. How can I debug my LM32 (using GDB?). Any help is welcome.
<thunderbolt_> Environment is a Spartan 6 running a self-ported LM32
<sb0> best is use the serial gdb stub
fengling has quit [Quit: WeeChat 0.4.3]
<thunderbolt_> sb0, Hi. What do you mean when you say "stub"?
<GitHub124> [migen] sbourdeauducq pushed 1 new commit to master: http://git.io/BXjG7A
<GitHub124> migen/master 4d38232 Sebastien Bourdeauducq: mibuild/xilinx: share more code between ISE and Vivado, use special overrides with Vivado, merge xilinx_tools into xilinx_common
<thunderbolt_> sb0, so that code I need to compile/link in to my program?
<sb0> no, you need to put it into a rom
<thunderbolt_> I see, so this is a standalone program for the LM32 and the program gets uploaded through GDB?
<sb0> I'm not sure if you can upload programs through that, never tried
<thunderbolt_> but how can you get the debugger to step through your own code?
<sb0> the way I used it is load the program through some other means, then use gdb on the corresponding elf binary with debug symbols on the host, and attach via serial break
<sb0> of course this won't work if you want to set a breakpoint e.g. on main()
<sb0> it's for the jtag, but we're not using that - according to mwalle openocd is full of bugs
<GitHub134> [misoc] sbourdeauducq pushed 3 new commits to master: http://git.io/WvHg3A
<GitHub134> misoc/master d1ff43f Florent Kermarrec: gensoc/cpuif: do not generate access functions for registers > 64 bits
<GitHub134> misoc/master 37968e6 Sebastien Bourdeauducq: targets/kc705: use PLL for clocking
<GitHub134> misoc/master ca6d695 Sebastien Bourdeauducq: targets/ppro: use migen reset synchronizer
<GitHub82> [migen] sbourdeauducq pushed 1 new commit to master: http://git.io/hXcUmw
<GitHub82> migen/master b124a98 Sebastien Bourdeauducq: genlib: add reset synchronizer
<thunderbolt_> Okay so serial it the way to go
<thunderbolt_> sb0, I don't quite get it... if I make the LM32 start at the ROM location of the GDB stub - where do I put my program to debug?
<sb0> you can put it anywhere, lm32 will only jump to the rom when its external break signal (which you connect to the uart) is asserted
<sb0> if you end up using this thing, I'd recommend you port it to misoc and send a patch :)
<sb0> what you need for that is 1) add break detection to the UART 2) do a couple changes in the stub to adapt to the new UART
<ysionnea1> thunderbolt_: this email describes a bit how it works https://ssl.serverraum.org/lists-archive/devel/2014-July/003812.html
sh4rm4 has joined #m-labs
<thunderbolt_> Okay now I get it. Thank you guys very much!
sh4rm4 has quit [Remote host closed the connection]
sh4rm4 has joined #m-labs
sb0 has quit [Read error: Connection reset by peer]
sb0 has joined #m-labs
sh4rm4 has quit [Remote host closed the connection]
sh4rm4 has joined #m-labs
ysionnea1 is now known as ysionneau
sh4rm4 has quit [Remote host closed the connection]
sh4rm4 has joined #m-labs
sh4rm4 has quit [Remote host closed the connection]
sh4rm4 has joined #m-labs
thunderbolt_ has quit [Ping timeout: 256 seconds]
playthatbeat has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
playthatbeat has joined #m-labs
sb0 has quit [Read error: Connection reset by peer]
sb0 has joined #m-labs
<GitHub180> [migen] sbourdeauducq pushed 1 new commit to master: http://git.io/OG0KyA
<GitHub180> migen/master 7ebf08d Sebastien Bourdeauducq: mibuild/xilinx: connect CE on reset synchronizer FFs
<GitHub115> [misoc] sbourdeauducq pushed 2 new commits to master: http://git.io/b5vNPg
<GitHub115> misoc/master efb2466 Sebastien Bourdeauducq: gensoc: add id for KC705
<GitHub115> misoc/master fb48b89 Sebastien Bourdeauducq: platforms/kc705: generate clocks for SDRAM
mrueg has quit [Quit: No Ping reply in 180 seconds.]
mrueg has joined #m-labs
<GitHub133> [migen] sbourdeauducq pushed 1 new commit to master: http://git.io/Zp08yA
<GitHub133> migen/master 5fb221e Sebastien Bourdeauducq: typo
sb0 has quit [Quit: Leaving]
MY123 has joined #m-labs
PunIntended is now known as MY123
mumptai has joined #m-labs
sh4rm4 has quit [Remote host closed the connection]
sh4rm4 has joined #m-labs
sh4rm4 has quit [Remote host closed the connection]
sh4rm4 has joined #m-labs
sh4rm4 has quit [Remote host closed the connection]
thunderbolt_ has joined #m-labs
sh4rm4 has joined #m-labs
thunderbolt_ has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
Alain_ has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
sh4rm4 has quit [Remote host closed the connection]
mumptai has quit [Quit: Verlassend]
sh4rm4 has joined #m-labs
sh4rm4 has quit [Remote host closed the connection]
sh4rm4 has joined #m-labs
kristianpaul has quit [Ping timeout: 260 seconds]
sh4rm4 has quit [Remote host closed the connection]
kristianpaul has joined #m-labs
kristianpaul has joined #m-labs
kristianpaul has quit [Ping timeout: 250 seconds]
sh4rm4 has joined #m-labs
kristianpaul has joined #m-labs
kristianpaul has joined #m-labs
sh4rm4 has quit [Remote host closed the connection]
sh4rm4 has joined #m-labs
kristianpaul has quit [Ping timeout: 272 seconds]
kristianpaul has joined #m-labs
kristianpaul has quit [Ping timeout: 250 seconds]
kristianpaul has joined #m-labs
kristianpaul has joined #m-labs