Working on debugging hardfault