AnsweredAssumed Answered

EE-345 for writing more than one sector problem

Question asked by Sea on Feb 19, 2013
Latest reply on Feb 22, 2013 by Mitesh

Hi

I am Sean .

 

I have some problem for EE-345.

I work on Bootloader to Serial Flash M25p16 experiments for ADSP-21489EZ-Board.
I working EE345-GUI connect with ADSP-21489 is OK.
But ldr file more than one sector the porgram is not working.

 

I check SPI and UART is working.

and I refer to method as follows.

http://ez.analog.com/message/38849#38849

Refer to method as follows.

  while(i<SIZE_OF_LDR)
    {
       
        if((i%0x10000)==0)
            Sector_Erase(offset+i);
           
        Write_Flash(i,ldr_file[i]);
         temp=Read_Flash(i);

 

         if(temp!=ldr_file[i])

           printf("\nError !\n");

   }

The Flash Data is true

 

The ldr to be smaller than one Sector is Working for ADSP-21489EZ-Board.

And I try to use ADDS-HPUSB-ICE burning the ldr more than one sector.It is Working.

 

So I can Check  Something?

 

Best regards

Outcomes