AnsweredAssumed Answered

Trying to build spin3202 6 step firmware package in Keil and getting " error: 

Question asked by Alex Bondarenko on Jan 24, 2018
Latest reply on Mar 13, 2018 by Grzegorz K

Hello,

Im trying to build the spin3202 6 step firmware package

For some reason the  STSW-SPIN3202 firmware package is missing the pre compiled binaries mentioned in UM2310 section 2.5.2
if I then try to compile Keil project as directed in section 2.5.3.2 of UM2310 I get the following error codes when trying to build the binary (fresh install of Keil and no changes made to the code, instructions followed exactly)

**********************************************************************************************
**********************************************************************************************

*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild Project 'Project_Uart' - Target 'STSPIN32F0A'
compiling stspin32f0.c...
compiling stm32f0xx_hal.c...
compiling STEVAL-SPIN3202.c...
compiling stm32f0xx_hal_adc_ex.c...
compiling stm32f0xx_hal_adc.c...
compiling stm32f0xx_hal_cortex.c...
compiling stm32f0xx_hal_dma.c...
compiling stm32f0xx_hal_flash.c...
compiling stm32f0xx_hal_flash_ex.c...
compiling stm32f0xx_hal_gpio.c...
compiling stm32f0xx_hal_rcc.c...
compiling stm32f0xx_hal_rcc_ex.c...
compiling stm32f0xx_hal_tim_ex.c...
compiling stm32f0xx_hal_uart.c...
compiling stm32f0xx_hal_tim.c...
compiling stm32f0xx_hal_uart_ex.c...
compiling stm32f0xx_hal_usart.c...
compiling UART_UI.c...
compiling 6Step_Lib.c...
compiling main_32F0.c...
assembling startup_stm32f031.s...
compiling stspin32f0_hal_msp.c...
compiling system_stm32f0xx.c...
        pllmull = 
CC->CFGR & RCC_CFGR_PLLMULL;
          prediv1factor = (
CC->CFGR2 & RCC_CFGR2_PREDIV1) + 1;
      
CC->CFGR &= (uint32_t)((uint32_t)~(
CC_CFGR_PLLSRC | 
CC_CFGR_PLLXTPRE | RCC_CFGR_PLLMULL));
      
CC->CFGR |= (uint32_t)(RCC_CFGR_PLLSRC_PREDIV1 | RCC_CFGR_PLLXTPRE_PREDIV1 | RCC_CFGR_PLLMULL6);
      
CC->CFGR |= (uint32_t)(RCC_CFGR_PLLSRC_PREDIV1 | RCC_CFGR_PLLXTPRE_PREDIV1 | RCC_CFGR_PLLMULL6);
      
CC->CFGR |= (uint32_t)(RCC_CFGR_PLLSRC_PREDIV1 | RCC_CFGR_PLLXTPRE_PREDIV1 | RCC_CFGR_PLLMULL6);
RTE\Device\STM32F031C6\system_stm32f0xx.c: 0 warnings, 6 errors
compiling stspin32f0_it.c...
".\Objects\Project_Uart.axf" - 6 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:06
Has anyone come across a solution this problem / found a solution?
Thanks in advance!

Outcomes