Knowledge Base Article

Error: You can't do that when your target is `exec' (ExcaliburTM, GDB)

Description

You may get this error when you go through the following steps in the NiosTM GDB Debugger:

  1. Open the hello.out (File menu)
  2. Open the console window (View menu)
  3. Set Architecture nios32
  4. Set remotebaud 115200
  5. If you choose to load at this point, you may receive this error because you have not specified to GDB which COM port on your PC to use. To avoid this error, you must correctly specify the COM port prior to the Load instruction as follows:

  6. Target remote COM<port #>
  7. Load
Updated 1 month ago
Version 2.0
No CommentsBe the first to comment