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.

CCS/CC3200-LAUNCHXL: unable to execute the basic example programs in CCS due to some errors in the rtos config

Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

in relation to the thread.....I'm facing the exact same error codes... i've inserted the error codes which was  shown. also, the possible solution that was given in the previous suggestion which was to change some configuration properties in the RTSC configuration was not available...i've inserted a picture for that too...please help

  • Hi,

    I am redirecting this to someone more knowledgeable than I with regards to TI-RTOS itself, but in the meantime, would you mind sending the complete console text? Your first screenshot indicates there is a longer list of problems above the highlighted lines.

    You can use the fourth button on the Console view toolbar to save the log to a .txt file.

    Regards,
    Rafael
  •  Hi Rafael,

    sorry for the late reply,

    I don't know what magic happened, now that its all working properly  and I managed to build all the files and debug it.

    The debug is successful and without any errors, but now I'm facing some other issue,

    I'm unable to view the output on the Teraterm terminal.

    I've set the teraterm terminal to the exact port and set the baud rate as 115200 but when i run the program after the code has been debugged, there is no changes in both teraterm as well as the board which is supposed to be blinking when the connection has been established

    I'll attach the screenshot for your reference

    Hope you can help!

  • Ill also attach the exact console output codes for your reference

    ti.sysbios.family.arm.m3.Hwi: line 1095: E_hardFault: FORCED
    ti.sysbios.family.arm.m3.Hwi: line 1172: E_busFault: PRECISERR: Immediate Bus Fault, exact addr known, address: 4000d018
    Exception occurred in background thread at PC = 0x2000fbbc.
    Core 0: Exception occurred in ThreadType_Main.
    Main name: main(), handle: 0x0.
    Main stack base: 0x2002e000.
    Main stack size: 0x2000.
    R0 = 0x4000d000 R8 = 0x00000000
    R1 = 0x04c4b400 R9 = 0x00000000
    R2 = 0x0001c200 R10 = 0x00000000
    R3 = 0x00000060 R11 = 0x00000000
    R4 = 0x00000000 R12 = 0x20013551
    R5 = 0x00000000 SP(R13) = 0x2002ffc8
    R6 = 0x00000000 LR(R14) = 0x2000dd19
    R7 = 0x20030000 PC(R15) = 0x2000fbbc
    PSR = 0x21000000
    ICSR = 0x00400803
    MMFSR = 0x00
    BFSR = 0x82
    UFSR = 0x0000
    HFSR = 0x40000000
    DFSR = 0x0000000a
    MMAR = 0x4000d018
    BFAR = 0x4000d018
    AFSR = 0x00000000
    Terminating execution...
  • Hi,

    Take a look at this training/presentation. It covers debugging exceptions: training.ti.com/debugging-common-application-issues-ti-rtos

    Todd
  • Thank you for the reply Todd!
    will look into it
  • Hi again Todd,
    I completely went through the video that you sent and from what i can understand, I might have some luck if i try and implement the " TI-RTOS minimum exception decoding handler"
    but the problem is that I'm just trying to execute an example program, "getting started with wlan" to be specific and I'm unable to locate the BIN file inorder to make any kind of changes
    Hope you can help :)
  • I'll also attach a pic of what ROV is showing for your reference

  • What I'm worried about the most is that I'm just getting started with this board and I'm not even able to execute a example code properly and successfully , then how will I be able to debug a problem successfully in the future :(

    please do refer some kind of link or something where i can learn about everything more detailed and briefly

    BTW: i finished the datasheet, the user's guide and the programmer's guide,... i don't know still what else is left
  • What is the call stack on the exception?

    Can you get an out of the box example from TI-RTOS to work? For example driver empty or UART Echo? What board are you on? A TI LaunchPad or your custom hardware?

    If you cannot get an out of the box example to run properly, what version of TI-RTOS and XDCtools are you using? What compiler (and version) are you using?

    Todd
  • Hi there Todd,
    i was able to make the blinky program to work and just not any other example
    Anyway, I moved on with another PC and everything worked just fine
    I was using a windows 7 32-bit and maybe there was some kind of a bug
    but anyway, i moved on with another pc and everything worked out just fine on the first go
    thanks anyway for getting back
    Im closing this thread now