bigdogguru
Administrator
- Joined
- Mar 12, 2010
- Messages
- 9,821
- Helped
- 2,350
- Reputation
- 4,694
- Reaction score
- 2,272
- Trophy points
- 1,413
- Location
- Southwest, USA
- Activity points
- 62,383
when i want make project,keil ask for add LPC2300.s to project for startup.
Gun gives error from that.
i programmed chip,but that didn't work,also when i debug that whit keil,it stoped onI had the generate HEX file box unchecked.
Attached ReDos
when it asks for add file,i click on yes.without startup code in your project the code would never work on hardware... so add startup code.... and compile and get hex file....
I tried both of them,didn't workIs this hardware or Proteus simulation?
I did that and control didn't come in main()go to disassembly and see the address where it is going wrong..
put a break point on main() line and when you debug run the program.. see if the control comes to main()....
@ bigdogguru.. sorry i was not referring your posts , but was telling OP to add the startup code and try to compile....
but hex file that generate keil,didn't work in proteus(for lpc2132)
and finally the problem solved
in options for target---->target check Use MicrLIB
options for target---->C/C++ check Optimize for time
and the program worked.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?