AnsweredAssumed Answered

ADSP21479 boot kernel changes

Question asked by TomEE on Nov 4, 2014
Latest reply on Dec 9, 2014 by Jithul_Janardhanan

Hello.

 

I would like to make some changes in boot kernel for ADSP21479. To test if changes in kernel gives any results im trying to light LED connected on my board to DPI_14 pin. I added following code to user_init section:

 

// setting state of DPI_14 (LED GREEN)

ustat1 = dm(SRU2_PIN2);

bit set ustat1 BIT_18;

dm(SRU2_PIN2) = ustat1;

 

// setting DPI_14 (LED GREEN) as output

ustat1 = dm(SRU2_PBEN2);

bit set ustat1 BIT_18;

dm(SRU2_PBEN2) = ustat1;

 

I think it should light the LED after kernel load. Am I right?

After applying these changes nothing happens. Is this code correct?

 

regards

Tomas

Outcomes