my advices are:
1) try Keil/Arm, it comes with a great IDE and a wonderful debugger, all you need for embedded-C!
2) forget AVR8, and any 8 bit MPUs, buy an ARM board compatible with Ulink-2 (Keil debugger)
3) forget complex MPUs, they will only make you frustrated, the same is 2)
4) buy the ucOS/2 book and port it to the ARM board, you can be successfully powered by the KEIL ecosystem, this KERNEL is also well documented and explained in the book and it is easy to be ported, also useful usage