SparkFun Forums 

Where electronics enthusiasts find answers.

Everything with the AmbiqSuite SDK tools and software are welcome here.
User avatar
By SidPrice
I am developing an application for Apollo3 using the EVB. I have VSCode and CortexDebug set up and I am able to debug the example projects I have tried. For my own project I need FreeRTOS so I have set that up and created my first task. The issue I face is that when GDB hits a breakpoint in the task and attempts to read the stack frame info it throws an internal error and exits:
Code: Select all
reakpoint 2, LedTask (pvParameters=<optimized out>) at ./src/led_task.c:273
273	        if (bitSet != 0)
/tmp/jenkins/jenkins-GCC-7-build_toolchain_docker-775_20180622_1529687456/src/gdb/gdb/inline-frame.c:167: internal-error: void inline_frame_this_id(frame_info*, void**, frame_id*): Assertion `frame_id_p (*this_id)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? 
(y or n) [answered Y; input not from terminal]
I have manually entered the same commands sent by CortexDebug and I see the same error when accessing stack frame information. Does anyone have any idea what is happening and how I can work around it.
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]