Sysprogs forums › Forums › VisualGDB › Creating project for at91sam7
- This topic has 10 replies, 3 voices, and was last updated 11 years, 4 months ago by bremen.
-
AuthorPosts
-
July 17, 2013 at 21:39 #589bremenParticipant
Hello there,
I have encountered a problem when creating a project for embedded device at91sam7x256. At the stage where i am supoosed to choose debug method i see none so i click “install support for additional debug methods” hoping there will be open-ocd or jlink installed. After clicking it im getting a message that there are no additional packages avaible for my target and i need to constact support if i need one.Has anyone had this problem before?
July 18, 2013 at 03:47 #2480supportKeymasterHi,
Which toolchain are you using? Please use our arm-eabi toolchain (it is installed automatically when selected on the toolchain page). Please also note that OpenOCD/J-Link is available starting from VisualGDB 4.0 and won’t work on 3.x.
July 18, 2013 at 05:44 #2481bremenParticipantI have the nevest app and i have installed the toolchain
July 18, 2013 at 16:02 #2476supportKeymasterCan you please create a new project with the default debug method (e.g. GDB simulator) and send us the created files? This will help us analyze your problem and suggest a solution.
Additionally could you please check your firewall settings? Visual Studio process needs to have internet access in order to download additional packages. If this is not possible, we can provide you with instructions on manually downloading and installing those packages.
July 18, 2013 at 17:32 #2477bremenParticipantI cant do anything, firewall and antivirus is off.
(see attachements)
July 18, 2013 at 18:55 #2478ketParticipantHi,
Based on your screenshots, you are still using version 3.x VisualGDB, please install the latest 4.0 beta from the download page at http://visualgdb.com/download/.
July 18, 2013 at 19:05 #2479bremenParticipantYes weverythings good now. Thank you :).
July 19, 2013 at 07:44 #2475bremenParticipantActually it doesnt work…
I cant build the sample code provided. Here are my errors:Error 1 error : 'for' loop initial declarations are only allowed in C99 mode A:Dropboxprogramowanievisual_gdbEmbeddedProject1EmbeddedProject1LEDBlink.c 8 3 EmbeddedProject1
Error 2 error MSB3073: The command ""C:Program Files (x86)SysprogsVisualGDBVisualGDB.exe" /build "A:Dropboxprogramowanievisual_gdbEmbeddedProject1EmbeddedProject1EmbeddedProject1.vcxproj" "/solution:A:Dropboxprogramowanievisual_gdbEmbeddedProject1EmbeddedProject1.sln" "/config:Debug" "/platform:Win32"" exited with code 1. C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.MakeFile.Targets 38 6 EmbeddedProject1
Could you please also aid me with this?
July 19, 2013 at 15:51 #2472ketParticipantHi,
That is a difference between c and c++, and a bug of 4.0. Either rename the file LEDBlink.c to LEDBlink.cpp or move the loop variable declaration before the loop initialization as follows:
int i; for (i = 0; i < 1000000; i++)
July 19, 2013 at 16:02 #2473bremenParticipantActually i havent noticed that, why didnt compiler tell me?
Thank you gonna come bqck here after i change it.July 22, 2013 at 04:03 #2474ketParticipantHi,
The error message “error : ‘for’ loop initial declarations are only allowed in C99 mode” tells that in the current mode loop initial declarations are not allowed. The compiler sets the compilation mode based on the file endings.
-
AuthorPosts
- You must be logged in to reply to this topic.