can any1 post me coding guidelines to be followed when writing c program in embbedded........is there any standards to be followed............i would also appreciate if you can send me sum info on memory mapping stuff
Look up MISRA, the 'Motor Industries Software Reliability Association' It is a list of rules to be followed for reliable software. Get a Version of 'LINT' and set it up to check for MISRA rules.
Then do static analysis on your code.
Take a look at the Firmware Standard Manual from embedded muse Ganssle in attachment, he wrote also a lot of good articles on commenting, test memory, etc www.ganssle.com