<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/19387/uvision3-hangs-when-downloading-c-executable</link><description> 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</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/153251?ContentTypeID=1</link><pubDate>Sat, 05 Nov 2005 08:15:04 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:90960673-11a8-420f-9ebe-bf3872b68ae6</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;Aha - You&amp;#39;re right!&lt;br /&gt;
The critical bit had gone off the edge of my screen!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/152556?ContentTypeID=1</link><pubDate>Sat, 05 Nov 2005 08:07:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0195d872-983b-4fd5-ae4e-687fce425b68</guid><dc:creator>Yuri Tychinsky</dc:creator><description>&lt;p&gt;This is Peter&amp;#39;s email:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt; Yuri,&lt;br /&gt;
&lt;br /&gt;
Thanks for your pointer regarding the -lstdc++ linker option, I missed it.&lt;br /&gt;
&lt;br /&gt;
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. &lt;b&gt;Also, high level debugging works as expected&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Peter&lt;br /&gt;
&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
I understood that debugging works. But my English is very bad...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/151774?ContentTypeID=1</link><pubDate>Sat, 05 Nov 2005 06:48:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:03568dae-b852-40dd-a47f-d09fac740e6c</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;Peter Holzer wrote, that his uVision allows debuging C++ code&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Did he?&lt;br /&gt;
&lt;br /&gt;
He said he could load &amp;amp; run it - I didn&amp;#39;t see any mention of debugging it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/151045?ContentTypeID=1</link><pubDate>Sat, 05 Nov 2005 04:47:33 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:69979657-9035-48e9-abd2-6cd2a6eee457</guid><dc:creator>Yuri Tychinsky</dc:creator><description>&lt;p&gt;Peter Holzer wrote, that his uVision allows debuging C++ code. See abowe in this discution thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/150534?ContentTypeID=1</link><pubDate>Sat, 05 Nov 2005 03:59:26 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4f821000-44d0-43e2-a67a-a7cda7ada82e</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;In uVision3 I set debug options. With these options C-program are debuging, but C++program not.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Back to my original question, does uVision support C++ debugging?&lt;br /&gt;
&lt;br /&gt;
I thought Keil was a strictly &amp;#39;C&amp;#39; toolset - not C++.&lt;br /&gt;
&lt;br /&gt;
The debugger can always show disassembly, because that is independent of the source language - but it can only give source-level debugging if it understands the source language. I don&amp;#39;t think that uVision understands C++...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/144094?ContentTypeID=1</link><pubDate>Sat, 05 Nov 2005 02:51:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:08b0b1bc-5554-468c-a8d6-0c420631d7c3</guid><dc:creator>Yuri Tychinsky</dc:creator><description>&lt;p&gt;In uVision3 I set debug options. With these options C-program are debuging, but C++program not. Can I see debug information directly from elf-file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/141574?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2005 08:55:14 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e3ec53ac-4aac-438a-abf6-b4cff272d478</guid><dc:creator>Matthias Hertel</dc:creator><description>&lt;p&gt;Does your elf contain debug information?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/138137?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2005 08:44:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3bce2990-a517-4e84-9e9d-c8a8ac767f51</guid><dc:creator>Yuri Tychinsky</dc:creator><description>&lt;p&gt;I downloaded new version of uVision3 (V3.23). Now C++ program downloads into flash, but debuger shows only disassembly, not C++ code. Breikpoints do not work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/141573?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2005 10:27:43 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8ea27755-f419-4fab-8ab9-a86a2c3cc623</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;&lt;a href="https://www.keil.com/update/sw/carm/2.40"&gt;http://www.keil.com/update/sw/carm/2.40&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/138139?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2005 10:25:53 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f35200fc-1fb1-4a7a-b11d-a5525140e168</guid><dc:creator>Yuri Tychinsky</dc:creator><description>&lt;p&gt;Sorry, Reinhard.&lt;br /&gt;
&lt;br /&gt;
What version of CARM works with C++?&lt;br /&gt;
&lt;br /&gt;
And where in Help About dialog can I see version of CARM? Word CARM is not presented there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/138138?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2005 10:21:20 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:32a109e3-e022-4455-bae7-c8c45e8ca23f</guid><dc:creator>Yuri Tychinsky</dc:creator><description>&lt;p&gt;Thanks, Reinhard.&lt;br /&gt;
&lt;br /&gt;
Soon i will download updates.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/134679?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2005 09:39:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:604e170c-98c6-4f6a-a06c-75996305d1b5</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;Please download from &lt;a href="http://www.keil.com/demo"&gt;http://www.keil.com/demo&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/123047?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2005 09:32:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b81be419-7b28-4360-bc48-002ae411dd5f</guid><dc:creator>Gp F</dc:creator><description>&lt;p&gt;Yuri,&lt;br /&gt;
&lt;br /&gt;
Yes, it is outdated, you should update your software.&lt;br /&gt;
&lt;br /&gt;
Peter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/111786?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2005 09:15:53 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:38283835-914f-434c-b6a3-913c956312eb</guid><dc:creator>Yuri Tychinsky</dc:creator><description>&lt;p&gt;Thanks, Peter.&lt;br /&gt;
&lt;br /&gt;
But what is the problem?&lt;br /&gt;
&lt;br /&gt;
I wrote my toolset version. Maybe it is outdated?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/123035?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2005 09:11:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1250287e-8968-496d-8423-e89a0df113f9</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;You should update the uVision version to the current release.  Please download from &lt;a href="http://www.keil.com/demo"&gt;http://www.keil.com/demo&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/111785?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2005 09:07:25 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ad838c18-7917-4f40-ba24-5360e744f116</guid><dc:creator>Yuri Tychinsky</dc:creator><description>&lt;p&gt;This is my Help About dialog:&lt;br /&gt;
&lt;br /&gt;
uVision 3 V3.05&lt;br /&gt;
&lt;br /&gt;
C Compiler	ARM-ELF-GCC.Exe&lt;br /&gt;
Assempler	ARM-ELF-AS.Exe&lt;br /&gt;
Linker/Locator	ARM-ELF-GCC.Exe&lt;br /&gt;
Librarian	ARM-ELF-LIB.Exe&lt;br /&gt;
Hex Converter	ARM-ELF-OBJCOPY.Exe&lt;br /&gt;
CPU DLL		SARM.DLL 	V1.21b&lt;br /&gt;
Dialog DLL	DARMAD.DLL	V1.03a&lt;br /&gt;
Target DLL	BIN\UL2ARM.DLL	V1.04b&lt;br /&gt;
Dialog DLL	TARMAD.DLL	V1.03&lt;br /&gt;
&lt;br /&gt;
What is CARM version I don&amp;#39;t understand.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/97620?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2005 05:10:21 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9c7a4097-476a-449b-b18e-03c0641bba8b</guid><dc:creator>Gp F</dc:creator><description>&lt;p&gt;Yuri,&lt;br /&gt;
&lt;br /&gt;
Thanks for your pointer regarding the -lstdc++ linker option, I missed it.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Peter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/97616?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2005 04:48:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2b45212b-1b4d-47e1-a3c1-f81a90877782</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;The version numbers are shown in the Help - About dialog.&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/111782?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2005 04:38:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bc770f23-b3e4-4d5c-9f52-4651f9156de8</guid><dc:creator>Yuri Tychinsky</dc:creator><description>&lt;p&gt;I use GCC toolset (arm-elf-gcc). Or I don&amp;#39;t understand what is CARM toolset. Where can I to see CARM version?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/73601?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2005 04:32:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0786980c-39dc-4c74-93fe-c8c8cf81ecd8</guid><dc:creator>Yuri Tychinsky</dc:creator><description>&lt;p&gt;To link C++ code with GCC set -lstdc++ option.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/44985?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2005 03:34:49 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a3220cce-929a-4511-9ee7-6890b73cd929</guid><dc:creator>Gp F</dc:creator><description>&lt;p&gt;I have tried your code with RealView 2.2, loading and running it successfully in the uVision simulator. Since the ELF/DWARF loader is the same for sim and target, there must be something different.&lt;br /&gt;
&lt;br /&gt;
I failed doing the same with the GNU toolset.  The linker always complains about undefined vtable/typeinfo reference(s):&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;
.\obj\blinky.o(.gnu.linkonce.r._ZTI1A+0x0):
   /cygdrive/c/Keil/ARM/GNU/Examples/Blinky/blinky.cpp:14:
   undefined reference to &amp;#39;vtable for __cxxabiv1::__class_type_info&amp;#39;
&lt;/pre&gt;
&lt;br /&gt;
Peter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/97619?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2005 00:32:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f5d574a9-8d09-4218-b497-fe6481e2313b</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;Which version of the CARM toolset are you using?&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/73602?ContentTypeID=1</link><pubDate>Tue, 01 Nov 2005 10:54:18 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0941a819-5f1b-4a8e-9df5-7e36381b541f</guid><dc:creator>Yuri Tychinsky</dc:creator><description>&lt;p&gt;I thought it does. But now I have some doubt.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision3 hangs when downloading C++ executable</title><link>https://community.arm.com/thread/44981?ContentTypeID=1</link><pubDate>Tue, 01 Nov 2005 10:19:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:24a0cffd-191b-4144-b40e-48f718cd6b6b</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;Does UV3 support C++ ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>