This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Booting from external SPI Memory, LPC3250

Hello Aykut Birsen,

I am also having same problem of booting from external serial flash.

I am using SST25VF040B serial flash.

I have connected SPI1_DATIN Pin to the ground with 100K resistence.
but still its not taking code from serial flash.

But with osilloscope i can see the out put waveforms comming out from ext serial flash's pin 2 which is SPI_DATA_OUT. after the reset.

could you please help me with circuit(with SPI1_DATIN Pin)connections and that code which u loaded into ext serial flash. for my reference.

Thanks in adavance.

Parents
  • @Neil thank's for your link..

    I am already following same path.

    everything i read from Lpc manual about booting sequence i am trying for this Ext_SPI_Boot problem for many days but where i am going wrong i did't understand.

    and then i started finding solution from net thinking that if somebody already gone through this problem then he could help me.

    now i am going to post some code snippets that will give some overview about what i am doing..

            case PROG_3250:   /*8*/
                            {
                                    Delay(5000);
                                    if(Prog3250Flash())
                                    {
                                            Delay(5000);
                                            if(Verify3250Flash())
                                            {
                                                    //Success
                                                    break;
                                            }
                                    }
                            }
    

    here it is running succesfully.

    but while loading code using KEIL+ULINK I am not finding right setting for my serial flash I have mentioned.(SST25VF040B)

    i have tried with all possible settings avilable in "TagretOptions->Utilities->Settings->adding device"

    Which one to take that one confusing.!!

    Screen shot i can't attach..

Reply
  • @Neil thank's for your link..

    I am already following same path.

    everything i read from Lpc manual about booting sequence i am trying for this Ext_SPI_Boot problem for many days but where i am going wrong i did't understand.

    and then i started finding solution from net thinking that if somebody already gone through this problem then he could help me.

    now i am going to post some code snippets that will give some overview about what i am doing..

            case PROG_3250:   /*8*/
                            {
                                    Delay(5000);
                                    if(Prog3250Flash())
                                    {
                                            Delay(5000);
                                            if(Verify3250Flash())
                                            {
                                                    //Success
                                                    break;
                                            }
                                    }
                            }
    

    here it is running succesfully.

    but while loading code using KEIL+ULINK I am not finding right setting for my serial flash I have mentioned.(SST25VF040B)

    i have tried with all possible settings avilable in "TagretOptions->Utilities->Settings->adding device"

    Which one to take that one confusing.!!

    Screen shot i can't attach..

Children
No data