Debug Session - Code not running

5 posts / 0 new
Last post
Qpium
Offline
Last seen:6 years 8 months ago
加入:2014-04-09 14:02
Debug Session - Code not running

Hello everyone,

I just followed the UMB-003 Document (Software Development Guide) and I have an issue.
After building the project, i start a Debug session. However after pressing the Run (F5) button, nothing happens, like if the code was not running. I followed the document so my options are set. I am using Keil 5.11 (last version).

Ps : I have no error returned, just nothing happens.

Thanks for your Support,
瓦伦汀

TR_Dialog
Offline
Last seen:2 months 3 weeks ago
Staff
加入:2014-06-30 23:52
Hi Valentin:

Hi Valentin:

- Are you trying to compile and load one of the projects from Dialog SDK? If you are trying to build your own profle and test the code, it might be a good idea to check your development environment first with one of the existing projects from Dialog SDK.

- Also can you let us know if you were able to click on the "settings' (options {debug tag}) with the {J-LINK/J-TRACE Cortex} selected. It has been reported that uVision crashes in this step particularly with Keil 5.11. If you face this problem, please downlaod the latest version of UM-B-003 (version 1.4) and the follow the instructions on Appendix A page 22.

Thanks,

TR_Dialog

Qpium
Offline
Last seen:6 years 8 months ago
加入:2014-04-09 14:02
Hello,

Hello,

- I am trying to compile and load an existing project from Dialog SDK (I followed instructions from UM-B-003 - just changed the name of the project).

——我可以点击设置with J-Link selected. I could set all parameters as defined in UM-B-003 and had almost no crash.

TR_Dialog
Offline
Last seen:2 months 3 weeks ago
Staff
加入:2014-06-30 23:52
Hi Qpium:

Hi Qpium:

I assume after successful compilation, you verified the settings tab as mentioned above, and then pressed the "Start/Stop Debug Session(ctrl+F5)" button followed by Run(F5). What happens next? Can you post a screen shot?

Thanks,

TR_Dialog

MHv_Dialog
Offline
Last seen:2 months 2 days ago
Staff
加入:2013-12-06 15:10
Hi Qpium,

Hi Qpium,

If you are using the reporter_fh project, remeber to either disable sleep mode (#undef ) in the project's da14580_config.h file or stop the debugger to see your code run. This applies to all sample applications that take advantage of deep sleep or extended sleep.