MyFPGA Forum

标题: NIOS运行程序出错 [打印本页]

作者: 9697ks    时间: 2009-11-12 09:24
标题: NIOS运行程序出错
本帖最后由 9697ks 于 2009-11-12 09:58 编辑

在RUN的时候出现以下错误:Couldn't create heap for child, size 2054472, Win32 error 1450

有高手知道是因为什么出错的么?我就是做的一个简单的LED闪烁实验 一个CPU 片内的ROM和RAM一个输出IO一个JTAG

下面是整个提示:
D:\altera\kits\nios2_60\bin\nios2-download: sed: permission denied
D:\altera\kits\nios2_60\bin\nios2-download: sed: permission denied
Error: You must pass an integer between 0 and 255 as an argument to --instance

usage: nios2-gdb-server [-h/--help] [-c/--cable <cable name>]
       [-d/--device <device index>] [-i/--instance <instance>]
       [-s/--sidp <address>] [-I/--id <id>] [-t/--timestamp <timestamp>]
       [-w/--wait <seconds>] [--no-verify] [-g/--go] [--stop]
       [--tcpport=<port> | auto] [--tcpdebug] [--tcptimeout <seconds>]
       [--tcppersist] [--thread-vars <vars>]
       [--write-gmon <gmonfile>] [--wait-target-exit]
       <filename.srec>*

-h/--help                   Print this message

    --write-pid <filename>   Write the process ID to the file specified
    --signal-pid <filename>  Send a SIGUSR1 to the other process when ready

-c/--cable <cable name>     Specifies which JTAG cable to use (not needed if
                             you only have one cable)
-d/--device <device index>  Specifies in which device you want to look for the
                             Nios II OCI core (1 = device nearest TDI etc.)
-i/--instance <instance>    Specifies the INSTANCE value of the JTAG debug core
                             (not needed if there is exactly one on the chain)

-r/--reset-target           Always reset the target processor before use

-s/--sidp <address>         Base-address of System ID peripheral on target
-I/--id <system-id-value>   Unique ID code for target system
-t/--timestamp <time-stamp> Timestamp for target-system (when last generated)
    --accept-bad-sysid       Continue even if the system ID comparison fails

<filename.srec>*            S-Record file(s) to download to the target
    --no-verify              Don't verify after downloading

-w/--wait <seconds>         Wait for time specified before starting processor
                             (signal USR1 will terminate the wait early)
-g/--go                     Run processor from entry point after downloading
    --stop                   Stop processor (leave it in a paused state).

    --tcpport <port> | auto  Listen on specified TCP port for a connection from
                             GDB (with "auto" a free port will be used).
    --tcpdebug               Display the GDB remote protocol running over TCP
    --tcptimeout <seconds>   Timeout if GDB has not connected in time specified
    --tcppersist             Don't stop when GDB disconnects
    --thread-vars <vars>     Decode target thread list using specified string

    --write-gmon <gmonfile>  Wait for target to complete and write GMON data
                             (if available) to the file specified
    --wait-target-exit       Wait for target to complete and return target exit
                             code as our return code if no other errors

The processor state after execution is chosen as follows:
  1) If the GDB remote protocol is enabled then this chooses the state.
  2) If the --go option is specified then the processor will be started.
  3) If the --stop option is specified then the processor will be left paused.
  4) If a file is downloaded or the procesor is reset then it will be paused.
  5) Otherwise, the processor state will be restored.
作者: luqingyun    时间: 2011-3-22 22:12
请问你这个问题解决了吗?我遇到解决不了,求教 QQ1421406149




欢迎光临 MyFPGA Forum (http://www.myfpga.org/discuz/) Powered by Discuz! X3