This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3100BOOST: CC3100BOOST, STM32F407-discovery and Keil

Part Number: CC3100BOOST
Other Parts Discussed in Thread: CC3100, CC3100SDK

Hi everybody!

I have CC3100BOOST, STM32F407-discovery and development tool Keil.

Could You tell me please, where can I find the working example project for CC3100 for STM32 MCU for Keil?

ThankYou!

  • Hi Dmitry,

    I don't think that more than example in CC3100 SDK ( \cc3100-sdk\platform\stm32discovery\ ) and this Wiki page ( processors.wiki.ti.com/.../CC31xx_&_STM32F4_Bringup_Guide ) is available.

    Jan
  • I downloaded IAR, opened the example CC3100 SDK ( \cc3100-sdk\platform\stm32discovery\......getting_started_with_wlan_station, pressed on the keyboard F7, but there were a lot of errors in the message window of the IAR.

    A lot of header files  of stm are not opened!

    I can't find in Internet files: stm32f4_discovery.h, stm32f407xx.h, stm32f4xx_hal.h

    What is wrong? 

    Thank You!

  • I understood with header files, but where can I find CC3100_STM32F4_Add_On for coping to the SDK folder?
    Thank You!
  • Hi Dmitry,

    Sorry I am not experienced with this platform. Can you insert errors from IAR here? Maybe is mandatory full version of IAR...

    Jan
  • From "STM32Cube" folder I copied the folder "Drivers" to folder "stm32discovery" in CC3100SDK..., pressed F7 and all old errors about not opening were disappered.
    But there are a lot of errors in file "stm32f407xx.h", the error [Pe101].

    For example: "Error[Pe101]: "NonMaskableInt_IRQn" has already been declared in the current scope (at line 143 of "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\stm32f4xx.h") C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h 87


    " and so on.
    What I need to do?
    Thank You!

  • I start using the evaluation version of IAR for 30 days from today (not IAR version with maximum sixe of code 32K)

  • All previous problems I solved, but there are another while making project (pressed F7):

    Error[Li005]: no definition for "_SlDrvHandleGeneralEvents" [referenced from C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\example_project_iar\getting_started_with_wlan_station\Debug\Obj\driver.o]

    Error[Li005]: no definition for "APBPrescTable" [referenced from C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\example_project_iar\getting_started_with_wlan_station\Debug\Obj\stm32f4xx_hal_rcc.o]

    I can't see in what files errors are situated.

    What must I do?

    Thnak You!
  • Hi everybody!
    Tell me please, where can I download "CC3100_STM32F4_Add_On", which is described in Wiki page processors.wiki.ti.com/.../CC31xx_&_STM32F4_Bringup_Guide ?

    When I pressed on the string "STM32F4 Add On Package for CC3100SDK" in this wiki page, the page "Discovery Adaptor Board for SimpleLink Wi-Fi CC31XX BoosterPack Plug-In Module" was opened, but wasn't opened page with software "STM32F4 Add On Package for CC3100SDK".

    What must I do?

    Thnak You!
  • Hi Dmitry,

    Examples for STM32F4 are already in CC3100 SDK package. This add on don't need to be used.

    Jan
  • Thsnk You, Jan!

    I run in CC3100SDK_v1.2 the platform\\stm32discovery\\example_project_iar. I have not change anything just use default. It's fail and get the flowing errors:

    1 Error[Li005]: no definition for "_SlDrvHandleGeneralEvents" [referenced from C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\example_project_iar\getting_started_with_wlan_station\Debug\Obj\driver.o]

    2 Error[Li005]: no definition for "APBPrescTable" [referenced from C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\example_project_iar\getting_started_with_wlan_ap\Debug\Obj\stm32f4xx_hal_rcc.o] 

    In user.h file I added line "#define sl_GeneralEvtHdlr SimpleLinkGeneralEventHandler" and the first error was corrected.

    How can I correct the SECOND error?

    Thank You!

  • Hi Dmitry,

    Sorry, I am not familiar with this platform. But it looks that this error is related to HAL drivers from ST not with SimpleLink driver or CC3100 itself.

    Jan
  • Jan,
    how can I open obj files, especially "stm32f4xx_hal_rcc.o"?

    As I understand, if the page "CC3100 & STM32F4 Bringup Guide" is written, so the example project "getting_started_with_wlan_station" was compiled without mistakes.
    Why I have mistake while compiling this project?

    Thank You!
  • Hi Dmitry,

    You cannot easily open object file.

    I just guessing... for proper function are necessary HAL files downloaded from STM. But maybe this files was changed. I expect, that TI cannot guarantee functionality of 3rd party files (especially that STM is a competitor).

    Jan
  • I solved the problem, when I added the string "const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4};" in file "stm32f4xx_hal_rcc.c".
  • The problem was solved, when I copied files "system_stm32f4xx.c" and "system_stm32f4xx.h" from folder "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates" and "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\CMSIS\Device\ST\STM32F4xx\Include" to folder "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform". The file "stm32f4xx_hal_rcc.c" must be default without adding string.

    How to create hex or bin file from IAR?

    I can't understand(((

    Thank You!

  • Hi Dmitry,

    Sorry, I am not able help with this. But question "How to create hex or bin file from IAR at STM32F4?" sounds really like a question to STM forum or IAR support.

    Jan

  • Hi all. I'm doing the same demo using the sdk 3100 ver1.20. ....\platform\stm32fiscovery\
    What I see in the code is that is missing all the folders for STM32F4xx library.

    Simple solution to compile all project from IAR without any error:
    1) install STM32CubeMX. Donwload all the library for STM32F4 MCU. At this point in the folder: C:\Users\Maurizio\STM32Cube\Repository\STM32Cube_FW_F4_V1.11.0\Drivers
    you will find all the folder to copy into
    C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery

    2) now if you "make" the project it will be compiled without any errors.

    Let me continue with demo test on hardware and later to migrate from IAR to my licenced KEIL uVision, but it should be very easy to do.

    Good luck to all STM32 and CC3100 developers.

    Maurizio Brignoli