cancel
Showing results for 
Search instead for 
Did you mean: 

In Application Programming using Cube MX, AC6 System workbench for nucleo stm32f103rb

adibacco9
Associate
Posted on September 17, 2015 at 23:19

Have a look to this repository if you need an In Application Programming (UART based) that uses Cube MX, AC6 System Workbench. 

https://github.com/antonio-dibacco/iap_nucleo_stm32f103_cubemx

#cube-mx-ac6-system-workbench-iap
2 REPLIES 2
Nesrine M_O
Lead II
Posted on September 18, 2015 at 11:30

Hi di_bacco.antonio,

Thanks for sharing your Application in our forum, it may be very helpful for Community users. 

-Syrine –

e1369008
Associate II
Posted on September 18, 2015 at 12:44

Thanks for the code. Can you please tell me why is this code in main.c?

if
((((*(__IO uint32_t*) APPLICATION_ADDRESS ) & 0x2FFE0000) == 0x20000000) && 0) {
/* Jump to user application */
JumpAddress = *(__IO uint32_t*) (APPLICATION_ADDRESS + 4);
JumpToApplication = (pFunction) JumpAddress;
/* Initialize user application's Stack Pointer */
__set_MSP(*(__IO uint32_t*) APPLICATION_ADDRESS);
JumpToApplication();
}
else
{
Main_Menu();
}

Is this condition always false or I'm not seeing something?