00:00
idundidit has joined #m-labs
00:32
xiangfu has joined #m-labs
01:19
sh4rm4 has quit [Ping timeout: 256 seconds]
01:34
fengling has joined #m-labs
01:42
xiangfu has quit [Remote host closed the connection]
01:49
fengling has quit [Quit: WeeChat 0.4.3]
01:52
fengling has joined #m-labs
04:01
nicksydney has quit [Read error: Connection reset by peer]
04:36
nicksydney has joined #m-labs
04:52
_whitelogger_ has joined #m-labs
06:34
idundidit has quit [Quit: Leaving]
06:42
sb0 has joined #m-labs
07:58
bentley` has quit [Ping timeout: 264 seconds]
08:19
Alain_ has joined #m-labs
08:53
siruf has quit [Ping timeout: 266 seconds]
08:53
playthatbeat has quit [Ping timeout: 266 seconds]
08:53
kristianpaul has quit [Ping timeout: 266 seconds]
08:53
playthatbeat has joined #m-labs
08:54
siruf has joined #m-labs
08:54
kristianpaul has joined #m-labs
08:54
kristianpaul has joined #m-labs
09:04
thunderbolt_ has joined #m-labs
09:08
<
thunderbolt_ >
Hello everybody. I got myself a FT2232H breakout board and UrJTAG. How can I debug my LM32 (using GDB?). Any help is welcome.
09:17
<
thunderbolt_ >
Environment is a Spartan 6 running a self-ported LM32
10:34
<
sb0 >
best is use the serial gdb stub
10:52
fengling has quit [Quit: WeeChat 0.4.3]
11:23
<
thunderbolt_ >
sb0, Hi. What do you mean when you say "stub"?
11:27
<
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
11:32
<
thunderbolt_ >
sb0, so that code I need to compile/link in to my program?
11:32
<
sb0 >
no, you need to put it into a rom
11:33
<
thunderbolt_ >
I see, so this is a standalone program for the LM32 and the program gets uploaded through GDB?
11:34
<
sb0 >
I'm not sure if you can upload programs through that, never tried
11:34
<
thunderbolt_ >
but how can you get the debugger to step through your own code?
11:35
<
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
11:35
<
sb0 >
of course this won't work if you want to set a breakpoint e.g. on main()
11:38
<
sb0 >
it's for the jtag, but we're not using that - according to mwalle openocd is full of bugs
11:39
<
GitHub134 >
misoc/master d1ff43f Florent Kermarrec: gensoc/cpuif: do not generate access functions for registers > 64 bits
11:39
<
GitHub134 >
misoc/master 37968e6 Sebastien Bourdeauducq: targets/kc705: use PLL for clocking
11:39
<
GitHub134 >
misoc/master ca6d695 Sebastien Bourdeauducq: targets/ppro: use migen reset synchronizer
11:40
<
GitHub82 >
migen/master b124a98 Sebastien Bourdeauducq: genlib: add reset synchronizer
11:40
<
thunderbolt_ >
Okay so serial it the way to go
11:42
<
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?
11:57
<
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
11:59
<
sb0 >
if you end up using this thing, I'd recommend you port it to misoc and send a patch :)
12:00
<
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
13:09
sh4rm4 has joined #m-labs
13:17
<
thunderbolt_ >
Okay now I get it. Thank you guys very much!
13:49
sh4rm4 has quit [Remote host closed the connection]
13:49
sh4rm4 has joined #m-labs
13:55
sb0 has quit [Read error: Connection reset by peer]
13:56
sb0 has joined #m-labs
14:07
sh4rm4 has quit [Remote host closed the connection]
14:11
sh4rm4 has joined #m-labs
14:26
ysionnea1 is now known as ysionneau
14:30
sh4rm4 has quit [Remote host closed the connection]
14:41
sh4rm4 has joined #m-labs
14:57
sh4rm4 has quit [Remote host closed the connection]
14:58
sh4rm4 has joined #m-labs
15:13
thunderbolt_ has quit [Ping timeout: 256 seconds]
15:17
playthatbeat has joined #m-labs
15:50
sb0 has quit [Read error: Connection reset by peer]
15:51
sb0 has joined #m-labs
15:52
<
GitHub180 >
migen/master 7ebf08d Sebastien Bourdeauducq: mibuild/xilinx: connect CE on reset synchronizer FFs
15:55
<
GitHub115 >
misoc/master efb2466 Sebastien Bourdeauducq: gensoc: add id for KC705
15:55
<
GitHub115 >
misoc/master fb48b89 Sebastien Bourdeauducq: platforms/kc705: generate clocks for SDRAM
15:55
mrueg has quit [Quit: No Ping reply in 180 seconds.]
15:57
mrueg has joined #m-labs
15:59
<
GitHub133 >
migen/master 5fb221e Sebastien Bourdeauducq: typo
16:07
sb0 has quit [Quit: Leaving]
16:46
MY123 has joined #m-labs
16:46
PunIntended is now known as MY123
17:29
mumptai has joined #m-labs
19:35
sh4rm4 has quit [Remote host closed the connection]
19:38
sh4rm4 has joined #m-labs
19:42
sh4rm4 has quit [Remote host closed the connection]
19:50
sh4rm4 has joined #m-labs
19:51
sh4rm4 has quit [Remote host closed the connection]
19:52
thunderbolt_ has joined #m-labs
19:55
sh4rm4 has joined #m-labs
20:09
thunderbolt_ has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
20:55
Alain_ has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
21:08
sh4rm4 has quit [Remote host closed the connection]
21:10
mumptai has quit [Quit: Verlassend]
21:15
sh4rm4 has joined #m-labs
21:18
sh4rm4 has quit [Remote host closed the connection]
21:28
sh4rm4 has joined #m-labs
21:52
kristianpaul has quit [Ping timeout: 260 seconds]
21:53
sh4rm4 has quit [Remote host closed the connection]
21:54
kristianpaul has joined #m-labs
21:54
kristianpaul has joined #m-labs
22:08
kristianpaul has quit [Ping timeout: 250 seconds]
22:09
sh4rm4 has joined #m-labs
22:10
kristianpaul has joined #m-labs
22:10
kristianpaul has joined #m-labs
22:18
sh4rm4 has quit [Remote host closed the connection]
22:20
sh4rm4 has joined #m-labs
22:35
kristianpaul has quit [Ping timeout: 272 seconds]
22:57
kristianpaul has joined #m-labs
23:17
kristianpaul has quit [Ping timeout: 250 seconds]
23:19
kristianpaul has joined #m-labs
23:19
kristianpaul has joined #m-labs