Content originally posted in LPCWare by MarcVonWindscooting on Sat Feb 08 10:23:57 MST 2014
Hi Kranthi,
sorry for my over-reaction. It was an alleged deja-vu of what I saw when me and my collegue started with LPC1100. First thing he did, try to set up PLL and fail. I did not verify, but I know him, and from his 'nature of failing' he most probably has ended up in massively overclocking the device.
I try to improve by your points 1. and 4. mainly. And I want to add:
6. From time to time, I go right back to the start, to the roots.
7. Know your own deficits
I mean, I start something from scratch, possibly something I did before, but in a different way. I started with ARM-processors by using assembly language. Every new processor (LPC4300 at the moment) gets a few assembly language programs, before I use 'C'.
Knowing my own deficits allows me to write code, that quickly reveals that I've done something wrong and what it is. No one can be trusted less than me, so I know I have to verify everything I do. Using gcc I never compile without -O2 optimization for example.