To create the diagnostic programm, in nios ii ide/sbt, create software from templates, you will find "hello world", "hello world small". So, you can run the Altera memory test software By doing this, you download the programm to the RAM and run from here. In NIOS II IDE/SBT/EDS, you do "run as >. You have to configure the FPGA with factory configuration (it is just a press button, or you can download via Quartus programmer)Ģ) You can run a software without downnloading programm to the flash : To run without downloading to the flash :ġ) To test memories with Altera programs, text section to DDR, my program stops execution after some seconds.I have the "No CFI table found" error when I try to program text section to on_chip I see strange symbols, like hieroglyph, instead of welcome text, etc. How to make sure that I'm testing the external DDR? Because 0xXXXXXXXX can be in the on-chip memory? MemTestAddressBus(memory_base, memory_size) īut it doesn't have sense for me. Then the program tests this specific locations say, So in the BSP settings all sectors go to the on_chip RAM.īut I don't know exactly how this memtest program knows which specific memory to test?īasically, first you write in the Nios console which specific range of memory you would like to test by writing address in 0xXXXXXXXX format to the memory_base and memory_end variables. * locations must all be in a memory seperate from the one being tested. This requires that code, data, and exception ![]() * reason, you MUST assure that none of the software sections are located in It is stated there that The RAM test is destructive to the contents of the RAM. I've created SOPC builder project with Nios and 2 memories - on-chip and DDR controller.īoth reset and exceptions point to on_chip.Īltera provides memtest.c which allows to test your external memory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |