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.

CCS showed me that "Device is held in reset" when I tried to connect a bypass mode C6678.

Expert 2985 points

Hi all,

I had work out my own C6678 board. And I set the C6678 to SPI BOOT mode. Before I wrote a secondary bootloader to initialize the C6678's Main PLL, the Main PLL is in bypass mode. And I detected the SYSCLK pin outputed 16.6MHz (in my board the COREclk is 100MHz) and the RESETSTAT pin outputed high level.

.

Then  I wrote a simple code to show "Hello world!" in the console.

NO GEL files. NO CMD files. Just wanted to test connection to the C6678 core0.

Had a "target configuraion" cxml file to configure the XDS5260v2 cable. And the "test connection" option showed me that "The JTAG DR integrity had be scanned successfully"( I forgot the exact message but somethings like this).

.

But the CCS show me that  "Device is held in reset"  when I tried to debug this simple code. I was confused because the C6678's RESETSTAT pin outputed high level already.

Does I have any configuration issues in the CCS IDE?

.

Appreciate for any helps!

Yours,

Feng

  • My fault:

    Neglected initial configuration level of the LRESET, LRESETNMIEN, NMI and CORESEL0~3 pins. This caused the "Device is held in reset".

    .

    After correcting this fault, I wrote a simple code with the GEL file from EVM6678 and CMD file from TI and then I got the right results.

    .

    Anyway, thanks to the TI AE for helping me to solve another question that is just related to this question.

  • could you elaborate a little bit more about how you solved the problem. I ran into the same kind of problem. I am using EVMK2H. Its in SPI mode. I also trying to compile a simple helloworld project onto the ARM processor.

  • Hi,

    The main PLL stays in bypass mode for no-boot, SPI, and I2C boot. For other boot modes, a PLL initialization sequence executes inside the boot ROM to configure the main PLL in PLL mode. EVM .gel file do the PLL initialization in no-boot mode(CCS boot), if you not using .gel file means you need to add the PLL initialization code on your test application.

    Thanks,