Fix char array index error in pwd() function
change memory mapping in FLASH sections
This modification is used to practice gdb operation