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.

STELLARIS-3P-IARS-EMWB-TOOL: Add INCLUDES and DRIVERLIB files and libraries for Stellarisware?

Part Number: STELLARIS-3P-IARS-EMWB-TOOL

Good day,

I have an old Stellaris LM4F120H5QR launchpad, and I'm working with IAR for ARM version 8.10, I want to programa with the Stellarisware help instead CMSIS, and I can not see a document or any other info that explains how to call the INCLUDES and DRIVERLIB files out of the C:\StellarisWare, when I try to "call" them in the Preprocessor box IAR don't do that, Can you tell me where is the information about this?

When compile the program, this is the error in the Build box:  

Fatal Error[Pe1696]: cannot open source file "inc/hw_types.h" F:\Proyectos2017\TIVA_Presence\main.c 6.

Thanks.

ANDRÉS FELIPE RODRÍGUEZ

  • Hummm...
    How about giving that to a child to use as a fidget spinner, and spend $12.99 in a new TM4C123 Launchpad?
    I can feel the pain of discarding a "perfect" board, but your time is worth more - start with a current device.
    Bruno
  • Thanks for your answer Bruno Saraiva, but I still thing taht should be a way to put the board to work.

    ANDRÉS FELIPE RORÍGUEZ
  • Firm/I use IAR - w/great success - both w/MCUs here and ELSEWHERE!

    You will fare far better by importing the code examples from "this vendor" rather than using the examples provided by IAR.      (most always - the examples provided by IDE maker are "less current" than those of MCU maker)

    You MUST avoid trying to, "Create your OWN Project" - guaranteed to EAT your time/effort - and that of (those here.)       ALWAYS & ONLY employ those "known good" vendor projects - which manage ALL of the complex set-ups & configs FOR YOU!       (which will NEVER occur should you attempt "OWN Project!")

    Code examples w/in StellarisWare 9453 should prove IDEAL for you - and if properly implemented - should resolve your issues.      (you must choose the projects which appear w/in the "IAR segment" of the "Examples/Peripherals/"chosen peripheral" folders)

    Note that the board you have was this vendor's VERY FIRST venture into Cortex M4 - and is WITHOUT PWM GENERATORS!        (you can only achieve PWM (easily) via MCU Timers)      Poster Bruno's "push" toward newer MCUs - and your vulnerability working w/an IRREPLACEABLE MCU BOARD - earn "Vote #2" towards Bruno's suggestion.      (used in accord w/guidance herein offered...)

  • cb1_mobile, thanks for your answer, I don't want to invert more time in this, I will follow your suggestion, I found a youtube video though, there explain the way to do it, but does not work to me, I would give you the link, but it is in spanish lenguage.

    ANDRÉS FELIPE RODRÍGUEZ
  • Should you have "StellarisWare 9453" (or a version reasonably close) I will take "screen caps" of our set-up of IAR - for a "similar" LX4F (there were NEVER any LM4F devices produced!) and post here - so that you may model.

    It IS possible to use LX4F devices w/newer (buggy) TivaWare - yet the robustness & "perfection" of StellarisWare 9453 makes that (very) much 2nd choice...

    Again - should your project or usage be considered "important" - your use of an "irreplaceable" MCU board is extremely risky!
  • Cb1_mobile, it will be very helpfull, and thanks again for the advice, I'm keeping it in mind. But I´m not too worry about the Stellaris and Tive differences, cause when you work with CMSIS, you can work with a launchad, and you can select any device TM or LM, no matter which one.

    I do find problems working with Tivaware, but I download the last version, and this could be the problem. I'll try again with an older one and if I can't not moving forward I will get back to CMSIS.

    Regards.

    ANDRÉS FELIPE RODRÍGUEZ.
  • My friend - as promised - find here the "Key Screen Shots" showing our set-up of IAR targetting an LX4F MCU - using StellarisWare 9453.       Note our JTAG/SWD Pod is a Segger J-Link - appears as the last two caps here...

    These settings are "known" and "confirmed good" for IAR & LX4F operation under StellarisWare 9453.      Bon chance, mon ami...

    It is noted that you've Verified your posting (which provides NO answer) - yet (not) the ones made in your behalf - which (far better) guide & detail...

  • cb1_mobile,

    I'm sorry for answering so late, the Stellaris board is working, I just change the Preprocessor and the Debuger box.
    It' is working with TIVA C too, I had the hunch because when you program in CMSIS and check the memory registers, GPIO and else, all have the exactly the same addres.

    Anyway thank you so much for your help and your time.

    Regards.

    ANDRÉS FELIPE RODRÍGUEZ

  • No "sorrow" is expected nor required.      However - have you not Verified one of your postings - which did not describe the Preprocessor and the Debugger - thus what could have been, "verified?"    

    It appears that the "wrong" post was awarded "Verify" - and the (very) detailed one - as I supplied - was surely its equal - yet sits "unVerified & unLiked!"     (which is improper & unfair...)

  • cb1_mobile
    It was not my intention to be rude, I clicked on the green button wrongly but I did not give importance. Please tell me if there is any way to correct this.
    ANDRÉS FELIPE RODRÍGUEZ
  • Thank you - such IS proper - and appreciated.

    You should be able to return to that post w/the promised, "Multiple Screen Caps" - and while that post is "open" - you should note the button which enables "Verification!" (just as you did for "your" post - for simplicity you may leave that and add a second (this one proper) Verification.) Thank you...