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 BOOT Problems

Other Parts Discussed in Thread: AM3359

Hi ti,

I debug a custom Am3359 design that use TP65910/DDR3. And Now, the CPU prints "C"  repeatedly, unlikely the beaglebone prints eight "C"  then wait watchdog.

I check status register &WDT1 related register. BOOT , CLK frequency all fine(00001 UART0-XIP-MMC0-SPI,26MHz,);  WDT1 registers valided. clkout2 also can output L3_CLK,,,

JTAG linked to the board, seems that the program in "internal ROM" executes circle.

I think, DPLL  ,WDT setup is fine. reference  Fg 26-5 TRM. the "internal ROM" run to booting.

Then, I test the MMC0_CLK/CMD/D0 PIN, and get the Am335X ouput.

I wonder two things:

1 If boot device list fail, the  "internal ROM"  should be in deadloop  waiting for watchdog to reset Am335X. How dose AM335X run the loop to print "C" continuously?

2 After ROM code STARUP, should come to ROM code BOOT. Right now, something wrong. Dose some test or check action be run? 

I am trying to find the problem, but I have no idea which other registers need to check.

TKS.

  • Try looking at the tracing vector that the ROM code provides. The TRM gives the address and the bit field definitions for the tracing vector.

    Regards,

    Vaibhav

  • Vaibhav Bedia said:

    Try looking at the tracing vector that the ROM code provides. The TRM gives the address and the bit field definitions for the tracing vector.

    Regards,

    Vaibhav

    Thanks. 

    Trace vector as the figure:

    The vectors show that Am335X have not found proper boot device(Am335X should have be in the reserved dead loop).

    We find the strange thing. When AM335X linked with Jtag firstly,  we can read memory data as the figure. After resuming Am335X and pausing later, memory reading error until resetting the CPU(not PROZ).

    If this prevents to loading SPL &Uboot...

  • Hi,

    I have a custom board based on AM3359. it has DDR2 memory and SPI flash for booting. all part of the boards work correctly but I can not boot from SPI flash.

    I write my application and bootloader binary image into Flash and read it back correctly. My problem is that ROM code does not work to copy boot loader into internal RAM. and there is not any solution to debug it, is there?

    Can I use SPI Flash from NUMONYX Co, or I should use an special one?

    Regards,

    Amin