This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I assume that you have resolved your issue since I have not heard back from you. If not, feel free to post a response to this thread, or open a new thread regarding this issue.
Regards,
Shlomi
cc3220nwp.zipHi Shlomi,
Here is my findings and setup:
I have two CC3220SF's one on Unit A and one on Unit B. Unit A is acting as an AP for a laptop and Unit B to connect to as a Station. The laptop connects using DHCP to get an IP address. Unit B connects using a static IP address.
What I am finding is after some time in the field customers are having trouble with Unit B connecting back to the Laptop via Unit A's AP. Doing some testing on a returned unit and a factory fresh unit, I can reproduce the problem.
The problem shows up after some connect/disconnect cycles of Unit B. By forcing the connection with a turn on/off of the Unit B, I can get the AP to "lock up". (Also the laptop is connected, and seems to be a needed connection for the problem to show up.) From the Host processors logging over Uart, I see that the AP BSSID seems to be getting set to 0:0:0:0:0:0. Reseting Unit B does not fix the issue. Disconnecting the Laptop does seem to fix the problem. I can not connect to the AP when it is in this state with another device. I have captured a Network Processor log file of the AP (Unit A) using the pin 62 output. I have attached this log file.
Regards,
Caleb
Hello Caleb,
Not sure exactly where in the log it happens (only towards the end?).
Anyway, from the log I can see that unit B gets disconnected since the NWP got a MGMT frame but I cannot tell what frame without looking at a sniffer capture. Do you have the capability to capture one?
Regarding the laptop that use DHCP, I can see that it gets rejected during DHCP procedure since it is using a DHCPINFORM option with all 0 IP in its ciaddr although it gots a valid address 10.0.1.2. I am not sure whether it is related to unit B issue or not.
Regards,
Shlomi
cc3220nwp_log_3.zipHi Shomi,
I have created the logs. In capturing the Wifi sniffer data, I went to a location without much wifi interference. There are two extra Wireshark files that provide the "noise" wifi signals that I was getting during the capture.
Also, in looking at the NWP log file(as it was print on the terminal), I noticed that when I was getting the error of Unit B not connecting, I would get a long set of 2" as seen by this:
&('#BÝ& 72€% ( 2“
2“
2“
2“
2“
2“
2“
2“
2“
2“
2“
2“
2“
This would repeat while the unit A AP was not accepting the Unit B connection.
I have placed the log data from the host processor here that shows the sequence of events:
Unit A boots:
Unit B first added to AP on unit A: [WLAN EVENT] STA was added to AP: BSSID: c:b2:b7:7:15:74
Laptop connected to AP on unit A: [ WLAN EVENT] STA was added to AP: BSSID: 28:b2:bd:7c:32:56
Laptop gets IP: [NETAPP EVENT] IP Leased to Client: IP=10.0.1.2
Unit B removed from AP on unit A: [WLAN EVENT] STA was removed from AP: BSSID: c:b2:b7:7:15:74
Unit B will not reconnect..... shows ERROR BSSID 0:0:0.... Reseting Unit B does not fix problem.
Laptop removed from AP on unit A: [WLAN EVENT] STA was removed from AP: BSSID: 28:b2:bd:7c:32:56
Uint B reconnects: [WLAN EVENT] STA was added to AP: BSSID: c:b2:b7:7:15:74
Laptop reconnects: [WLAN EVENT] STA was added to AP: BSSID: 28:b2:bd:7c:32:56
Disconnecting laptop allows Unit B to reconnect. Laptop will reconnect without issue.
Regards,
Caleb
Hello Caleb,
Really hard to see why it is happening.
Does it also happen if the device is set to dynamic address allocation (DHCP) and not static? can you explain why you set a static IP on the device?
Also, does it happen if there is no laptop connected and Unit B is the only one connected?
Regards,
Shlomi
Hello Caleb,
Can you still test with DHCP on unit B instead of static? Even when using DHCP, you know what the IP address you are assigned so I do not see a good reason of using a static IP. What if another station connects while unit B is disconnected and gets the same IP address as the static IP you think is dedicated to you?
It would be good to get unit B NWP log in parallel to unit A. Please do.
Unfortunately, the log is binary and you cannot read it. Only in TI we can convert back and decrypt it.
Regards,
Shlomi
Hello,
Have you been able to work on it? or have you resolved it already?
Regards,
Shlomi
Hi Shlomi,
I have not had time to get back on this. We have a few other firmware features we are trying to get added so we can resolve a few problems customers are having with units(not related to this problem).
I can close this out for now and in a few weeks create a new post. Would that help close off "open" threads?
Regards,
Caleb
Yes, please do.
When you open a new post, please add a link to this one.
Shlomi