Closed andagent closed 2 weeks ago
Important to mention, when I connected a UART adapter to the modem and tried operating it from there, it works. It responds OK to my AT
After some digging, I see that the issue is in malloc.
I am getting this:
No receive buffer provided, allocating memory Entering pUPortMalloc with sizeBytes: 2084 Memory allocation failed Exiting pUPortMalloc
However, in my prj.conf I have it set this way: CONFIG_HEAP_MEM_POOL_SIZE=10240 CONFIG_MAIN_STACK_SIZE=8192
After even more digging I found out that the heap memory was lacking, so I incresed it to 16384
Hi everyone!
I am having some issue with my ubxlib setup. When trying to open LEXI-R10 device I am getting error -256. Could anyone help me please?
I am getting this U_PORT_BOARD_CFG: using CELLULAR device "cfg-device-cellular" from the device tree, module-type 10 on UART 0, uart-baud-rate 115200 with pin-enable-power -1 (0xffffffff), pin-pwr-on -1 (0xffffffff), pin-vint -1 (0xffffffff), pin-dtr-power-saving -1 (0xffffffff).
[00:00:02.008,239] modem_service: modem_init: Opened device with return code -256.
My dts looks like:
my init code like: