I don’t think the system is even booting properly.
If you run it under debugger, can you verify that you’re not reaching main()?
Here’s few things that you should look at:
TIMER_4 does not exist with the BSP you’re using.
So you could try adjusting LORA_MAC_TIMER_NUM to 3,
and saying TIMER_3=1,
I've connected SX1276 with some wires but not sure if connection is good.
Also I've added debug info:
$ newt target show
targets/nrf51lora_app
app=@apache-mynewt-core/apps/lora_app_shell
bsp=@apache-mynewt-core/hw/bsp/nrf51dk
build_profile=debug
Could you also tell us what your target looks like: newt target show
Thanks
> On Nov 29, 2017, at 8:26 AM, Christopher Collins wrote:
>
> On Wed, Nov 29, 2017 at 07:43:20AM -0800, will sanfilippo wrote:
>> I doubt it was ever tested with no sx1276 actually connected. Where
On Wed, Nov 29, 2017 at 07:43:20AM -0800, will sanfilippo wrote:
> I doubt it was ever tested with no sx1276 actually connected. Where is it
> crashing? What function is at 0x81bc?
>
> > On Nov 29, 2017, at 6:20 AM, K Dmitry wrote:
> >
> > Thanks! That helped. I had to
This is what objdump shows for 0x81bc:
81bc g F .text 000e hal_system_init
This is what I got from gdb:
os_init (main_fn=0x84d5 ) at
repos/apache-mynewt-core/kernel/os/src/os.c:183
183 os_dev_reset();
(gdb)
185 err = os_arch_os_init();
(gdb)
186
I doubt it was ever tested with no sx1276 actually connected. Where is it
crashing? What function is at 0x81bc?
> On Nov 29, 2017, at 6:20 AM, K Dmitry wrote:
>
> Thanks! That helped. I had to define few more pins and was able to build app.
> Now I'm trying to test it
Thanks! That helped. I had to define few more pins and was able to build app.
Now I'm trying to test it without SX1276 actually connected, but looks like app
crashes:
00 ICSR:0x00421002
00 Assert @ 0xfb63
00 Unhandled interrupt (2), exception sp 0x200013c0
00 r0:0x
Hello,
The telee02 has a dependency on one of the LoRa drivers. If you look at
"hw/bsp/telee02/pkg.yml" you'll see:
pkg.deps.LORA_NODE:
- hw/drivers/lora/sx1276
the nrf51dk doesn't have this dependency. You would need to add it
yourself to satisfy the api requirements.
On Wed, Nov 29,
Hello!
I'm trying to build lora_app_shell using tutorial
(https://mynewt.apache.org/latest/os/tutorials/lora/lorawanapp/) but build
fails:
$ newt build nrf51lora_app
Building target targets/nrf51lora_app
Error: Unsatisfied APIs detected:
* lora_node_driver, required by: net/lora/node