Closed nashif closed 8 years ago
by Juan Manuel Cruz Alcaraz:
by Mark Linkmeyer:
In code review. Merge by RC2.
by Lei Liu:
Juan Manuel Cruz Alcaraz I'm trying to verify this story by using matt publish sample code on MA. But never successfully connect. Steps:
CONFIG_ETH_ENC28J60_0_MAC3=0x2D CONFIG_ETH_ENC28J60_0_MAC4=0x30 CONFIG_ETH_ENC28J60_0_MAC5=0x31
CONFIG_NANO_TIMEOUTS=y CONFIG_NETWORKING_WITH_TCP=y CONFIG_NETWORKING_WITH_IPV4=y CONFIG_NETWORKING_IPV6_NO_ND=y
CONFIG_IP_BUF_RX_SIZE=4 CONFIG_IP_BUF_TX_SIZE=4
CONFIG_CONSOLE_HANDLER=y CONFIG_CONSOLE_HANDLER_SHELL=y CONFIG_PRINTK=y
CONFIG_SERIAL=y CONFIG_UART_INTERRUPT_DRIVEN=y CONFIG_UART_LINE_CTRL=y CONFIG_MINIMAL_LIBC_EXTENDED=y CONFIG_CONSOLE_HANDLER=y CONFIG_CONSOLE_HANDLER_SHELL=y
CONFIG_MINIMAL_LIBC_EXTENDED=y
5. make pristine; make BOARD=quark_se_devboard
6. Connect ENC28J60 with MA.
7. From a terminal, run the gateway: mosquitto -v
8. make flash.
Did I miss anything?
by Mark Linkmeyer:
Sorry Lei Liu , I didn't see your comment 4 days ago. It looks like Jira didn't accept my name in the comment so I didn't get an email. I'm not the right person to provide the patch link anyway. :-) Juan Manuel Cruz Alcaraz would be the right person since he's the one who resolved it. I see you sent him a follow-up comment for his help. Let me know if you need my help.
by Lei Liu:
Successfully capture data by using wireshark. Zephyr version 1.5.0-rc2. So close it.
Reported by Anas Nashif:
For network stack development and networking features in general on boards without any connectivity or when setup of wireless connectivity is a lot of overhead, an ethernet driver would help.
This board is very popular and can be attached using SPI.
Details: Small breakout board for the PIC Microchip ENC28J60. Contains all the necessary hardware to implement an Ethernet interface including the isolation transformer and LINK/STATUS LEDs. SPI interface makes this one of the easiest 10Base-T ICs yet! 3.3V with 8KB buffer.
Link: https://www.sparkfun.com/products/765 (Can also be purchased from other locations)
Datasheet: https://www.olimex.com/Products/Modules/Ethernet/ENC28J60-H/resources/ENC28J60-H.pdf
(Imported from Jira ZEP-291)