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.

Problem with DM365 boot modes and BOOTCFG

Hi All,

 

We are facing a strange problem with configuring the boot mode for DM365.

Boot mode for DM365 processor is never getting changed from NAND to any other boot mode. Even if we set the BOOTCFG lines (010) for SD boot mode, still the processor boots from NAND flash. The only way we have to boot with SD boot is to erase the NAND flash. Processor always enters NAND boot mode if there is some bootable image existing on NAND flash irrespective of BOOTCFG.

 

Please let me know what could be the possible reason for this. Your prompt response would be highly appreciated.

 

Thanks,

Suhas Jain

  • Hi Suhas,

    on your post you say that you are setting BOOTCFG lines to change the boot mode. I hope you are not trying to set the BOOTCFG register. Rebooting the DaVinci hence resetting the device resets all register and the DaVinci reads the default BOOTCFG and boots from NAND. If no bootable data is found on the NAND, the processor tries next to boot from UART

    Actually the processor sets BOOTCFG itself during reset by checking hardware pins BTSEL[0..1], which in case of the DM355 processor are multiplexed with two external memory pins EM_A[12..13]. You can have a look at the schematics of my board (see picture). The details are explained in the main datasheet in chapter Device Reset and in the ARM Subsystem User Guide in chapter Boot Modes.

    In the case of DM365 I can remeber that there where three BOOTSEL pins, so I guess the schematics of the DM365 EVM board, which you can get from Spectrum Digital, would be more helpfull.

    I hope that this is the information you needed and I wish you good luck.

    Sebastian

  • Totally agree with Sebastian's post, just to add more info the BTSEL pins (sampled at reset) for DM365 are: BTSEL[2:0] and are multiplexed with EM_A13/EM_A12/EM_A11 respectively.

    regards,

    miguel