CHip:52840
Flash Assign:softdevice S140 0x00000000-0x0026000 Ram 0x20000000-0x20003000
SDK v15.3 0x0026000-0x00800000 Ram 0x20003000-0x40000000
example: ble_app_hids_mouse
Compile OK
But Can not find BLE device in app.how?
CHip:52840
Flash Assign:softdevice S140 0x00000000-0x0026000 Ram 0x20000000-0x20003000
SDK v15.3 0x0026000-0x00800000 Ram 0x20003000-0x40000000
example: ble_app_hids_mouse
Compile OK
But Can not find BLE device in app.how?
Could you try to debug your project, and figure out the exact cause of the issue?
Are you using Keil? Then you have to manually flash the SoftDevice.
Best regards,
Simo
flash the S140
When Debugging in Step In mode, Its track is loopping from 0x15fd0 to 0xBF88-0xBF8E to 0x15FD4-0x15FE4 to 0x1404-0x1402 to 0x15FE8-0x15ff6.
Hi,Simon:
I found that,When I did not run de softdevice,it runs well.
As when I flash the example blinky, It runs well.On the contrary, when I flash the example ble_app_blinky,it run out of control.
Could you try to enable RTT logging, and see if you see any logs?
Also, try to debug the ble_app_blinky with SEGGER Embedded Studio, and figure out where exactly in the code it breaks.
Okay, it reaches the breakpoint
Set a new breakpoint:
Okay, it reaches the breakpoint
could you provide the call stack after the error happens (see image below)?
Best regards,
Simon
It can reach any breakpoint in the code.And Just Loop in Softdevice.
When at this braekponit,Just clicking for running four times,It would loop in the softdevice.
When at this braekponit,Just clicking for running four times,It would loop in the softdevice.
wzszzxj said:It can reach any breakpoint in the code.And Just Loop in Softdevice
This is expected behavior, check out the figure and explanation from this ticket:
Best regards,
Simon
Hi,Simon:
Thank you for your reply, Pls close this topic,thank you!