Hello,
Just reading the code (I did not run into this bug), I simply noticed that the RXRESET bit is not applied to the COMMAND register, which should be according to the datasheet.
I mean something like this is missing:
pENET->CONTROL.COMMAND |= ENET_COMMAND_RXRESET;
It is not in the Chip_ENET_ResetRXLogic() function which only resets the MAC part.
Not tested though.
I' ve tested this applications on my own board with LPC1768, same problem. I tried to contact directly NXP, But I couldn't get any responce from my NXP contact . (We are using this controller with another projects (without ethernet) and we are consume more than 10Kpsc/year) Dissapointment!
Hi Selami,
Are you using a custom base board with Ethernet PHY with your lpc1768 MCU? Do you have other LPC176x board which can be used for the Ethernet test?
You could try to use our lpc175x_6x CMSIS driver library to test if there is the same issue. The EMAC driver in the software platform don't use LWIP. Here is the link:
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer
Dear Carlos,
I have performed test “LPCXpresso 1769 with CMSIS-DAP Evaluation board” from NXP first. And then I tried my custom board with PCP1768. Result was same. I have used LPCXpresso v8.1.4 IDE and LPCOpen Libraries for LPC17XX V2.10 your software. You can see the details about my problem. All softwares (IDE, source codes) come from NXP, I didn’t make any modification to the source codes.
In my new project I need RTOS and IP, because of that I have to use Freertos and LWIP. When I faced this problem and no answer from you, I seach another solutions. I tried STM32F407 from ST and their STM32Cube software (freertos and lwip), I’m still working on this solution without any problem.
Thanks and regards.
S. Selami CANDAR
MSc in Electronics
R&D Manager
Adam ArGe Haberlesme Teknolojileri
Arastirma Gelistirme Ltd.
Phone : (90) 262 6787245
email : selami.candar@adam.com.tr<mailto:scandar@adam.com.tr>
Kimden: Carlos_Mendoza
Tarih: 30 Ağustos 2016 Salı 02:03
Kime: Selami CANDAR <scandar@adam.com.tr>
Konu: Re: - LPC1769 LPCOpen ethernet applications (lwip_tcpecho, webserver) have a problem on load.
NXP Community <https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>
LPC1769 LPCOpen ethernet applications (lwip_tcpecho, webserver) have a problem on load.
reply from Carlos_Mendoza<https://community.nxp.com/people/Carlos_Mendoza?et=watches.email.thread> in LPC - View the full discussion<https://community.nxp.com/message/826827?commentID=826827&et=watches.email.thread#comment-826827>