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/PROCESSOR-SDK-AM335X: Debug error

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hi.,

I am trying to do gpio interrupt but i got error (CortxA8: SemiHosting : Read Failure : Memory at 0x00000000length 4) like this while debug time. How to fix this error please any one help me.

I am using TMDXEVM3358-SK-LCD Carriers board.

Thank you in advance 

Regards 

chandana 

  • Hi,

    Could you please share a bit more of what you are trying to do? Are you using TI RTOS? Or, Linux? Are you working with a particular example? What version of the software or SDK are you working with? What version of CCS?

    Thank you.

  • hi.,

    i am trying to do gpio interrupt using external switch in board.

    i am using TI RTOS(processor_sdk_rtos_am335x_6_00_00_07).

    i am working with starterware example (ti\pdk_am335x_1_0_15\packages\ti\starterware\examples\gpio). but in this interrupt part is not there i am doing that code .

    CCS version : Code Composer Studio 9.1.0.

    Regards

    chandana

  • Hi Chandana,

    Did you see this issue with unmodified GPIO starterware example code?

    Do you require SemiHosting support for your application?

    I notice there are two examples in the ti\pdk_am335x_1_0_15\packages\ti\starterware\examples\gpio folder: buzzer & led_blink. It might not matter in terms of the problem you're observing, but which one did you use as a starting place for your application?

    I see there is a build options to enable SemiHosting support for these examples. You can see this option as follows:

    > cd pdk_am335x_1_0_15\packages\ti\starterware
    > gmake help

    Here is an example of building the GPIO buzzer example with SemiHosting support:

    > gmake gpio_app_buzzer PROFILE=debug PLATFORM=am335x-evm -s KW_BUILD=no CONSOLE=SEMIHOSTING

    There is some information on enabling SemiHosting support in SYSBIOS & GCC for Cortex-A targets here: http://processors.wiki.ti.com/index.php/SYS/BIOS_with_GCC_(CortexA)#How_do_I_enable_Semi-Hosting_for_Cortex-A_GNU_targets_.3F

    These GPIO starterware examples don't rely SYSBIOS, but some information at this URL may nonetheless prove useful.

    Does your build enable SemiHosting support?

    Regards,
    Frank

  • Hi Chandana,

    I haven't heard back from you on this issue so I'm going to assume it's resolved.

    Thanks and regards,
    Frank