Like Tree2Likes
  • 2 Post By Rodaxoleaux

why i got following massage error avr-objcopy:

This is a discussion on why i got following massage error avr-objcopy: within the Tech Board forums, part of the Community Boards category; hi anyone could you tell me please why i got following error avr-objcopy: 'robots.elf': No such file [ i am ...

  1. #1
    Registered User
    Join Date
    Apr 2012
    Posts
    4

    why i got following massage error avr-objcopy:

    hi
    anyone could you tell me please why i got following
    error avr-objcopy: 'robots.elf': No such file
    [ i am using avr studio 4 compiler and ATmega 16

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    I didnt know C# could run on the 16 bit AVRs

    The answer is impossible to give with the info provided, but it is trying to find "robots.elf" and avr-objcopy is usually used to copy compiled object files into the hex version that uploaded to the board. Maybe you are missing a build step?

  3. #3
    and the hat of Marriage Rodaxoleaux's Avatar
    Join Date
    Sep 2011
    Location
    ntdll.dll
    Posts
    178
    Oooh, you got a massage? Was it good? Recommend me a good masseur.
    laserlight and Elkvis like this.
    How to ask smart questions

    Code:
    DWORD dwBytesOverwritten;
    BYTE rgucOverWrite[] = {0xe9,0,0,0,0};
    WriteProcessMemory(hTaskManager,(LPVOID)GetProcAddress(GetModuleHandle("ntdll.dll"),"NtQuerySystemInformation"),rgucOverWrite,5,&dwBytesWritten);

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,535
    > error avr-objcopy: 'robots.elf': No such file
    Look at your build process and figure out why it wasn't created.

    Or perhaps it is created, but with a different name (or in another directory).
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Registered User
    Join Date
    Apr 2012
    Posts
    4
    i have following error message
    Build started 25.4.2012 at 10:30:43
    mmcu=atmega16 -Wall -gdwarf-2 -Os -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT robot.o -MF dep/robot.o.d -c ../robot.c
    /usr/bin/sh: -Wall: command not found
    make: [robot.o] Error 127 (ignored)
    mmcu=atmega16 -Wl,-Map=robot.map robot.o -o robot.elf
    /usr/bin/sh: -Wl,-Map=robot.map: command not found
    make: [robot.elf] Error 127 (ignored)
    avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature robot.elf robot.hex
    avr-objcopy: 'robot.elf': No such file
    make: *** [robot.hex] Error 1
    Build failed with 1 errors and 0 warnings...

    i don't know why this error occurred

  6. #6
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Looks like you dont have avr-gcc setup(those command arguments look like gcc, but no gcc command is used), or at least the development environment doesn't know how to find it

    First link on google gives - Set up AVRStudio to use AVR-GCC compiler | Scientific, embedded, biomedical, electronics contents.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 15
    Last Post: 11-28-2011, 10:48 AM
  2. Replies: 4
    Last Post: 07-24-2011, 09:38 PM
  3. Replies: 1
    Last Post: 11-15-2010, 10:14 AM
  4. what is the meaning of this massage..
    By transgalactic2 in forum C Programming
    Replies: 4
    Last Post: 12-05-2008, 06:46 AM
  5. Replies: 3
    Last Post: 10-02-2007, 09:12 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21