Discussion in "ARM Development" started by    bonois_dailleurs    Aug 22, 2010.
Tue Aug 31 2010, 03:58 pm
#11
really i don't know what to say !! (thank you it's working now )

but i'm asking my self a question , is there any relation between the fact that my code didn't work and the startup code (lpc2300.s)
because i copied the source file (.c) into a new project that i've created and it didn't work

i think i should for my next works keep your startup file and juste add files (.c)to be sure that the software is not the source of problem

i will be always happy if you give me your e_mail adress so that we can keep contact , and thank you million times for helping me !!!
Wed Sep 01 2010, 05:09 pm
#12
it's really amazing , now it's working
but please tell me do you think that there is any relation between the fact that my progam didn't work and the startup code (file.s)
because when i added the file.c took from your project to a new project that i've created it didn't work ...
now and for my next programs i think i will keep your project and work on , by adding juste "files .c"

thank you for helping me
Wed Sep 01 2010, 08:33 pm
#13
well lpc2300.s is the startup file for LPC23xx series and is added by compiler (keil) when you create a new project. However you have to say yes to the prompt when keil ask you for adding this file.

lpc2300.s has the boot code for LPC23xx series controller. You can configure those values by opening that file and go to configuration wizard for an easy configuration. Your controller will become dead if you do not configure startup file properly. and choose all the values in startup file wisely.

edit: I am always available on this website you can PM me anytime. we will be in touch


[ Edited Wed Sep 01 2010, 08:34 pm ]
Sun Jun 05 2011, 12:58 pm
#14
i am also facing the same problem.
the reason i dont know.
i have same code example of lpc23xx timer interrupt,but its not getting simulated.
i have copied the keil project example given by you,it is working fine..
both are looking same..
is there any pre setting that must require to configure... ??

IF i debug it step by step...it stucks in to while(1)..& port2.0 value always 0.

i am attaching screen shot of my simulation for your reference.
Mon Jun 06 2011, 12:59 pm
#15
only thing matter in timers is:
1. Proper clock settings
2. timer values
3. IRQ handling if using it.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am