When I initially run the program, I encounter an "undefined reference to lwip.h" error. When I add the file to the library, I get similar errors. How did you manage to run it without any errors?
@mohsenmazandarani7506 Жыл бұрын
Did you follow exactly as i said?
@LL-ue3ek2 жыл бұрын
Hi Mohsen, thank you for sharing the materials. My goal is to be able to do what you did in the video, it'd be so cool! But right now I only managed to let the STM32 communicate with the ENC28J60. I gathered pieces of info here and there, and managed to come up with a 42 byte ARP packet (broadcast), and I tried sending it out of the ENC28J60. I was not able to observe this ARP packet using the Wireshark monitor; no matter what I tried. Right now I just want to be able to send a packet out to the network; any packet; and be able to see it on the Wirshark. I think that will be an important first step. Can you help me with getting over this step, please let me know what basics I might have missed. I am still miles away from being able to follow what's in your video. Thank you so much!
@mohsenmazandarani75062 жыл бұрын
Hey...... Since you are using LWIP, you can't send raw packet into the network , unless you use static err_t low_level_output(struct netif *netif, struct pbuf *p); which is declared in ethernetif.c file....... that's all i know.......hope it helps......
@LL-ue3ek2 жыл бұрын
Thanks for the reply. I will look into sending raw packets. There's a KZbin video that shows sending a raw ARP packet and observed it on Wireshark. I must have missed something. Thanks for the reminder.
@mohsenmazandarani75062 жыл бұрын
@@LL-ue3ek You're welcome.....
@sajadahmadian18632 жыл бұрын
Thank you so much Mr. Mazandarani, your tutorial is useful. I have some questions about hardware of this tutorial. Do you connect STM32F4 with ENC28J60 to router and connect router to PC by ethernet cables?
@mohsenmazandarani75062 жыл бұрын
Your welcome.... No, I simply assigned a static IP address to my laptop LAN port, and then connected the ENC28J60 to it....... Hope it helps ;)
@sajadahmadian18632 жыл бұрын
@@mohsenmazandarani7506 I want to send and receive data between STM32 and PC by ENC28J60, but I cannot do that. Could you help me about that?
@mohsenmazandarani75062 жыл бұрын
@@sajadahmadian1863 Ok . Contact me by email and tell me your problem
@ferdinvivian9336 Жыл бұрын
@@sajadahmadian1863 same here, Mail ID Plz
@quangminhtran8356 Жыл бұрын
coulde you tell me how to stream audio on microphone via ethernet with stm32?
@mohsenmazandarani7506 Жыл бұрын
Hello , once you establish the connection via ethernet , the rest is simply software stuff.
@quangminhtran8356 Жыл бұрын
@@mohsenmazandarani7506 could you tell me how to coding for project?
@ferdinvivian9336 Жыл бұрын
your mail id plz, I will send my code. Can you correct me I have followed your steps as it is,, I am using the same f407 discovery model Stm32 microcontroller and enc28j60 Ethernet Module. Still, that final step using the Hercules software connection didn't work for me. I am getting error message as, "TCP Connection error :10061"
@mohsenmazandarani7506 Жыл бұрын
Hey My Email : mazandarani_mohsen@yahoo.com Could you ping the module?
@ferdinvivian9336 Жыл бұрын
@@mohsenmazandarani7506 I am using STM32F407VG Discovery board, I am using ENC28J60 Ethernet Module. I have shared my code with you in an Email, sir, Please check.
@alldudu4583 Жыл бұрын
Hi Mohsen, I have just sent an email to your address. Could you check it, please? Thank you :)
@sajadahmadian18632 жыл бұрын
Please add your email in about of your KZbin channel for more contacting. 👌🙏
@mohsenmazandarani75062 жыл бұрын
Channel content updated....thanks for your reminding