I’ve connected the front pins as described from Husky > CW313 (which has SAM4S attached):
CK > CLK
D7 > D3
D6 > D2
D5 > D1
D4 > D0
But when I try to go through the tracewhisperer notebook I get an error on the synchronization. I am using the simpleserial-trace firmware compiled for husky. Any idea what is going wrong? I can not figure it out, everything that I check seems to be ok.
Hmm, what instructed you to connect the D[x] pins this way?
I see that the notebook instructions could be a bit clearer here. With the SAM4S target, you need to set TRACE_INTERFACE to 'swo', and connect the target TMS / TCK / TDO pins to Husky’s D0 / D1 / D2 pins.
I hope this helps, and do let us know if you found contradictory information somewhere.
So I understand correctly that the parallel tracing is simply not possible with SAM4S?
I had already tried the swo, there I ran into the issue that the orbfifo can not process the generated trace data (it gives an error “bad packet received”)
Ah I see - I’ll update this to make it clearer, thank you.
Unfortunately the SAM4S target does not have a parallel trace port. It also doesn’t have an ETM, which means some of the things we demonstrate in the TraceWhisperer notebooks aren’t possible for this target.
orbuculum is under active development and it may be that our usage of it has become broken? As noted in the notebook, I last tested it on commit 7374cec2f1a1f72e586cb5941123c5a859b0e7bb; did you try building orbuculum from that commit?