I think that my AT91SAM7X512 uC is locked.
I reached this conclusion since that my IDE (or, to be precise, the JLink software) tells me that my processor can't be halted. (after clicking the Debug button)
Following this message, I've searched in this JLink PDF the word "halt", and found:
That PLL circuit should be connected to the PLLRC pin (num. 99), as seen in Atmel's development kit PDF.
Furthermore I noticed that the JLink software configures the MCU to use the PLL clock prior to downloading the binary to the Flash memory. In other words, it configures the PMC_MCKR register to have the value 0x7 !
What should I do?
Except the PLL, my board schema is the same as Atmel's development kit (excluding peripherals).
I appreciate your time & effort.
I reached this conclusion since that my IDE (or, to be precise, the JLink software) tells me that my processor can't be halted. (after clicking the Debug button)
Following this message, I've searched in this JLink PDF the word "halt", and found:
Then, I remembered that there's no PLL circuit in my board!In other cases, the CPU may already have initialized some hardware components,
causing unexpected interrupts or worse, the hardware may have been initialized
with illegal values. In some of these cases, such as illegal PLL settings, the CPU
may be operated beyond specification, possibly locking the CPU.
That PLL circuit should be connected to the PLLRC pin (num. 99), as seen in Atmel's development kit PDF.
Furthermore I noticed that the JLink software configures the MCU to use the PLL clock prior to downloading the binary to the Flash memory. In other words, it configures the PMC_MCKR register to have the value 0x7 !
What should I do?
Except the PLL, my board schema is the same as Atmel's development kit (excluding peripherals).
I appreciate your time & effort.