Jump to content
Sign in to follow this  
sohail288

Can't manage to start a new project in keil (win 8.1, Launchpad)

Recommended Posts

I just can't manage to start a new project in Keil. I took and completed the edx course offered by valvano, however I realized that we were never taught how to program completely from scratch.  Even though I managed to create a 5 key piano toy, I am not able to start a simple empty while loop project in keil. 

 

These are the steps that I undertake after watching various tutorials and such.

 

Open Keil.  -->project-->new project (name project, select tm4c123gh6pm, copy startup files to project).  I now have a project that looks like,

 

\target1

...\source group

........startup_TM4C123

 

Now I right click on target 1, add a new group.  I name this group main.  Okay, now I right click on source group, and click add existing file.  I navigate to ARM/startup/ti/tm4c123g/system_TM4C123 and i copy this file to my project.

 

I now create my main.c file in the main group.

 

project directory looks like this now,

\target1

....\source group

........startup_tm4c123

........system_tm4c123

....\main

........main.c

 

I go ahead and define my main function as,

int main(void){ while(1){}}

 

I try to compile...and i get *** error 65: access violation at 0x400FE070 : no 'write' permission in the command window.  

 

Can someone give me a definitive method on starting a new project.  I feel pretty dumb right now.  Thanks.

 

Share this post


Link to post
Share on other sites

I've found that if I don't include -dLaunchPadDLL in the Dialog dll box located in the debug tab of target options, the debugger acts strangely and in some cases does not work.  With the inclusion of -dLaunchPadDLL, there seems to be no problem.

 

I don't understand why it's working now so for now I'll take it as is.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×