-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ethernet only connect when usb is connected and used by sender #161
Comments
How do you compile and do you have your own board map? The reason I ask is that this code was added by me to the ST framework to be able to detect if a USB client is connected or not. If it is missing it may explain why. |
my platformio config is
and my custom map is
|
I have wired up my F446 dev board and that works as it should. Perhaps PlatformIO is using its own framework version without the code modification? Have you checked that? |
No, I have not verified that, how can I verify it? |
By locating the file and checking if it has the added code linked to above. If not replace the file with the one from the repository - there are a few #include files added at the top of it too. Tip: one way to find out which file the compiler uses is to deliberately add an error in the file. |
Then check the file in the download. Does it have the changes? |
I do the test by disconnecting the USB connector, and connecting the board to a 5v source directly. |
Oops - forgot to test that, seems that I have to figure out how to check for the USB port beeing powered or not. |
Try by changing this function to:
Note that I am not yet sure if it is the final solution,. |
Yes it worked correctly, thank you |
How can you port from VGT6 to VET6? Is it easy by simply modifying the VGT6 FLASH.ld file? Or I have to modify any other file to get it worked? |
Hi, i using a board stm32f407vet6 and compiled version of the grblhal activating ethernet, that works correctly when connect first the usb cable and iosender for check boot.
But when not connect the usb cable and power the board from PSU try to connect iosender using the ip not work, testing using ping the ip reponds.
GrblHAL 1.1f ['$' or '$HELP' for help]
[VER:1.1f.20240204:]
[OPT:VNMSL,100,1024,3,0]
[AXS:3:XYZ]
[NEWOPT:ENUMS,RT+,ES,SED,ETH]
[FIRMWARE:grblHAL]
[SIGNALS:HSE]
[NVS STORAGE:*FLASH]
[FREE MEMORY:30K]
[DRIVER:STM32F407]
[DRIVER VERSION:240205]
[AUX IO:1,0,0,0]
[WIZCHIP:W5500]
[MAC:56:34:12:dc:08:00]
[IP:192.168.10.135]
[NETCON:Websocket]
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G59.1:0.000,0.000,0.000]
[G59.2:0.000,0.000,0.000]
[G59.3:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000,0.000,0.000]
[PRB:0.000,0.000,0.000:0]
thks.
The text was updated successfully, but these errors were encountered: