karlis77

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: No executable file specified error #13368
    karlis77
    Participant

    It was built. Anyway I made a new project and everything works now. I do not know what was the cause of this. Maybe it has something to do with directory.

    in reply to: Error finishing flash operation #12940
    karlis77
    Participant

    Ok, nvm I solved the issue.

    There was hardware bug regarding the Reset signal or MCU

    in reply to: Error finishing flash operation #12936
    karlis77
    Participant

    I found the linker script but I do not have much idea what to do with it.  The flashmemory address and length is shown correctly.

    I am not sure about _estack address..

     

    in reply to: Problems with building project after update #12804
    karlis77
    Participant

    Ok, I think I just found the solution:

    Had to click: Rebuild MSBuild & IntelliSense files for toolchain

    karlis77
    Participant

    Ok I will try that.

    How to update the VisualGDB? Should I just download it from http://visualgdb.com/download/ ?

    in reply to: Target MCU definition #7953
    karlis77
    Participant

    Thanks for answer.

    I can’t seem to find this “Regenerate MCU files” button.  This is how the window appears to me.

    in reply to: Target MCU definition #7816
    karlis77
    Participant

    When I make a project with STM32F051R8  then in  STM32f0xx.h file it is highlighted that STM32f051R8 is selected and everything is fine.

    When I make project with STM32F030CC then in STM32f0xx.h file it is highlighted that STM32F030 is selected and I can’t access features which STM32f030cc has.

    I uploaded 2 pictures below so you can see what I mean.

    STM32F030CC

    STM32F051R8

    in reply to: Target MCU definition #7808
    karlis77
    Participant

    I updated BSP to V3.5, but it still does not work.

    This is stm32.mak file of the project

     

    #This file is generated by VisualGDB.
    #It contains GCC settings automatically derived from the board support package (BSP).
    #DO NOT EDIT MANUALLY. THE FILE WILL BE OVERWRITTEN.
    #Use VisualGDB Project Properties dialog or modify Makefile or per-configuration .mak files instead.

    #VisualGDB provides BSP_ROOT and TOOLCHAIN_ROOT via environment when running Make. The line below will only be active if GNU Make is started manually.
    BSP_ROOT ?= $(LOCALAPPDATA)/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32
    EFP_BASE ?= $(LOCALAPPDATA)/VisualGDB/EmbeddedEFPs
    TOOLCHAIN_ROOT ?= C:/SysGCC/arm-eabi

    #Embedded toolchain
    CC := $(TOOLCHAIN_ROOT)/bin/arm-eabi-gcc.exe
    CXX := $(TOOLCHAIN_ROOT)/bin/arm-eabi-g++.exe
    LD := $(CXX)
    AR := $(TOOLCHAIN_ROOT)/bin/arm-eabi-ar.exe
    OBJCOPY := $(TOOLCHAIN_ROOT)/bin/arm-eabi-objcopy.exe

    #Additional flags
    PREPROCESSOR_MACROS += ARM_MATH_CM0 STM32F030CC stm32_flash_layout STM32F030
    INCLUDE_DIRS += . $(BSP_ROOT)/STM32F0xxxx/STM32F0xx_StdPeriph_Driver/inc $(BSP_ROOT)/STM32F0xxxx/CMSIS_StdPeriph/Device/ST/STM32F0xx/Include $(BSP_ROOT)/STM32F0xxxx/CMSIS_StdPeriph/Include $(BSP_ROOT)/STM32F0xxxx/CMSIS_StdPeriph/RTOS
    LIBRARY_DIRS +=
    LIBRARY_NAMES += compactcpp
    ADDITIONAL_LINKER_INPUTS +=
    MACOS_FRAMEWORKS +=
    LINUX_PACKAGES +=

    CFLAGS +=
    CXXFLAGS +=
    ASFLAGS +=
    LDFLAGS +=
    COMMONFLAGS += -mcpu=cortex-m0 -mthumb
    LINKER_SCRIPT := $(BSP_ROOT)/STM32F0xxxx/LinkerScripts/STM32F030CC_flash.lds

    in reply to: Target MCU definition #7806
    karlis77
    Participant

    BTW, I just updated my Visual GDB, but it did not update the BSP. It is still version 3.3, and when I choose STM32F030CC for new project, there still is a STM32F030 in the end of preprocessor macros instead of STM32fF030CC

    in reply to: Target MCU definition #7804
    karlis77
    Participant

    <h5>I checked the stm32.mak file and it differs from the line you wrote. Here is mine:
    PREPROCESSOR_MACROS += ARM_MATH_CM0 STM32F030CC stm32_flash_layout STM32F030</h5>
    <h5>
    If I change the STM32F030 to STM32F030CC in the end of line it still does not work.</h5>
    I guess I am using BSP version 3.3, because this is what I found in BSP file.
    <PackageVersion>3.3</PackageVersion>

    Yes, this same problem happens when I create a new project with this model. It does not happen when I choose STM32F051R8 for example.

    • This reply was modified 8 years, 8 months ago by karlis77.
Viewing 10 posts - 1 through 10 (of 10 total)