Hi!
I am trying to connect to DM365 EVM (Rev D) from CCS (3.3.82.13), using XDS510PP Plus (Rev A).
I am using GEL file (Ver 1.02) <attached> .
I see that CCS fails to connect. However if I comment out PLL initialiation code in GEL, then it is able to connect to target successfully.
I tried to move PLL init code into my C code.
With this, emulator disconnects as I run my code.
When I single step, I found that emulator disconnects as soon as PLL is put into BYPASS mode, during initialization steps.
I also tried configuring PLL in assembly, by refering to u-boot code (start.S). I have similar observation as above, emulator disconnects when PLL is put to BYPASS mode, during initialization steps.
Any idea on why I am not able to configure PLL from CCS?
Another observation is, with gel file, with PLL init commented, emulator connects only after processor is let run to boot from NAND i.e. after bootloader comes up (NAND has bootloader flashed onto it).
Is bootloader helping to bring ARM to a defined state?
Here is the output when I try to connect with GEL file loaded (PLL init uncommented)
Trouble Writing Memory Block at 0x1c40900 on Page 0 of Length 0x4:
Error 0x80002002/-140
Fatal Error during: Memory, Control,
Error generated by SD scan controller module
Here is GEL output for the above scenario -
Disable IRQ/FIQ
Flush Cache
Disable MMU
Setup Power Modules (All on)... [Done]
Setup PinMux... [Done]
Setup PLL0... --> crashes here (seems like entering an infinite loop)
Any help is appreciated.