Forum Discussion
Altera_Forum
Honored Contributor
21 years agoMacShiz,
If you are going to a NIOS II why the reluctance to convert your code to the new HAL? I've also done a number of conversions at this point and it's not very difficult. Since Altera is not going to support the legacy SDK you are really limiting your support going forward I feel. The biggest thing you have to watch out for is the data cache issues (if you use one). If you are using a NIOS2 with the old SDK I don't think that is going to handle that any way. You will have to either convert to the HAL calls or use the bit 31 method (setting bit 31 in address on the NIOS says by pass the cache). If you use the bit 31 method you simply need to modify the base addresses before you use them. The rest is all compiler and header file updates. Some of that you have to do anyway since you have to go to the new compiler with NIOS II. On note of caution on the dcache however. If found 1 case where the dcache was corrupting my data. We debugged for a number of days assuming it was SDRAM (with Altera on site helping for part of it). Turned out that a 512 byte cache was selected and not working. Changed to 2K and all of the problems resolved. Dan