<rjo>
whitequark: you can crank up the speed. iirc it worked fine up to a MBit or thereabouts.
<rjo>
whitequark: but it seems that you will always be uart bound. why don't you trace into a buffer and read out later?
<whitequark>
rjo: not if I am debugging a crash
<whitequark>
you could make an argument for never panicking, but it's not always realistic. e.g. out of bounds accesses will *always* crash the entire runtime
<rjo>
whitequark: can't you read it through the debugger?
<whitequark>
rjo: I can, but the ergonomics of this is atrocious
<whitequark>
it'd be a method of last resort
<whitequark>
as you may remember we have no JTAG on OR1K so I debug through a gdb stub over network
<whitequark>
this works more reliably than what you would expect, but the latency is high, throughput is low, and it sometimes fails for no apparent reason
<whitequark>
this also requires a really large buffer...
<whitequark>
I actually suspect a better method would be streaming all log messages over UDP, perhaps (but not necessarily) even bypassing the rest of the stack
<whitequark>
this would be fairly easy as smoltcp exposes all of its guts, including the packet construction machinery.
<whitequark>
rjo: what's the proper baudrate to set?
<whitequark>
from the datasheet it looks like ft2232h doesn't care at all as long as you can set the divisor
<whitequark>
923076?
<whitequark>
ah, 921600. but let's try 3M first.
<GitHub169>
[artiq] whitequark pushed 1 new commit to smoltcp: https://git.io/vMoW6
<GitHub169>
artiq/smoltcp e3a4812 whitequark: gateware.targets.kc705_dds: increase UART baudrate to 3Mbps.
<GitHub41>
[artiq] whitequark commented on issue #656: You can think of the ARTIQ Python compiler to override all built-in types.... https://git.io/vMKJ8
<GitHub12>
[artiq] whitequark commented on issue #656: You can think of the ARTIQ Python compiler to override all built-in types.... https://git.io/vMKJ8
<GitHub99>
[artiq] sbourdeauducq pushed 1 new commit to master: https://git.io/vMKUR
<GitHub99>
artiq/master b4f3be7 Sebastien Bourdeauducq: doc: fix table formatting problem, add 'string constant' as supported compiler type
<GitHub197>
[artiq] sbourdeauducq pushed 1 new commit to release-2: https://git.io/vMKUa
<GitHub197>
artiq/release-2 4d5ba3f Sebastien Bourdeauducq: doc: fix table formatting problem, add 'string constant' as supported compiler type