Skip to main content
tome
Associate II
July 2, 2017
Solved

STM32CubeMX + HAL + LWIP(RAW API) + DP84848 Don't work

  • July 2, 2017
  • 2 replies
  • 1247 views
Posted on July 02, 2017 at 14:08

The original post was too long to process during our migration. Please click on the attachment to read the original post.
    This topic has been closed for replies.
    Best answer by tome
    Posted on July 05, 2017 at 20:05

    Hi Amel,

    Sorry for the late answer, and thanks for your attention to this issue. I was out of office and answering from smartphone is not casual.

    1. Yes, the project is on the stm32f107.

    2. It write something like 4.18.0, STM32Cube FW_F1 v.1.4.0 and as I understand it use old version lib's (it downloads DB.4.0.180.tar.bz2)

    3. Yes. Then I deinstall the Cube and install it agin. It didn't help me.

    Usually, I fixed the issue and project is working now.

    I replaced one variable in function void TCP_server_init(void)

    err = tcp_bind(pcb, addr, TCP_PORT);

    with the 

    err = tcp_bind(pcb, IP_ADDR_ANY, TCP_PORT);

    So, I think for now we can close this topic.

    2 replies

    Amel NASRI
    ST Technical Moderator
    July 3, 2017
    Posted on July 03, 2017 at 16:46

    Hi

    Kirichok.Sergey

    ‌,

    Could you please precise the following:

    • used device is STM32F107, right?
    • what 'old' CubeMX version were you using?
    • you updated to the version .21 of CubeMX and then problem started to be faced,right?

    Then it is interesting to share the 'old working project' before update. Is it available somewhere?

    -Amel

    To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
    tome
    tomeAuthorBest answer
    Associate II
    July 5, 2017
    Posted on July 05, 2017 at 20:05

    Hi Amel,

    Sorry for the late answer, and thanks for your attention to this issue. I was out of office and answering from smartphone is not casual.

    1. Yes, the project is on the stm32f107.

    2. It write something like 4.18.0, STM32Cube FW_F1 v.1.4.0 and as I understand it use old version lib's (it downloads DB.4.0.180.tar.bz2)

    3. Yes. Then I deinstall the Cube and install it agin. It didn't help me.

    Usually, I fixed the issue and project is working now.

    I replaced one variable in function void TCP_server_init(void)

    err = tcp_bind(pcb, addr, TCP_PORT);

    with the 

    err = tcp_bind(pcb, IP_ADDR_ANY, TCP_PORT);

    So, I think for now we can close this topic.