Gast
#3278905
Ich musste mein Programm leider auf eine andere IDE portieren, dabei ist wohl leider einiges schief gelaufen. Ich kann zwar in den anderen Speicherbereich springen, aber das Programm friert dann direkt ein. Das deutet wohl auf falsche Übergabe der Vector Table hin. Hier mal mein Code, der eigentlich auch nur Standard Programmcode ist: typedef void (*pFunction)(void); pFunction Jump_To_Application; uint32_t ApplicationAddress; uint32_t JumpAddress; uint32_t VectTabOffset; JumpAddress = *(__IO uint32_t*) (ApplicationAddress + 4); Jump_To_Application = (pFunction) JumpAddress; NVIC_SetVectorTable(NVIC_VectTab_FLASH, (uint32_t)VectTabOffset); __set_MSP(*(__IO uint32_t*) ApplicationAddress); Jump_To_Application(); Was mache ich falsch?