This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

uVision3 hangs when downloading C++ executable

We bought an ADuC7020 QuickStart system.
GNU Compiler translates C++ programs successfully,
but uVision3 hangs when trying to download an executable file into the chip (through Keil ULINK).
Whereas C-programs download normally.

uVision3 hangs even when downloading such simplest program:

struct A
{
virtual void f()=0;
};
struct B : public A
{
virtual void f(){}
};
int main()
{
B b;
A* a = &b;
a->f();
return 0;
}

Thanks.

Dr. Tychinsky.

Parents
  • Yuri,

    Thanks for your pointer regarding the -lstdc++ linker option, I missed it.

    I have tried again your code (actually put it into the blinky example) and it loads and runs fine here. The GNU gcc version used here is 3.3.1. Also, high level debugging works as expected.

    Peter

Reply
  • Yuri,

    Thanks for your pointer regarding the -lstdc++ linker option, I missed it.

    I have tried again your code (actually put it into the blinky example) and it loads and runs fine here. The GNU gcc version used here is 3.3.1. Also, high level debugging works as expected.

    Peter

Children