Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

A *working* demo of Monitor Mode Debug (MMD) on SDK 15, please?

The zipped project attached to this blog doesn't say what SDK version it should work with - but it certainly doesn't work with v15.

https://devzone.nordicsemi.com/b/blog/posts/segger-embedded-studio-part-2-monitor-mode-debuggi

Having fixed the Include Paths (whose stupid idea was it to make them absolute?!), I can get the source to compile with SDK v15 - but the link fails:

cannot move location counter backwards (from fffffffffffffc00 to 0000000000000000)

The point at which this is flagged is:

__stack_load_start__ = __SRAM_segment_end__ - 1024;
.stack __SRAM_segment_end__ - 1024 (NOLOAD) : AT(__SRAM_segment_end__ - 1024)
{
__stack_start__ = .;
*(.stack .stack.*)
. = ALIGN(MAX(__stack_start__ + __STACKSIZE__ , .), 8);
}

What is wrong, and how to I fix it?

Parents Reply
  • I agree that there is a issue where blogs/tutorials on devzone are not properly maintained. So far we've relied on an "If you publish you maintain it" principle, and although there are cases where this fails, it usually works out fine as long as whoever published the works are still present. Recommendations for improvements on our method of maintainership is more than welcome :)


    As to incorporating blogs/tutorials into our official set of supported works, i.e. Datasheets, SDKs, and https://github.com/NordicSemiconductor, this will likely not happen as the bureaucracy/quality required to do so will add so much to the workload of creating a blog/tutorial that there will simply be less of them. 


    The demand for new supported features is ridiculously high, and we do not have the resources to support everything as well as we'd like. The devzone blog/tutorials and https://github.com/nordicplayground are our way of generating support for features that often do not have a large enough user base to warrant the extra resources required to incorporate them into our "officially supported" domain. 

Children
Related