BX3105 Memory problem


#1

Hello,

I have a problem with my BX3105 development kit (Revision 1.3.0).
When I connect to an access point and use a socket to open a TCP connection to a server that does not have the respective port open, my device starts to get memory problems after 5-10 tries.

What I do:
AT+KTCPCFG=,0,“192.168.1.20”,5642
+KTPCFG: 1
OK
AT+KTCPCNX=1
+CME Error: 906
AT+KTCPDEL=1
OK
— This repeats until at one point I get
AT+KTCPCFG=,0,“192.168.1.20”,5642
+KTPCFG: 1
OK
AT+KTCPCNX=1
+CME Error: 902

After this only AT+RST helps getting the device to work properly again.
Checking the heap memory with AT+SYSRAM after each connect I can see that the heap size decreases by 360 bytes each time. When the value reaches 52000 and +CME Error: 902 happens.

I hope someone has an idea. Upgrading my chip to 2.5.0 does not work.

Best regards,
Tim Koczwara


#2

@tikoesope,

As per my other post you do need to use a newer version which means new hardware.

In the newer firmware there is the ability to turn certain functionality off as the unit can run out of RAM when running all of the stacks so some management is required.

Regards

Matt