- Edited
SteveD0 newtmgr conn add serial type=serial connstring=“dev=COM20,baud=1000000”
You only have to do this once.
SteveD0 Then I pressed the Start Debugging and the got the error mentioned before. The debugger stopped at the line of code: bl z_platform_init
in:
SECTION_SUBSEC_FUNC(TEXT,_reset_section,__start)#if defined(CONFIG_PLATFORM_SPECIFIC_INIT)
bl z_platform_init
#endif
And that is where I am.
Sometimes it’s best to do a nrfjprog -e
before debugging and then flash your application after it’s been erased. Also sometimes the debugger doesn’t start correctly the first time. Hit the stop button and then start it up again.
Hopefully that should fix it.