Jump to content

jean281426459940

Members
  • Content Count

    14
  • Joined

  • Last visited

  1. jean281426459940

    How to use the Tiva's in-board push buttons?

    Good day, guys! I was trying to use the Tiva C's internal push buttons (SW1 and SW2) for something simple I am doing. I did a quick search in the datasheet, and it doesn't find anything about SW1, SW2, or anything about push buttons. Does anyone know how I can access these buttons for my personal use? Thanks,
  2. jean281426459940

    Could not open .out file?

    Watching the project again, I just noticed the files under the binaries folder in the project are missing. How can I put them back?
  3. jean281426459940

    Could not open .out file?

    Hey guys! I was wondering if somebody could help me with the following problem. I was programming some stuff using the Tiva C's ADC and after a while, for some reason, I stated getting the following error: CORTEX_M4_0: GEL: Encountered a problem loading file: ..... .out Could not open file! I remember that I had this problem once and it was an easy fix, but I don't remember exactly how I did it. Could anyone help? Thank you!
  4. jean281426459940

    Running the Tiva C at 80 MHz?

    Hey guys, I know the Tiva C has a maximum clock speed of 80 MHz. Is that the default speed or do I have to set it up to 80 Mhz in some other way? Thank you
  5. Hey guys, I know this might be a simple question but could someone give me an example of how to use a timer from the Tiva C to get the time between each recorded "1" from a GPIO pin? Thanks,
  6. jean281426459940

    Activating Low Power Mode in Tiva C Launchpad?

    Hey guys! I'm having trouble getting the Tiva C launchpad into deep sleep mode. Is there a specific function that accomplishes this? I've read that there is a function called CPUWIFI that does this, but I'm not sure how it works. Searching through the Datasheet, I found that sleep mode is accessed in Register 13: System Properties (SYSPROP). Could someone help me with this and give me an example? Thank you all very much.
  7. jean281426459940

    Tiva C Getting Stuck due to timers?

    SOLUTION FOUND: Using LM Flash Programmer, I had to go to the configurations tab. In interface, put ICDI (Eval Board). Select JTAG port and set Speed to about 10000 Hz. Then, go to "Other Utilities" Tab and check the "Fury, Dust Devil, and Blizzard Classes" radio button. Then, click unlock. Hope this helps anyone who has my problem in the future.
  8. jean281426459940

    Tiva C Getting Stuck due to timers?

    Is there any way to force restart a launchpad using the reset button? That would be really helpful right now but I can't find anything about that online.
  9. jean281426459940

    Tiva C Getting Stuck due to timers?

    I am trying to reset the MCU using LM Flash Programmer, and get the following error: Does anyone have an idea of why this is happening?
  10. jean281426459940

    Tiva C Getting Stuck due to timers?

    Hey guys! I was trying to learn how to use the timers in the Tiva C launchpad so I imported the timers project from TivaWare and started playing around with it. I took the following function which set the frequency of the Tiva and changed it to the following configuration: ROM_SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN | SYSCTL_XTAL_1MHZ); After this, the Tiva started blinking it's LED's like crazy and every time that I try to compile a different code in it I get the following error: Does anyone know how can I reset the launchpad? I've tried changing to the Device MCU, restarting CCS, restarting the computer, pressing the restart button and switching USB ports, all to no avail. Thank you! EDIT: I also get this error message now:
  11. Hey guys! I have a bit of experience with the MSP430 and have written small bits of code of it using assembly. I want to do something simple to start off (moving a value to a register). How would I write the following code (written for MSP430) in ARM architecture (specifically with the Tiva C)? #include <msp430.h> ORG 0F800h ; Program Start RESET mov #0280h, SP ; Initialize stackpointer mov #5000,R15 ; Store 5000 in R15 ORG 0FFFEh DW RESET END Thank you all!
  12. jean281426459940

    Adding ARM to my IAR?

    Hey guys, noob question: I use IAR as my IDE. I downloaded a version for my MSP 430, but now I need to program my Tiva C with it. I know that you can download an ARM-based IAR but there must be a way to add ARM to my available architectures in my MSP-based IAR. How do I add ARM to my IAR toolchain? Surely I don't need to download an ARM-bases IAR and use two different IAR's, right? Thank you!
  13. jean281426459940

    Tiva C assembly language examples?

    Pardon my ignorance, but what exactly is a GCC tool? Thank you both for your links!
  14. jean281426459940

    Tiva C assembly language examples?

    Hey guys! I'm new in embedded programming and got a Tiva C for a microcontrollers class I have this semester. Our professor wants us to do a few labs programming in assembly language. I've looked everywhere for examples of this with the Tiva C (or Stellaris), and all I've found is the assembly language instruction set ( http://infocenter.arm.com/help/index.jsp?topic=%2Fcom.arm.doc.dui0553a%2FCIHJJEIH.html ) and a few books that I can't really afford right now so I can't do much with them (http://www.amazon.com/Embedded-Systems-Introduction-Cortex-Microcontrollers/dp/1477508996/ref=sr_1_3?ie=UTF8&qid=1379165523&sr=8-3&keywords=real+time+interfacing+ARM ). Could anyone lead me the right way and tell me a good page with examples for assembly language using Tiva C or Stellaris? Or does anyone have any code examples that they would like to share? Thank you all very much!
×