2015-09-17 02:19 PM
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-iap2015-09-18 02:30 AM
Hi di_bacco.antonio,
Thanks for sharing your Application in our forum, it may be very helpful for Community users. -Syrine –2015-09-18 03:44 AM
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?