HI there,
I am trying to build an application based on serial_lte_modem sample. I must give it the capability to support full modem firmware upgrade through UART, like fmfu_smp_srv does.
I ran across this post (96634) where Johan-Henry does the same thing and hits the same road-blocks as myself. Unfortunately, the post terminates before a solution is described. Only does it suggest to enable the following options to prj.conf:
CONFIG_UART_0_INTERRUPT_DRIVEN=n
CONFIG_MCUMGR_SMP_UART=y
CONFIG_MCUMGR=y
In a nutshell:
- I compile and run the serial_lte_modem sample. It responds to AT commands.
- I compile and run the fmfu_smp_srv sample. It upgrades my modem FW.
- I bring suggested changes to serial_lte_modem's proj.conf. It compiles, but once flashed to the target, it does not respond to AT commands.
At this point, I don't expect the modem FW upgrade to work, but AT command handling should go on. No ?
Incoming commands do not even seem to activate uart_receive(...)
As Johan-Henry did, I observe that UART_0_INTERRUPT_DRIVEN=n is necessary. Whithout it, the project does not compile. What does it mean ? Should I activate something else to keep UART connectivity going ?
Windows 11 + VSCode + nRF Connect SDK 2.3.0 + nRF9160DK.
Thanks in advance for your help.