Posted on December 08, 2016 at 17:50
I'm trying to jump from an application to the DFU
System Memory Bootloader.
According toAN2606 this should work with my processor and the System Memory should start at address0x1FFFC800.
I'm using an e...
Posted on December 13, 2016 at 08:31
Thanks. But still no luck.
void (*SysMemBootJump)(void);
void SystemInit(void)
{
if ( *((unsigned long *)0x20003FF0) == 0xDEADBEEF ) {
*((unsigned long *)0x20003FF0) = 0xCAFEFEED; // Reset our trigger
/* En...
Posted on December 13, 2016 at 08:04By the way: The STM32F070xB/6 have a dedicated BOOT0 pin. I think it's not possible to enable a pull-up.But because I can't even enter the Bootloader on the NUCLEO-F070RB when connecting the BOOT0 pin with 3.3V I ...
Posted on December 12, 2016 at 08:43
I checked yourcode and 'ported' it to the HAL.
/* Enable the SYSCFG peripheral clock*/
//RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG, ENABLE);
RCC->APB2ENR |= RCC_APB2ENR_SYSCFGCOMPEN;
/* Remap ROM at 0...
Posted on December 12, 2016 at 07:08Thanks, I also saw 16MHz missing on the page but one page later ST writes 16 MHz is valid for DFU. I also had the problem you described with the Nucleo-F070RB. Using Vcc on BOOT0 pin did not lead to DFU mode. I al...