If you are getting errors hardware or software on Lpcxpresso and Keil arm i m here to debug it for you
I am having lpc1114 ::LPCexpresso kit... but unable to do coding with "KEIL" guide me Siddhath.. steps to do code in KEIL today I am using Code RED software "Develop" on Windows platform.
For Code Red LPCXpresso:
1. File->Import select "Existing Projects in the Workspace"
2.Select from Archive
3.Go to X:\nxp\LPCXpresso_4.0.6_152\lpcxpresso\Examples\NXP\LPC1000\LPC11xx
4.Select Archives CMSISv1p30_LPC11xx and CMSISv2p30_LPC11xx necessary for making your own projects
5. for examples include other archives
6.edit main file in your project's source folder and build it
For Keil:
I would highly recommend you to do coding job in Keil as it is more user freindly and have got a great offline debugger.
Steps of creating and debugging your program of LPC1114FBD48/301,1LPC1114FBD48/301,1 in Keil
1. make a new project select LPC1114FBD48/301,1LPC1114FBD48/301,1 as uC in your choice
2. include lpc11xx.h into your main file
3. download a user manual and make your own codes for peripherals or search the examples with your LpcXpresso
4. whenever you compile your program you get .axf file to download it via lpclink into your lpcxpresso open it via program flash in the toolbar of code red lpcxpresso(its the only way if you want to code in keil).
5. to debug your code in keil while running on LPCXpresso right click on your project's folder in Code Red LpcXpresso and select import and then select the C/C++ executables and select the .axf file created by Keil and don't forget to "select your made project" instead of "create new project".
6. and final setting and you are ready to go right click the project (Code red) select Launch Configuration-> Create Launch configuration and browse your .axf(Keil) file
select "disable auto build".
7. now select debug and you are ready to go.
to use debugger of keil click the little magnifying glass in the toolbar above
hi sid,
the solution you have provided is really good and it worked for flashing in LPCXpresso.
but in the 5th step, you said that "right click on project's folder in Code Red LpcXpresso", but my problem is that i am not able to import the uc/os project which was made using keil uvision.
so i am unable to debug now.
please help me...
1. it is a kind of tweak what i meant to say is that the project need not to be yours( it can be any project/example but .axf imported should be yours that is what matters and the step 6:do it carefully) it is kind of making lpcxpresso IDE fool. it will think it is debugging the dummy project but it will actually debug yours. it definitely works check it out.
Hello mr. Purohit.
My question does not exactly point to LPC Xpresso or Keil, but it does touch them.
I'd like you to have a look at my thread ->here<-
Hi all,
I am trying to convert Adam Dunkel's uIP project from Keil IDE to Eclipse Ganymede using GCC.
The whole project compiled an d there is no compiation errors but it doesn't work the uIP but other peripherals seem to work fine.
Any idea??
Thanks in Adavance
Chris