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.

Modified instructions

Other Parts Discussed in Thread: OMAP3530

Hi,

I'm trying debug an example "hello world" on OMAP3530 but I can't get it. One of my problems is the next: If I refresh the Disassembly view or while I am executing step by step the ASM code the instructions are modified. If someone have an idea I would be thankful.

Thanks
Alejandro

  • Hello Alejandro,

    Your problem as described is a strange one. More information that you can provide would help clarify things. Provide as much details as you can - like what CCS version, what emulator, some screenshots and most importantly, attach small reproducible test case.

    Thanks

    ki

  • Hello ki,

    Some details of the project are the next:

    I'm using CCS4.0 and Blackhawk USB560 JTAG.

    The main() thread doesn't appear, only the _c_int00() thread appears. Usually, the processor stay in abort mode, but sometimes, the processor stay in supervisor mode.
    Moreover, the code loaded isn't correct. Also, if I refresh the disassembly view or when I execute step-by-step the code or after some time the code loaded is modified. Some  
    instructions modified are incorrect and some instructions are repeated and overwrite the next instructions.

    I get this errors:
    Cortex_A8_0: Trouble Setting Breakpoint with the Action "Finish Auto Run" at 0x8000432c: Error 0x20000008/-1066 Severe Error during: Break Point,  Cannot set/verify breakpoint at 0x8000432C  
    Cortex_A8_0: Breakpoint Manager: Retrying with a Cortex breakpoint

    Cortex_A8_0: Trouble Setting Breakpoint with the Action "Terminate Program Execution" at 0x80004038: Error 0x20000008/-1066 Severe Error during: Break Point,  Cannot set/verify breakpoint at 0x80004038  
    Cortex_A8_0: Breakpoint Manager: Retrying with a Cortex breakpoint

    Else, if I select the option of the Debug Properties: Enable CIO, I get this error:
    Cortex_A8_0: Trouble Setting Breakpoint with the Action "Process CIO" at 0x80003d34: Error 0x20000008/-1066 Severe Error during: Break Point,  Cannot set/verify breakpoint at 0x80003D34

    I attach the case disassembly view:



    I need help.
    Thanks,
    Alejandro

  • Hello,

    I've solved the problem of the modified code. I've changed the frequency of OSC_SYS_CLK of OMAP3530 through PRCM.[2:0] register.

    But I follow with problems because the main() thread doesn't appear still. The _c_int00() thread appears and the processor stays in abort mode.

    Thanks,

    Alejandro

  • Hello,

    I follow with the same problem. If anyone has any ideas I would appreciate that wrote these ideas.

    Thanks,

    Alejandro

  • Hello,

    I solved the problem of the abort in _c_int00() disabling the I-cache and the D-cache.

    Alejandro