-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Cannot get ip address on bl602evb:wifi #4336
Comments
Try to increase the values of |
Thanks for your quick feedback, but actually, I captured wireless packets, there are no packets send out from chip when I excute |
Here it is not connecting:
BTW @Virus-V why LIBCXX is enabled on bl602evb:wifi? It is wasting time to compile your board and it is not used... |
@acassis Run
|
Hi @Virus-V the scan is working:
|
I'm not using this graphical interface to flash the board, I use this command:
|
I think it's not related to RF parameters, since I also flash wifi example from BL offical SDK, it works well. And same as acassis, I use command tool and not flash any other binary. |
The official BL SDK uses the device tree to save the RF parameter information, but NuttX currently does not support the device tree. Therefore, when linking the NuttX of BL602, the linker script will reserve 1K space at the beginning of 0x400 in the generated bin to save the RF parameters obtained from the device tree. When using the official download tool to download the code, the tool will automatically parse the specified device tree file and find the RF parameter, convert it into a TLV format raw binary data, and write it directly into the 0x400 offset of the bin file. As far as I know, third-party tools currently do not support automatic patching of TLV RF parameters in the bin file.
|
Hi @Virus-V should be nice if your company could submit support for these open-source tools. Normally I avoid to use graphic application because it is not productive for automated testing. |
@Virus-V Thanks for your info. Tried the GUI tool in a VM, it works now. Hope your guys can provide the command line tool soon. |
In the meantime, I've written a small utility to embed the RF parameters in nuttx binary to avoid using BouffaloLabDevCube: https://github.com/xouillet/bl_rfbin |
I happen to have a BL602 dev board, very lucky, NuttX also has the support of BL602. So I tried bl602evb:wifi sample to see whether WiFi can work, but unlucky, I cannot get ip address. Just use defconfig of wifi sample, not change anything. The test commonds are:
WiFi connection is OK, when excute
renew wlan0
, error messageERROR: dhcpc_request() failed
occur.Please give advise if you have tried this sample, thanks.
The text was updated successfully, but these errors were encountered: