Skip to main content
adibacco9
Associate
September 17, 2015
Question

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

  • September 17, 2015
  • 2 replies
  • 846 views
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
This topic has been closed for replies.

2 replies

Nesrine M_O
Associate
September 18, 2015
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
September 18, 2015
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?