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.

TMS320F28377D: Code Loading Error

Part Number: TMS320F28377D


hi,

I am using TMS320F28377D controller, while loading code through xds100v3 emulator first time code loaded and then debug error came in console window, after that scan path also not coming.

C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code. Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed.
C28xx_CPU1: Error: (Error -1135 @ 0x823F1) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 7.0.188.0)
C28xx_CPU1: Trouble Halting Target CPU: (Error -1044 @ 0x0) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 7.0.188.0)
C28xx_CPU1: Error: (Error -1135 @ 0x823F1) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 7.0.188.0)
C28xx_CPU1: Unable to determine target status after 20 attempts
C28xx_CPU1: Breakpoint Manager: Unable to remove requested AET job
C28xx_CPU1: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

with regards,

P M Manoj Kumar.

  • Manoj,

    Could you clarify couple of things for me: is this something that worked before and then stopped working, or it has never worked? Also do you get the errors when you are loading the code or when you try to execute the code?

    Regards,
    Peter

  • Hi Peter,

    my code is working with development board. Trying with coustom board i am getting problems.First time i was checked jtag scan path and then loaded code into flash after that i was ran the code i got debug error. I was changed BOOT Switch to Wait mode and i was reduced the sys_clk 200MHZ to 100MHZ code is loading fine and debugging also getting properly. After some time i got another problem after loading code like this....and pic also added here.plz help asap. Is their any relation with core clk while increasing to 200Mhz.

    C28xx_CPU1: Trouble Halting Target CPU: (Error -1138 @ 0x6) Device refused to allow debug mode. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 7.0.188.0)
    C28xx_CPU1: Error: (Error -1141 @ 0x0) Device is not responding to the request. 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 7.0.188.0)
    C28xx_CPU1: Unable to determine target status after 20 attempts
    C28xx_CPU1: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
    C28xx_CPU1: GEL: Error while executing OnTargetConnect(): Could not write 0x0005F412@Data: target is not connected
    at *((int *) 0x5F412)=0x000F [f28377d_cpu1.gel:80]
    at OnTargetConnect()

    With regards,

    P M Manoj Kumar.

  • Hi Manoj,

    If you are facing issue with operation on high frq then one possibility is that power supply on your custom board is having issues with supporting required current for device. You may want to monitor the input power supply to device and see if it's dipping below spec range when  device operates at high frq. If yes then you need to fix that on board.

    Regards,

    Vivek Singh

  • Hi Vivek,

             Thank you for quick response. still i am getting illegal_isr getting problem after controlling my code through GUI. In my application motor enable option is available after enabling motor i am getting ILLEGAL_ISR() . I don't know what are reasons for getting this problem. I searched in Google it is showing some stack related problem. I checked my code in development board it is working fine,If it is memory related problem i will get same problem in development board also.

    2376.New Text Document.txt

    please help asap it hardware or software problem.

    with regards,

    Manoj.

  • If same code working fine on other board then it must be board issue. Have you checked the power supply of board as suggested in my last post?

    Vivek Singh

  • Hi vivek,

              Thank you and I have to check power supply of the custom board.

    With regards,

    P M Manoj Kumar.

  • Hi Vivek Singh,

    we checked power section of controller 3.3V and 1.8V the both are coming fine with upto 3A support is available in custom board.

    with regards,

    P M Manoj Kumar.

  • If you don't have any further question I am going to close this post.

    Regards,

    Peter