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 error connecting to target: PRSC module failed to write to a router register

hello everybody,


i am a newbie in all these and i would like your help. I  have come across the following problem while trying to connect to my beaglebone white via the code composer studio. In particular i get the following error:

Now the case is that i have noticed the following:

i get this error right after i have launched the target file (and thus changed to Debug View) and then right click to Texas Instruments XDS100v2 USB Debug Probe_0/CortxA8  and finally click to Connect to Target. This problem doesn't always occur though. In detail it happens whenever i not only use the usb to connect and power my beaglebone white but also i have provided external power supply. The external power supply is necessary in my case since my beaglebone is also connected to an external circuit i have made through it's header pins.
 On the contrary, if i don't connect the external power supply and the external circuit to my beaglebone the connection (and the loading of the code afterwards) to the beaglebone is successful.


So, all my guesses are, that something is wrong with the power supply (no joke sherlock) but if somebody could explain to me what this error is (what is the PRSC module and the router register) and could suggest any solutions (even the one mentioned or others) to solve this problem i would be grateful.

I also asked that in the Sitara Processors Forum, but i would also like to know what error is that and why and in which cases ccs shows it.


(in case is needed i am using ccs version 6.1)

Thanks in advance.

  • Hello,
    The PRSC error is described a bit in the below post by Rafael:
    e2e.ti.com/.../316995

    As mentioned in his post, the potential causes are numerous - usually related to the HW environment (as you deduced already). Hopefully some of those suggestions will point you in the right direction.

    Hope this helps
    ki
  • Thanks a lot for your help and sorry for the late response!

    I have come to overcome the problem and as you and Rafael suggested the problem was related to the HW.
    In particular i had a problematic power supply and in addition with the existence the voltage regulator of the beaglebone (which doesn't let exceeding the voltage limits and thus it leads to voltage drop) it created my problem.

    Just an other tip i think is useful (if anyone cares) is that when you have to connect an external circuit to the board it is better to firstly connect to power and then connect the pins of the board related to power(3.3V or 5V output) with the external circuit.
    (For this tip i am not sure about its correctness, so if it is wrong or not important or something like this, please correct me and neglect it).

    To sum up, this kind of error should be dealt according to Rafael's reply post (link: e2e.ti.com/.../84760) in a similar problem.

    Thanks again everyone for your help and keep up the good work:)