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.

Linker command file

I was refererade to direct my question to this part of the forum. Original post was made on: http://e2e.ti.com/support/low_power_rf/f/851/p/275698/964926.aspx#964926

Does all the related software that is described to work with the new Tiva work for the EK-LM4F120XL with out changing anything? I have now updated to the v1.11 even tho it is specified for "TivaC LP EK-TM4C123GXL", I used the LM Flash Programmer and received the correct diode confirmation that all went well.

I am trying to get the following HW to work together:

DESIGN A:

EK-LM4F120XL

BOOSTXL-SENSHUB

CC3000TIWISLEM

TP-Link WR740N

DESIGN B:

EK-LM4F120XL

CC3000BOOST

TP-Link WR740N

I have run all the steps down to "Running the application" on the page http://processors.wiki.ti.com/index.php/CC3000_Basic_Wi-Fi_example_application_for_Stellaris_Launchpad but I get no response from putty (Nothing about the version of the driver or any response when commands like 01, 03 are sent). I have verified that putty and UART communications are working by other supplied examples, I can see no indication that the Wifi is activated. I have also controlled that the UART config in the c-code corresponds correctly with the config of Putty. All software that is used is up-to-date CCS 5.4.0.00091, not sure how to control the version of the software on the MCU and WIFI, where should I extract that information?

When all code has been compiled I start putty and then play the program on the MCU, is there some step I have missed here? 

I am getting no where and it is very frustrating, the only indication I have that something is wrong (except that putty is not giving me any information) is that CCS tells me in debug mode right before I press play the following "_c_int00() at boot.asm:217 0x00003D7C (_c_int00 does not contain frame information)". I can not find any information to what this indicates or how to fix it!

I have installed the Stellaris graphics library and I have also changed to the following properties on each folder of the "Basic wifi example" to get it to compile correctly:

Variant: Stellaris KN4F120H5QR

Connection; Stellaris in-circuit

Device endianness: little

Compiler version: TI v5.05

Output format: eabi (ELF)

Linker command file: lm4f1205qr.cmd

Runtime: Auto

POST 2:

I just imported the UART_Echo example and received the same "error" "_c_int00() at boot.asm:217 0x00003D7C (_c_int00 does not contain frame information)" so it looks like it is not connected to the actual code. What does it mean?

Should the jumper be placed as "Test" or "User" mode? What difference does it make?

  • Hey Martin,

    First off, sorry that your post ended up redirecting you here instead of getting you a solution.  One of the downsides to TI being as big as it is is that figuring out who should be answering what support questions can be a difficult process.

    That being said, I've worked with Stellaris and Tiva microcontrollers for a while, and have a bit of experience with the wireless booster packs we have available (though admittedly, I'm more experienced with the CC25XX line, not the CC3000), so hopefully I'll be able to help you out with this.

    To your first question, the Tivaware software is compatible with all LM4F processors.  There are differences between LM4F120XL and the TM4C123GXL, but the Tivaware library is compatible with both.

    To your second issue, it sounds like you're on the right path.  My first suggestion would be to do exactly what you did, which is to verify that the UART is functional by running the UART_Echo example and confirming that you see the characters being echoed as expected.  I am a bit unclear, though, about whether or not this has happened in your case.  You mentioned still seeing the error referencing c_int00(), but were you able to hit run and see characters being echoed on the UART?  If you pause the debugger after running the project, is the code halted in any suspicious location (the reset handler, fault handler, default interrupt handler, etc)?

    As to the c_int00() error, I have not seen this before, but I will investigate this internally to see if I can figure out what might be causing it.  If you are able to get the debugger to run to main, it is likely a non issue caused by something benign (like the debugger not being able to find the source assembly code in which c_int00 is defined, despite that code being compiled into the project).

    For the jumper, I believe that should be placed in the User mode (2-3) position, though I must admit I am uncertain what the effect of this jumper is.

    I hope this helps!

  • Hello Jordan, thank you for your answers. I could never get the UART part that was supplied with the example code to work but I have now replaced it with my own code and have full control over the information flow. The error code c_int00 still pops up but it does not affect the program in any way so I will just ignore it. :)

    I am right now looking at transferring data from one SPI (connected with a AFE) by uDMA to the SPI connected to the CC3000 and any kind of advice or directions that you may have will be well appreciated.

  • Hi,

    I have RDK-IDM-L35 - Stellaris  and   JTAG EMULATOR, 20/10PIN, XDS100  v2 Blackhawk       CCS v5  Now I bought the new one ccsv6  Activation ID : 5B55-37D0-ED8D-11E3-85C4-C3B3-1ABA-B367.

    When I worked with ccsV5 , I could open every examples from my CD-ROM.

    Now when I bought the new one ccsv6 i can open only first Hello World example, but others do not want open.

    After debug session on the screen apears white flash and after moment the screen is black.

    When I step program in debuger by "Run to  line " display show only first widget ( lang demo, grlibdemo,hellowidget)

    but it stops on the  TouchScreenInit(); After this appears message:

    CORTEX_M3_0: Can't Run Target CPU: (Error -1268 @ 0x90001) Device is locked up in Hard Fault or in NMI. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.450.0)

    Debuger windows shows message: _c_int00() at boot.asm:217 0x0000ABAE (_c_int00 does not contain frame information) in every step.

    What can I do this the ccsv6 works like ccsv5?

    The best regards.

    Andrzej M.

      

     

     

  • Andrzej Maciejewski said:
    What can I do this the ccsv6 works like ccsv5?

    Alternatively ask this at the CCS forum to get more expert advice.

    - kel

  • Hey Jordan
    I have the same as Martin. e.g. the CCS tells me in debug mode right before I press play that: "_c_int00() at boot.asm:217 0x00003D7C (_c_int00 does not contain frame information)". I debug the program step-by-step (pressing F5) and I see that when I get into the SysCtlClockFreqSet() function (in order to set the processor frequency) at the start of my main() function, the flow goes to the FaultISR function in the startup_ccs.c file. What can I do?

    PS: I use the Tiva DK-TM4C129X development kit.