Hi,
Can someone please suggest me embedded software architecture to be followed for programming any 16 bit or 32 Micro controller. Right now i am programming in a random manner as per requirements and the requirements keep changing and code is becoming complex and becoming difficult to debug in case of issues. I want to program as per some sequence like
a. As soon as power on what actions i have to do. b. how to initialize the ports, interrupts. Can somebody please suggest me some methods or books so that coding becomes easy. I also want to know when to use critical sections. Please help.
Can someone please suggest me embedded software architecture to be followed for programming any 16 bit or 32 Micro controller. Right now i am programming in a random manner as per requirements and the requirements keep changing and code is becoming complex and becoming difficult to debug in case of issues. I want to program as per some sequence like
a. As soon as power on what actions i have to do. b. how to initialize the ports, interrupts. Can somebody please suggest me some methods or books so that coding becomes easy. I also want to know when to use critical sections. Please help.