Menu

make rene install errror

Help
2002-05-01
2002-05-02
  • Brett Nadler

    Brett Nadler - 2002-05-01

    With little experience, I ran into a transfer problem with the "make rene install" command using version 0.6.

    I recieved an error 2 after attempting to load it onto the rene mote.  "make rene" worked fine.  Assistance is appreciated.

    Administrator@ESA-WR1 /cygdrive/g/nest/apps/cnt_to_leds
    $ make rene install
    make: Nothing to be done for `rene'.
    avr-objcopy --output-target=srec binrene/main.exe binrene/main.srec
    uisp -dprog=dapa --erase
    pulse
    Atmel AVR AT90S8535 is found.
    Erasing device ...
    pulse
    Reinitializing device
    Atmel AVR AT90S8535 is found.
    sleep 1
    uisp -dprog=dapa --upload if=binrene/main.srec
    pulse
    Atmel AVR AT90S8535 is found.
    Uploading: flash
    Error: Data polling readback status: write=0x10 read=0xff
    If device was erased disable polling with the -dno-poll option.
    make: *** [install] Error 2

     
    • Manuel Ruiz-Sandoval

      Hello!

      I usually have this problem, and you could try the following:

      1.Connect directly the programming board to the parallel port and try again
      2.Dismount and mount the rene to the programming board.
      3.Retry several times make rene install, sometimes I have success loading the program

      I hope you this help

      Manuel RuizSandoval

       
    • Kristin Wright

      Kristin Wright - 2002-05-01

      In addition to Manuel's advice, make sure that
      the version of uisp on your machine is the version that is bundled with TinyOS 0.6 (though
      you're not using Mica, so this may not even be
      a problem).

      A little more information: starting with 0.6, you can find uisp in /nest/tools/uisp. If you used the TinyOS distribution (either the linux RPM or the InstallShield CD) uisp gets compiled and installed for you. If you want to double-check
      or if you didn't install from one of the above
      packages, you can do this:

      linux:

      - cd nest/tools/uisp/src
      - make
      - make install
      - chmod 4755 /usr/local/bin/uisp

      windows:

      - cd nest/tools/uisp/src
      - make
      - make install
      - cd nest/tools/uisp/kernel
      - make install

      There's also a couple more suggestions in
      a reply to a post Manuel did on 4/1/2002 under
      the subject "Problems using the Rene Programming
      Board".

      I hope this helps.

      -kw

       
    • Brett Nadler

      Brett Nadler - 2002-05-02

      After opening Makefile for cnt_to_leds and generic_base application directories, I found them to be empty with only an "include Makeinclude" statement.  I was planning on trying to modify the uisp command as previous given by Kristin (4.1.02) but obviously that's not possible.  Am I looking at the wrong Makefile?

       
      • Lin Gu

        Lin Gu - 2002-05-02

        That is normally what a makefile is in a specific application's directory. If you want to modify the real content of the makefile you can modify the file "../Makeinclude", or (often a better way) experiment by copying the content of the included makefile and modify on it.

        lin

         

Log in to post a comment.

Monday.com Logo