We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
in my project I am try to jump 0x8002000 address . but I am facing some failure,
int main(void){/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */HAL_Init();
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */SystemClock_Config();
/* USER CODE BEGIN SysInit */
/* USER CODE END SysInit */
/* Initialize all configured peripherals */MX_GPIO_Init();/* USER CODE BEGIN 2 *///myFunction();jumpToAddress(0x8002000);
/* USER CODE END 2 */
/* Infinite loop *//* USER CODE BEGIN WHILE */while (1){/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */}/* USER CODE END 3 */}
this is my main function.
this image is my .map file for my project.
I am try to jump 0x8002000 address my project shown ,
this output. so kindly help to me.
thanks
It is very difficult to follow the code above.
I don't understand why you have relocated the vector table based on the jump address?
SCB->VTOR = address;
You should step through the code at a disassembly level to understand how the code gets to the 0x22006012 address.