Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function ETH_DMAPrepare is broken #42

Open
Amomum opened this issue Mar 5, 2018 · 1 comment
Open

Function ETH_DMAPrepare is broken #42

Amomum opened this issue Mar 5, 2018 · 1 comment

Comments

@Amomum
Copy link
Contributor

Amomum commented Mar 5, 2018

DMA_CtrlDataInitTypeDef DMA_PriCtrlStr;

this structure is created but is not initialized, so call to DMA_Init triggers assert_failed.

Unfortunately I have no idea how to use ETH_DMAPrepare and when to call it. ETH_DMAFrameRx doesn't work in FIFO-mode (i.e. with DMA) if I just call it, so DMA should be prepared.. at some point.. i guess. But when and how exactly? I could not find any example for Ethernet with DMA.

@eldarkg
Copy link
Owner

eldarkg commented Mar 2, 2019

@Amomum Can you check the new commit e599218
PS I reset your previous commits (use original library files). If you need to fix them add a new pull request. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants