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.

hardware self-check and initialize about application programme

please tell me how to hardware self-check and initialize about application programme  on the base of dm355 development . (develop product :DVR)

  • Not sure if I understand your question; the spectrum digital site has many test under "Target Content" to help veiry the EVM hardware; the source code for these tests are included so I suppose you can borrow some code from there.  However, I believe this tests are probrably overkill if it is something you are looking to do on every boot; perhaps just testing the presence of DM355 and some key peripherals for your application should be enough.

  • If you want a pre kernel check of the hardware before starting your app you could take the code Juan referenced and integrate it into U-boot, this would give you the effect of hardware verification before trying to boot the full kernel and application.

    Typically the booting of the kernel and initialization of the drivers will act as a hardware self check, in that most of the drivers will spray out error messages on the terminal if there is an issue with the hardware.