Forum Discussion
Why my HelloWorld program is not working in Nios V/g while working perfectly in Nios V/m?
- 2 years ago
Hi Broddo and Kian,
Thank you very much for your messages.
First of all, the problem was fixed with your help. Now, my HelloWorld program is working perfectly in Nios V/g.
Effectively, the error was in the address map of the peripheral regions. The end address of the on-chip memory is 0x0900_1fff, and the start address of the JTAG UART controller is 0x1000_1000. Then, simply picking a Peripheral Region A Size of 512 KB and a Peripheral Region A Base Address such as 0x1000_0000 allows the "Hello World from Nios V/g" message to be shown on a Nios V juart terminal. In this HelloWorld example, I keep the main memory address region at the start of the memory map, and the memory addresses of my peripherals are further down. However, I think the partition suggested by Broddo should be more efficient.
Kian, I use Quartus Prime 23.1 Standard Edition because my board (DE0-Nano) integrates a Cyclone IV FPGA. So, I used a method like this one. The warnings have not disappeared, but the processor Nios V/g is working as expected. Your suggestion implies using Quartus Prime Pro Edition, with which I cannot generate a programming SOF file for the Cyclone IV device.
Best regards,
Domingo.
Hi Domingo,
Glad to hear that your program is now working.
As for the warnings, I check with the guys over here, and indeed 23.1std have such warnings, even without doing the migration and just instantiating a new Nios V/g will have the warnings. Did not occur in the Quartus Pro though. Based on assessment done over here, those warnings does not affect the functionality otherwise.
Anyway we have put in a request to our engineering team to fix the warnings in future software version of Quartus Standard.
Is there anything else that you wish to ask related to this case? Otherwise I would like to set it to close pending and transition the thread to community support. Thanks for highlighting these warnings out to us.
Thanks
Regards
Kian
Hi Kian,
I have no more questions related to this case. Thank you very much.
Best regards,
Domingo.