- The Nios II IDE
- Tool Chain
- C Standard Libraries
- Changes to Development Tools Behavior
- Known Issues and Workarounds
The Nios II IDE
This section documents changes to the Nios® II Integrated Development Environment (IDE).
IDE Version
In the Help -> About Nios II IDE dialog box, the version number for the Nios II IDE in version 1.01 is displayed as 1.0.0 build 393. The build number, 393, indicates that the correct version of Nios II IDE was installed with Nios II Development Kit Version 1.01 even though the version number is shown as 1.0.0.
Hardware Divides in Compiler (SPR 157294)
The default compiler flags were modified to correctly implement hardware divides that were not inferred in version 1.0.
Run Configuration Terminal Settings (SPR 156840)
An error was corrected in which the Target Connection tab on a run configuration would always revert back to jtag_uart regardless of the last settings. The terminal settings are now retained.
Memory Accesses When Using Nios II ISS (SPR 157215)
An error during memory accesses when using the Nios II instruction set simulator (ISS) was corrected.
Fixed Memory Name Recognition (SPR 156656)
A memory peripheral with a name similar to the related Nios II processor (i.e. cpu0_sdram) would not be recognized or displayed in the Nios II IDE system library properties page in version 1.0. This error is corrected in version 1.01.
Tool Chain
This section documents changes to the Nios II tool chain, such as the GNU compiler collection (GCC), GNU debugger (GDB), and other utilities.
ANSI C Code Checking (SPR 140968)
The first-generation Nios processor tools incorrectly overlooked non-standard ANSI C coding. The Nios II tools enforce ANSI C standards so, to eliminate errors and warnings, make sure your code is legal ANSI C.
Legacy SDK Flash Support (SPR 158754)
The Nios II processor v1.01 provides full support for the Nios development board, Stratix® II edition when using the Nios II IDE and hardware abstraction layer (HAL) drivers. However, it does not support the use of the legacy software development kit (SDK) flow with the flash memory on the Stratix II board, because legacy drivers are not available for the flash memory on this board.
nios2-download -r Option (SPR 151878)
If you get the following error when executing the nios2-download -r command, use the nios2-download --reset-target command instead.
nios2-download: error: -r: invalid option; use --help to show usage
Hardware Breakpoints (SPR 157767)
Modifications were made to the nios2-gdb-server to correct an error produced when trying to set a hardware breakpoint.
Compiler Error (SPR 153623)
A problem in the compiler in which small entries were placed in bss instead of sbss was corrected.
C Standard Libraries
This section documents changes to the C libraries (HAL and newlib) included in the Nios II Development Kit.
usleep Function (SPR 147919)
The usleep routine was modified to correct a problem with usleep resulting in delays of significantly longer than 1 µs.
HAL DMA Driver Mode Support (SPR 152903)
Using ioctl() to change the mode of the direct memory access (DMA) peripheral after requesting the first DMA transfer can cause indeterminate DMA behavior in version 1.01. If your application requires the use of more than one DMA mode, you must instantiate a separate DMA peripheral in hardware for each mode you intend to use. You then must set each DMA to the desired mode using ioctl() calls before requesting any transfers from that DMA. Changing DMA modes on the fly is scheduled to be supported in a future version of the Nios II Development Kit. Please see the DMA Controller Core with Avalon Interface chapter in the Nios II Processor Reference Handbook, and the Nios II Software Developer's Handbook for details on ioctl() and the DMA HAL library routines.
rand() Small Newlib C Library Driver (SPR 152783)
The rand() small newlib C library driver was corrected to match the full ANSI C standard library driver behavior, which was the original intent for this function.
Changes to Development Tools Behavior
This section documents instances in which the behavior and default settings of this release of the Nios II Development Kit have changed from earlier releases.
There are no changes to report at this time.
Known Issues & Workarounds
For a list of known issues with this release, refer to the file <Nios II kit path>/documents/errata.txt.
