Dev Academy Intermediate L2 E2 Step 8 - missing elftools + other problems

I'm having several problems with the Intermediate course, L2_e2. In Step 3 it says that there is 'a bug in coredump_gdbserver.py that causes a crash if building with optimized for debug'. OK that sounds like I'm not to create an optimized build for debug or the lesson wont work.

But surely I have to build optimized for debug, to get the logs, memory explorer etc that I need later in the module ?

Step 3 also says 'Build and Flash'. But Flash doesn't seem to give me any data in the Memory Explorer (Step 5). Looks like I need to 'Build and Debug' for that. But does debug even work without the debug optimizations ? So my first question is does coredump need or not need debug optimizations ?

I've tried a few build combinations but building this stuff takes a very long time and I'm just getting confused.

I eventually got as far as Step 8 - running the second python script (coredump_gdbserver.py) but got "ModuleNotFoundError: No module named 'elftools'" Any ideas ?

I'm using brand new nRF9151dk + latest tools, installed less than a month ago.

Up until this point I have found the training materials to be excellent, and everything works as expected.

Some guidance would be appreciated before I resume the course.

Many thanks in advance for any help you can offer.

Related