Call Stack _unhalted_exception

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess

dblokhin
Posts: 2
Joined: Fri Apr 05, 2019 1:56 pm

Call Stack _unhalted_exception

Postby dblokhin » Fri Apr 05, 2019 2:10 pm

Hello, I'm trying to use Cortex Debug in VS Code, but i have the following problem, it's only can be fixed by adding -lc -spec=nosys.specs in Makefile. But it's not a solution for me, because in that case "memset" function works incorrect.
Image

Have you any idea what it could be? Thank you.

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Call Stack _unhalted_exception

Postby Giovanni » Fri Apr 05, 2019 2:28 pm

Hi,

Which compiler are you using?

Giovanni

dblokhin
Posts: 2
Joined: Fri Apr 05, 2019 1:56 pm

Re: Call Stack _unhalted_exception

Postby dblokhin » Fri Apr 05, 2019 2:48 pm

arm-none-eabi-gcc

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Call Stack _unhalted_exception

Postby Giovanni » Fri Apr 05, 2019 3:25 pm

dblokhin wrote:arm-none-eabi-gcc


Is it the one from ARM or some other source?

You may try to compile ChibiOS demos using Makefiles and see if everything is fine. Take note of all settings and options printed by the make process because you need to replicate those in the VS build system.

Giovanni

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Call Stack _unhalted_exception

Postby Giovanni » Sun Jun 30, 2019 8:40 am

Moving in generic support.

Giovanni


Return to “General Support”

Who is online

Users browsing this forum: No registered users and 35 guests