This is on CubeOrange+? Have you tried completely disabling UAVCAN and only trying CAN/socketcan first?
I have tried the same step for pix32 v6. I compiled using board fmu-v6c. After using cansend the nutx terminal freezes
@JulianOes can you guide me here?
When it “freezes”, it’s a good time to attach something to SWD, e.g. an ST-Link, Blackmagic probe, or JLink. Then fire up gdb and check where it hangs.