| Author |
Message |
|
|
Posted: Jun 22, 2007 - 04:01 AM |
|


Joined: Mar 16, 2006
Posts: 55
Location: Urbana, Illinois
|
|
I just got my EVK1100, and am messing with the "Control Panel" project. It compiles fine, but when I go to debug (Alt-Shift-D C) I get "Executing: cmd.exe /C -t localhost:4712 -a localhost:1024 -cUSB:00A000000B30 -p0x80000000 -finternal@0x80000000,512kB (nowait)
'-t' is not recognized as an internal or external command,
operable program or batch file.
Process failed with code 1. See the process console for details.
Done in 1531ms.
"
Obviously, the debug command is malformed, but, being new to both this debugger, and to Eclipse in general, I have no idea how to fix it.
Can anyone point me in the right direction?
Daddo |
|
|
| |
|
|
|
|
|
Posted: Jun 22, 2007 - 07:59 AM |
|


Joined: Aug 07, 2006
Posts: 300
Location: Trondheim, Norway
|
|
First find the "launch configuration" used. It's found under "Run, Run..." in the main menu. Select the configuration you're using then go to the "Debugger" tab page and type in "avr32gdbproxy" in the "GDB proxy" field. Apply the settings.
Was this a project created with the beta release and you're now using the 1.0 release or release candidate? |
|
|
| |
|
|
|
|
|
Posted: Jun 22, 2007 - 04:28 PM |
|


Joined: Mar 16, 2006
Posts: 55
Location: Urbana, Illinois
|
|
I'm using the project workspace fresh out of the file "AT32UC3-SoftwareLibrary-1.0.0.zip", downloaded from Atmel, and the 1.0.2 release of AVR32 Studio, as recently downloaded from Atmel, and installed after un-installing an earlier version. I can't say under what version the project was created, but expect a beta one. The "GDB proxy" field was (originally) blank in all of the various named branches of the "AVR32 Applications" tree.
More information as I get it....
Daddo |
|
|
| |
|
|
|
|
|
Posted: Jun 22, 2007 - 06:55 PM |
|


Joined: Jan 07, 2003
Posts: 4580
Location: Oslo, Norway
|
|
| Uninstall the AVR32 Gnu Toolchain and AVR32 Studio. Delete the c:\cygwin (or appropriate for your install) and then reinstall the latest toolchain and AVR32 Studio. |
|
|
| |
|
|
|
|
|
Posted: Jun 22, 2007 - 08:49 PM |
|


Joined: Mar 16, 2006
Posts: 55
Location: Urbana, Illinois
|
|
hce:
I've already done that,as I said. I had to un-install the beta (AVR32DevelopmentTools.exe) to install first release (AVR32DevelopmentTools-1.0.exe), and then un-install that to install the relese (AVR32DevelopmentTools-1.0.2.exe), and I also used "Help/Software Updates/Search for Updates" to update the last install (1.0.2). A check of the AVR32 Studio
Environment shows:
avr32program: Found version 2.2.2 (OK)
avr32gdbproxy: Found version 2.2.0 (OK)
avr32-gdb: Found version 6.4.atmel.1.0.1 (OK)
avr32-g++: Found version 4.1.2.atmel.1.1.0 (OK)
avr32-gcc: Found version 4.1.2.atmel.1.1.0 (OK)
avr32-as: Found version 2.17.atmel.1.1.1 (OK)
Given that information, do you still recommend that I un-install/re-install all the software? If so, may I know the reason?
JimT |
|
|
| |
|
|
|
|
|
Posted: Jun 22, 2007 - 11:21 PM |
|


Joined: Aug 07, 2006
Posts: 300
Location: Trondheim, Norway
|
|
I don't think you need to reinstall. It seems that your toolchain and AVR32 Studio is in order. Did you attempt to set the value as explained in my post above? That should fix it.
I'm suspecting that the workspace you're mentioning was created with the beta which is causing problems since there are some options introduced in 1.0 final not being set in the launch configuration. |
|
|
| |
|
|
|
|
|
Posted: Jun 23, 2007 - 01:07 AM |
|


Joined: Mar 16, 2006
Posts: 55
Location: Urbana, Illinois
|
|
torkildr:
Yes, that did correct the primary issue (sorry, I was having so much fun debugging, I forgot to respond!). For most of the examples I have tried (ADC, cycle_counter, gpio) it has been neccissary to re-compile, in order to have the proper line high-lighted during debug.
Is this normal in Eclipse? (I suspect that, just before it was zipped up, the code was changed in a different location, and copied to the zipped directory, while the pre-existing ELF files remained. Thus, the source code fails to match the debug line numbers (e.g.), leading to strange appearences.)
Control-Panel seems to be a primary example of the high-light going to the wrong line, or the code follower going into a function, even though I press F6. I'm still trying to quantify that problem.
JimT |
|
|
| |
|
|
|
|
|
Posted: Jun 23, 2007 - 11:08 AM |
|


Joined: Aug 07, 2006
Posts: 300
Location: Trondheim, Norway
|
|
Ok, good You should probably do a "clean" build when just getting started then build again as you go along. If the problem persists you may want to try the "internal" builder instead of using managed make. Which builder to use can be specified in the project properties. |
|
|
| |
|
|
|
|
|