This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

HTTP POST with NCS v1.0.0-rc4

Dear

I just tried to run LTE-M/HTTP POST with NCS v1.0.0-rc4 (with nrf git fetch origin pull/943/head:branch1)

but, I COULD NOT POST any more:

**** Booting Zephyr OS build v1.14.99-ncs2-rc4-495-ga8933a2ead01 *****
LTETESTING is starting 
 LTE is connecting........... 
Checking LTE_M signal.............

+COPS: 0,2,"24201",7

OK

OK

+CEREG: 2,1,"765D","0110C303",7

OK


Original String is: +CEREG: 2,1,"765D","0110C303",7

OK

Found the LTE_M signal 
Closing socket

  find LTE_M signal........... 
***** USAGE FAULT *****
  Illegal load of EXC_RETURN into PC
***** Hardware exception *****
Current thread ID = 0x200203a8
Faulting instruction address = 0x0
Fatal fault in thread 0x200203a8! Aborting.
Exception occurred in Secure State
***** HARD FAULT *****
  Fault escalation (see below)
***** BUS FAULT *****
  Precise data bus error
  BFAR Address: 0x50008120
***** Hardware exception *****
Current thread ID = 0x20021ae4
Faulting instruction address = 0x21992
Fatal fault in ISR! Spinning...

It worked normal with the old version v0.4.0

1. when i used the same setup, i got error: 

1> zephyr/subsys/net/ip/libsubsys__net__ip.a(net_if.c.obj): In function `net_if_ipv6_calc_reachable_time':
1> D:/hng/projects/CyCollector/ncs_v1.0.0_rc4/zephyr/subsys/net/ip/net_if.c:2067: undefined reference to `sys_rand32_get'
1> collect2.exe: error: ld returned 1 exit status

2. I added the option: 

# Disable native network stack to save some memory
CONFIG_NET_IPV4=n
CONFIG_NET_IPV6=n

then, Build Solution: Build completed

but, I got the error 

My code:

LTE_M_NB-IoT.7z

Thanks so much

Regards, 

hng

Related