AnsweredAssumed Answered

Problem booting ADS-21489 as SPI slave

Question asked by Mirza on Dec 14, 2011
Latest reply on Dec 23, 2011 by Mitesh

Hi,

 

I am having some trouble booting ADSP-21489 in SPI slave mode using a host microcontroller. The kernel boots fine as I can read memory contents with HPUSB-ICE, but transferring application is the problem. Below is a verbose output for the generated .ldr file.

 

"seg_rth"Reading...width 48 bits...Processing...
Done
"seg_init"Reading...width 48 bits...Processing...
   [INIT_L48,       5, 0x8c100]
   [ZERO_L48,      17, 0x8c105]
Done
"seg_dmda"Reading...width 32 bits...Processing...
   [ZERO_LDATA,   143, 0xb2000]
Done
"seg_swco"Reading...width 16 bits...Processing...
   [INIT_L16,     16c, 0x124354]
   [ZERO_LDATA,     5, 0x1244c0]
   [INIT_L16,      19, 0x1244c5]
   [ZERO_LDATA,     3, 0x1244de]
   [INIT_L16,       2, 0x1244e1]
   [ZERO_LDATA,     4, 0x1244e3]
   [INIT_L16,      1f, 0x1244e7]
   [ZERO_LDATA,     4, 0x124506]
   [INIT_L16,      1c, 0x12450a]
   [ZERO_LDATA,     4, 0x124526]
   [INIT_L16,      f6, 0x12452a]
   [ZERO_LDATA,     4, 0x124620]
   [INIT_L16,      9f, 0x124624]
Done
   [FINAL_INIT,     0, 0x17200000]
Build completed successfully.

 

Memory contents of the first two sections, INIT_L48 and ZERO_L48 are fine, but the rest of the sections causes the problem.

 

By debugging this, i have seen that the tag, adress and count are received correctly by the kernel. The kernel also gets into the ZERO_LDATA subrutine, but nothing gets written to the memory locations.

 

Thanks,

Mirza

 

boot_problem.GIF

Outcomes