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.

AM335x registers locked in debug

Other Parts Discussed in Thread: SYSBIOS

Welcome, i just started with Beaglebone Black. I use XDS100v2 for debugging and after connect i can't read value from registers. When my program is trying to get an access to any registers (i have tried some of them) then i see exception in sysbios without reason. I suppose that something like connect script makes lock for register access. after i make a manual reset just after connection then access to registers is granted. I can't see value of registers in Expressions tab after connection, but after reset those values appear.

I found some registers for memory (like registers) protection, but all of them don't lock up my registers. I ask for some informations where those registers could be locked.

  • Try the following: Connect the JTAG first, and then power on Beaglebone Black, while pressing the S2 button. Make sure you have no SD card in the card slot. This will ensure that the Beaglebone Black starts from blank, with no bootloader.
  • I have tried and done as you wrote. Linux on emmc doesn't boot, but after JTAG connection in the same way, the problem exists. I use standard CCS gel file from "D:\TI\ccsv6\ccs_base\emulation\boards\beaglebone\gel\beagleboneblack.gel" - i suppose that there's a problem but i dont' understand this file (it's too early with my experiance with sittara).

    Edit: It looks like the connection and GEL file are correct. If i do everything manually, then JTAG connection doesn't result with a problem. Just after I load a program, the values from Expressions tab disappear. I don't need to run a program - just after I click on reset buttons, the values come back.

  • For Linux had to follow below post (since JTAG clock was getting turned off):
    e2e.ti.com/.../1511020
    Wonder if they do something similar in sysbios?