User Profile
BoonBengT_Altera
Joined 6 years ago
User Widgets
Contributions
Re: Questions About GSFI, QSPI Flash XIP Boot, and HAL API Support
Dear Customer, As there is no further follow‑up questions have been raised, we will assume the issue has been resolved. This thread will now be transitioned to community support, where other users can continue to assist with any additional inquiries. For new questions, please feel free to open a fresh thread — we’ll be happy to support you there. Thank you for being part of the community! Best regards, Altera Technical Support3Views0likes0CommentsRe: Mailbox Client HAL API: Erroneous behavior in flash erase boundary checks (Agilex 3 / Nios V)
Dear Customer, Since clarification has been provided and no further follow‑up questions have been raised, we will assume the issue has been resolved. This thread will now be transitioned to community support, where other users can continue to assist with any additional inquiries. For new questions, please feel free to open a fresh thread — we’ll be happy to support you there. Thank you for being part of the community! Best regards, Altera Technical Support4Views0likes0CommentsRe: Subject: [Arria 10 SoC] QSPI Flash Macronix Compatibility (MX66U2G45GXRI00)
Dear Customer, Since clarification has been provided and no further follow‑up questions have been raised, we will assume the issue has been resolved. This thread will now be transitioned to community support, where other users can continue to assist with any additional inquiries. For new questions, please feel free to open a fresh thread — we’ll be happy to support you there. Thank you for being part of the community! Best regards, Altera Technical Support7Views0likes0CommentsRe: BSP generation for I2C
Hi @paulgeisler The I2C driver is missing because i2c_0.csr is not connected to the Nios V data_manager . The BSP adds a driver for each peripheral that the processor masters. Exporting SDA and SCL does not make that connection. In Platform Designer: Connect intel_niosv_m_0.data_manager to i2c_0.csr . Set Interface for transfer command FIFO and receive data FIFO accesses to Avalon-MM Agent. In that mode the streaming ports are unused, so leave rx_data_source and transfer_command_sink unconnected. Connect i2c_0.interrupt_sender to platform_irq_rx when you want interrupt-driven transfers. The driver is still added from the csr connection. The interrupt routines are optional. Generate the HDL, then generate the BSP again. altera_avalon_i2c should appear in the BSP, with an initialization entry for i2c_0 in alt_sys_init.c . For the pins, sda_in and sda_oe need one bidirectional open-drain buffer, and scl_in and scl_oe need another, instantiated in the top-level design. Assigning those four ports directly to FPGA pins leaves them as separate inputs and outputs. Best Wishes26Views1like0CommentsRe: Nios V XIP boot from UFM does not work with dual configuration on FPGA 10M50 Evaluation Kit
Hi watanabe The standalone LED run shows the Nios V design works when the ELF is downloaded. UFM execute-in-place is a different boot path. usleep() is separate from that. In Dual Compressed Images mode, keep the two FPGA images in CFM0–CFM2 and the Nios V application in UFM0/UFM1. Set that same mode in the On-Chip Flash IP and in Device and Pin Options. A mismatch fails with Error (14740). Assign Hidden Access to every CFM region, set the Nios V reset agent to On-Chip Flash, and point the reset vector at the UFM base address. Program the application into UFM, then power-cycle. On this kit, SW2.3 ( CONFIG_SEL ) selects the first image: low is CFM0, high is CFM1 or CFM2. Do not erase or write UFM while executing from it. Use a hardware breakpoint to debug that code. Put .text in On-Chip Flash and the writable sections in RAM. Enable allow_code_at_reset , enable_alt_load , enable_alt_load_copy_rodata , and enable_alt_load_copy_rwdata . If .exceptions is in RAM, also enable enable_alt_load_copy_exceptions . For usleep() , include <unistd.h> and check hal.sys_clk_timer . The default clock is the Nios V built-in timer. A missing delay is a system-clock setting. UFM execute-in-place can make the same code take longer than execution from on-chip RAM. Best wishes7Views0likes0CommentsRe: DE2-115 Nios VGA demo
Hi @Fpga_Egr_2025 "Downloading ELF Process Failed" happens after the Nios II Software Build Tools have built the ELF and are trying to load it. The hardware run first checks that the FPGA contains the design the BSP was built for, then downloads the ELF. Would suggest to check on the following: Program the .sof from the same Quartus 18.1 compile that produced the .sopcinfo used to generate the BSP, then download the ELF again. A programmed image that does not match that BSP fails this check. If the Platform Designer system changed after the BSP was created, right-click the BSP project, choose Nios II > Generate BSP, and rebuild the application. BSP settings taken from an older hardware system are a common cause of a later download or run failure. In Platform Designer, note the reset memory and every memory the linker script places the ELF in. For each of those memories, confirm that cpu.data_master is connected to it. The post does not show those connections, so this needs to be checked in your system rather than assumed. Please send the exact Quartus version string from Help > About (for example, 18.1.0 or 18.1.1) and the full text of the Nios II Console at the failure. The 18.1 Update 1 issue about creating a new Nios II Eclipse project applies only if that project-creation error is what you see. It is a different failure from an ELF download after a successful software build. If the failure is intermittent, or the 10-pin JTAG header cable has been extended, check that cable. AN 100 states that extending the 10-pin portion of the download cable can cause noise and programming problems. A single hard failure after a successful compile is more consistent with the SOF, BSP, or memory-connection checks above. Good references docs would be the : https://docs.altera.com/r/docs/683282/current/nios-ii-classic-software-developer-s-handbook/running-the-project-on-nios-ii-hardware Best Wishes5Views0likes1CommentRe: Build errors on helloworld tutorial
Hi paulgeisler, The helloworld.elf.stack_report: Error 2, could be a case of missing niosv-stack-report when the IDE started from GUI. Would suggest trying to close the RiscFree, open the Nios V Command Shell, launch RiscFree from that shell, and rebuild. On a Programmer-only install, use a full Quartus Prime Pro installation so the Nios V utilities are on PATH. Best Wishes BB93Views0likes0CommentsRe: Agilex 5 GTS Reference Clock Buffer Protection
Hi sbj , I hope you’re doing well. I wanted to follow up and check if there are any remaining questions or concerns regarding this matter. Please let us know if anything still needs clarification — we’re happy to assist further. Thank you for your time, and we look forward to your feedback. Best Wishes BB25Views0likes0Comments