2017-04-23 02:48 AM
When enabling ICMP so that 'ping' is enable. It is(seems) necessary to disable hardware CRC generation. In that case the choice 'software CRC generation' is (seems to be) stuck on 'disable' and 'ping' does not respond.
It is then necessary to add in lwipopts.h :
/* USER CODE BEGIN 1 */
/*** because of a bug in STM32CubeMX code generator ? ***/&sharpundef CHECKSUM_GEN_ICMP&sharpdefine CHECKSUM_GEN_ICMP 1/* USER CODE END 1 */
#checksum_gen_icmp2017-04-24 07:41 AM
Hi
DEMARTINI.Jean
,I will report your issue internally to our CubeMx team and come back to you as soon as possible.
Thanks
Imen
2017-04-25 08:28 AM
Hello
DEMARTINI.Jean
,Could you please send us your ioc file in order to reproduce your issue?
Thanks in advance.
BR. Eric
2017-04-26 03:43 AM
Hello,
Please find attached my .ioc project description.
The problem I am encountering concern LwIP
configuration/Checksum/CHECKSUM_GEN_ICMP: the choice list is limited to
'disable'.
Many thanks.
Jean DEMARTINI
Le 25/04/2017 à 17:29, Eric Dampierre a écrit :
>
STMicroelectronics Community
<https://community.st.com/?et=watches.email.thread>
>
Re: Is there a bug in STM32CubeMX code generation with STM32F4
library and LwIP ?
reply from Eric Dampierre
<
in /STM32 MCUs Forum/ - View the full discussion
<https://community.st.com/message/155304-re-is-there-a-bug-in-stm32cubemx-code-generation-with-stm32f4-library-and-lwip?commentID=155304&et=watches.email.thread#comment-155304>
>
________________ Attachments : BO13_trunk.ioc.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyVQ&d=%2Fa%2F0X0000000bB2%2F_484A3Qnzx.TG7wQAoRn1d.fddpl6AzIsz8QGQ8FN9A&asPdf=false2017-05-11 02:43 AM
Hello
DEMARTINI.Jean
,This issue is delivered in CubeMX4. This new release is available on ST website.
Don't hesitate to upgrade your CubeMX with this new release (to avoid having this issue).
BR. Eric