STM32F746 ada-enet

Hi,
This question follows this topic Ada driver library ethernet component where I asked how can I have a working ethernet stack on my STM32F746 devboard.

I’m trying the get the ada-enet from @stcarrez working on it but I’m facing weird issues with the board. I can receive ethernet messages and the stack try to send answers. When adding a print (which does semihosting) in the Net.STM32_Interfaces.Transmit_Queue.Send it “works” (more like answer to 3 messages and then break apart) so the PHY configuration seems okay (it’s able to send and receive) but I guess it has something to do with either cache or DMA buffer management.

Has anyone experienced the same issues?

Thanks for your help, I’ve been stuck on this for almost a week :smiling_face_with_tear:

I don’t have such a board, but here my 2 cents advices.

I would suggest to avoid printing in the protected object, because it could be too slow. The better way is to create a buffer in the memory and populate it. Then you can investigate the buffer content in the debugger or print it in a separate task.

PS. May be I’ll find time to write RTT crate for Alire finally :frowning:

The corresponding reddit thread

1 Like