Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 16 Aug 2010 12:23 AM by  l.wittland
Target Config for CCS4?
 7 Replies
Sort:
You are not authorized to post a reply.
Author Messages
mihooper
New Member
New Member
Posts:


--
06 Aug 2010 11:26 AM
    Richard,

    I recently purchased the eXperimenter kit. I have downloaded the BSL and am trying to run the "test audio" demo in CCS4. I haves successfully built a new project, but cannot run in debug mode. Which target configuration shoule I use. Also, is there a linker file somewhere?

    Here is the output from the console window:
    TMS320C64X+_0: Warning: C67x: READ access - 0x889c C67x: READ access - 0x889c C67x: READ access - 0x8880 C67x: READ access - 0x889c C67x: READ access - 0x8880 C67x: READ access - 0x8884
    TMS320C64X+_0: Warning: C67x: READ access - 0x889c C67x: READ access - 0x8884 C67x: READ access - 0x0 C67x: READ access - 0x8888
    TMS320C64X+_0: Warning: C67x: READ access - 0x889c C67x: READ access - 0x8888 C67x: READ access - 0x888c
    TMS320C64X+_0: Warning: C67x: READ access - 0x889c C67x: READ access - 0x888c C67x: READ access - 0x110 C67x: READ access - 0x8890
    TMS320C64X+_0: Warning: C67x: READ access - 0x889c C67x: READ access - 0x8890 C67x: READ access - 0x8894
    TMS320C64X+_0: Warning: C67x: READ access - 0x889c C67x: READ access - 0x8894 C67x: READ access - 0x0 C67x: READ access - 0x8898
    TMS320C64X+_0: Warning: C67x: READ access - 0x889c C67x: READ access - 0x8898 C67x: READ access - 0x889c
    TMS320C64X+_0: Warning: C67x: READ access - 0x889c C67x: READ access - 0x889c C67x: READ access - 0x88 C67x: READ access - 0x88a0
    TMS320C64X+_0: Warning: C67x: READ access - 0x88bc C67x: READ access - 0x88a0 C67x: READ access - 0x88a4
    TMS320C64X+_0: Warning: C67x: READ access - 0x88bc C67x: READ access - 0x88a4 C67x: READ access - 0x0 C67x: READ access - 0x8cc4
    TMS320C64X+_0: Error: C67x: READ access - 0x8cdc C67x: READ access - 0x8cc4 Illegal opcode (00008cc4) at pc = 0x00008cc4 Illegal opcode at pc = 0x00008cc4 C67x: READ access - 0x8cc8
    ===================================================
    Thx
    MikeH
    richard.laborde@logicpd.com
    Basic Member
    Basic Member
    Posts:247


    --
    06 Aug 2010 03:25 PM
    Mike -

    CCS is TI's tool and they handle all of the support through the e2e.ti.com site. We do have GEL, CCS setup and BSL files on the downloads page. They were all done for CCS3 and I don't have an answer from TI if they are going to release CCS4 versions or not.
    mihooper
    New Member
    New Member
    Posts:


    --
    07 Aug 2010 11:02 AM
    Well, OK. That's disappointing.

    Can you answer this (since it's your BSL code)?

    I have successfully built and started to debug the "test audio" application. However, the code appears to get stuck at:
    " while (CHKBIT(psc->MDSTAT[in_module], MASK_STATE) != in_next_state) {}"
    (Line 227 in "evmomapl138.c"). Can you tell me what's going on?

    thx
    MikeH
    mihooper
    New Member
    New Member
    Posts:


    --
    09 Aug 2010 01:47 PM
    Richard,

    I posted a response yesterday. is it still being moderated?

    MikeH
    richard.laborde@logicpd.com
    Basic Member
    Basic Member
    Posts:247


    --
    11 Aug 2010 11:16 AM
    Mike -

    Sorry - from my out of office I would guess you saw that I was - well - out of the office.
    I'm checking internally on this, but I don't have any recommendations for you at this time.
    l.wittland
    New Member
    New Member
    Posts:


    --
    12 Aug 2010 12:52 AM
    Hi Mike.

    > However, the code appears to get stuck at:
    > " while (CHKBIT(psc->MDSTAT[in_module], MASK_STATE) != in_next_state) {}"

    Did you use an emulator or the 'TI simulator' when you got stuck?
    In the later case it happens since the simulator only simulates the CPU itself, not the numerous peripherals of the OMAP.

    The source code in question is used to configure the PSC peripheral; the line where you get stuck checks if a PSC state change was processed and repeats until it is.
    Since PSC isn't simulated, the desired state change won't be processed and the new state won't be written to memory, so the while-loop stalls forever.

    Lasse
    mihooper
    New Member
    New Member
    Posts:


    --
    13 Aug 2010 10:23 AM
    Lasse,

    Yes, I am using the TI simulator in CCS4 in an attempt to develop a codec for the C674x DSP. Am I on the wrong track using the eXperimenter Kit? Does all of the BSL code require the use of an external hardware emulator?

    Can I (should I) manually change the PSC register to allow the code to proceed?

    MikeH
    l.wittland
    New Member
    New Member
    Posts:


    --
    16 Aug 2010 12:23 AM
    Hi Mike.

    If you want to use the simulator you could outcomment the line

    " rtn = init_psc();"
    (evmomapl.c, around line 69)

    That should suffice to write and test code using the simulator. However, if you want to use any periperals -as you most probably will sooner or later- you need an emulator. The experimenter Kit has an integrated XDS100v1 USB emulator for the DSP core (sadly not for the ARM), so you don't need any additional hardware. Just connect the Kit via J21 to the PC and select the XDS100v1 USB as target in CCS.



    Lasse
    You are not authorized to post a reply.