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.

Configure DDR & NAND flash memories

Hi,


I'm working with EVMdm6437, I have developped an application by using ccs and it works properly with this EVM. But, I have to load the application in another board which have different DDR and NAND flash  memories.

So, could anyone explain for me what should be the first steps which I have to make?

In fact, I want to know exactly:

-What should be the code files which ,most probebly, have to be changed? ( evmdm6437.gel, evmdm6437.c, evmdm6437.h.....???)

-Could the different DDR and NAND flash used by this new board have an influence to the configuration of the other peripherals of the board?

- What are the major parameters which I have to focus on them by reading the datasheet of the new DDR and NAND flash memories?



Regards,

  • Hi,

    There should be a setup_DDR function in the gel file, you might need to modify all the DDR registers initialized in that function.

    Not too sure on the NAND side.

    I think you should start with the gel file, modifying it should suffice.

  • Well, I modified the registers of the new DDR2, in the gel file, as it was indicated on  its datasheet  and it works properly. On the other hand, I want to make the default boot mode of my board the SPI one .Thus, I modified the bootcfg register to boot with the SPI mode but when I want to check the modification by using the option "Boot_Mode_Reader" I have the message ">>>>>> ERROR boot option not supported <<<<<<" which means that there are no boot mode supported with the board.

    So, is there another configuration which I have ti make?


    Regards,

  • Hot snow said:
    Thus, I modified the bootcfg register to boot with the SPI mode but when I want to check the modification by using the option "Boot_Mode_Reader"

    Could you please tell us which file you are modifying? I am not sure if I understood what you want to do.

    Hot snow said:
    So, is there another configuration which I have ti make?

    Could you please clarify what you are asking?

  • On the EVMDM6437, there are the configurable switch 1&2 which enable the user to chose the convenient boot mode (NAND,NOR, SPI.....) to boot with the EVM.

    We have designed a small board based on dm6437, we want that the default boot of our board will be the SPI boot . So, I tried to check the file "evmdm6437.gel" in order to make my new board booting from the SPI . As I noticed, the different mode of boot have a relationship with the bootcfg register. So, I changed this register to ensure the SPI boot. But, when I used the option provided by the ccs to see the result of my changes: "GEL-->EVMDM6437_Boot_Mode-->Boot_Mode_Reader" . This message would be written:">>>>>> ERROR boot option not supported <<<<<<" which means that there are not any boot option supported  with my new board.

     

    Regards,

  • Well, I read now that bootcfg is a read only register. So, I can't directly modify it.