ContributionsMost RecentMost LikesSolutionsRe: MAX 10 booting from external QSPI Thank you for your response! Yes, I followed the instructions on the edh_ed_handbook and also the ones on the AN730. The system works when I use the flash device from the development kit(N25Q512A83) but when I try to use the flash chip that we need to use in our application: GD25Q16 the MAX10/NIOS_II project fails to boot. I can load the software .hex file into the flash device, but the MAX 10 fails to boot. I tried with both flash interfaces: the "Generic_Serial_Flash_interface" and Generic_Quad_SPI_Controller. No luck. Can you please help me with the changes that need to be done in order to use a GD25Q16 flash device? If helps I can send you the project. QSPI boot problem Hello, I am trying to boot a NIOS II processor simple design (Hello World) from an external QSPI flash(software application). I am using MAX 10 FPGA Development Kit. I tried all 3 external flash options from AN730: 4a,4b and 5. None of them seem to work. I tried the same design using 1a and 1b options (on-chip flash UFM) and it works. The external flash seems to work well: program/verify. I think the problem arises when the NIOS II tries to boot. For some reason, it looks like NIOS II boots from the wrong location or the flash memory image is corrupt. I was following every step from AN730 document multiple times with no luck. Any suggestions for what I do wrong? Thank you for your help! MAX 10 booting from external QSPI Hello, I am trying to boot a NIOS II processor simple design (Hello World) from an external QSPI flash(software application). I am using MAX 10 FPGA Development Kit. I tried all 3 external flash options from AN730: 4a,4b and 5. None of them seem to work. I tried the same design using 1a and 1b options (on-chip flash UFM) and it works. The external flash seems to work well: program/verify. I think the problem arises when the NIOS II tries to boot. For some reason, it looks like NIOS II boots from the wrong location or the flash memory image is corrupt. I was following every step from AN730 document multiple times with no luck. Any suggestions for what I do wrong? Thank you for your help! NIOS/uCOS system boot from UFM problem Hi, I am having problems with making the "Hello MicroC/OS-II" project template to work from UFM, on a MAX 10M50 device that has a NIOS II processor and 128K internal RAM. I set everything up conform "Boot option 1a" from AN730: application code on UFM, runtime location internal RAM. I think my problem is with bsp settings. As you can see in the picture when I select: "enable_alt_load" under BSP_editor/Setings/Advanced/hal/linker, the options for selecting "enable_alt_load_copy_rodata", rwdata, exceptions are not available(greyed_out). When I try to run the debugger it tells me "verify failed between address..." (address belongs to UFM sector)(see picture). What should I change to be able to run a MicroC/OS_II application stored on UFM(flash) without copying .text part into the RAM? Note: The "Hello World!" project works just fine with this "Boot option 1a" setup. So, the problem shows up when I switch from a "hal" software project to a "uCOS" software project. Any suggestions? Thank you! Ethernet on MAX 10 Hello, Is it possible to implement Ethernet communication on a MAX10 device that is not connected to an external RAM? I tried the example "Simple socket..." using NIOS II, TSE, uC-OS with Niche stack, but this implementation requires more than 350Kbytes of RAM. I only have 128Kbytes of internal RAM. Does anybody know about any "TCP-IP like" stack implementation that doesn't require an OS? Thank you for your help! Re: MAX 10 RSU Hi SDevaux, Thank you for your response. We solved our problem, which in short was: We had two CFM images and we wanted that each image to work with it's own/different software image (in the UFM). We solved this by having the NIOS processors, from the two CFM images, boot at different address (different boot vectors). The boot vector for the second CFM image should point to an UFM address that is > address space necessary for the first software image. Then we took the two ufm.rpd files, trim them, and stitched them together: 1st software image: 0x0000 _ 0xNNNN and 2nd software image: (0xNNNN + 1) _ end of UFM. Re: MAX 10 RSU Hello, Thank you for the fast response. Is there a document/example for this? When you Convert the 2 .sof images to .pof you can setup only on source for the NIOSII software image. So, my understanding is that both hardware images use the same software image. Am I wrong? What I want to accomplish is: have a factory image(CFM0) with it's software application, and an update (CFM1,2) with a different/modified software application. MAX 10 RSU Hello, After implementing the RSU on our MAX 10 system(with NIOS II, software on UFM, no external flash), now we can update one of the image files (in CFM0 or CFM1,2) and in case of a failure the second image takes over, but we cannot find a way to update the NIOS II software the same way. It seems to us like only one software image is allowed at one time. Do you know any solution to update the NIOS II software and to have a backup in case the upload fails? Thank you for your help! SolvedHow to store user data necessary on the next power up Hi, I have a MAX10 / NIOS II system with "Single Uncompressed image with memory initialization" configuration. During run time the system stores some data (512 bytes) that are needed at the next boot up (power up). I tried storing this info in the UFM space at different addresses. The store/read from flash routine is working(tested) during normal run time. The problem is that when I try to read the data after power up it seems that all the UFM space not used for NIOS program is set to "0" and my stored data is not available anymore. How can I solve this problem? Are there any settings that prevent the unused UFM to be set to "0" on power up? Are there any flash locations where I can store my data for the next power up? Thank you for your help!