Hello Phil, Gary, Vector Table Offset (i.e. value configured in VTOR) needs to be 32-word aligned (i.e. 128-byte aligned) - the lowest 7 bits in VTOR are unused. ThreadX Threads use process stack while the application at the reset vector uses main stack - hence it's necessary to call __set_CONTROL(0) in order to explicitly switch to using main stack. Regards
↧