enabled uart console and bugfix in flash

enabled uart console on P1(without POWER SAVING)
bugfix in flash memory access