"make micaz install mib520,com6" is what you were typing, right? The keyword "mib520" does not exist in the make tools for TinyOS 1.x. You can make a mib520.extra file yourself (on mine I have it so "make micaz install mib520" works, but I did that myself), but use mib510 instead:
make micaz install mib510,/dev/ttyS5 If you don't specify "mib510" then you're going to get those flash errors. If you have the wrong COM port, then you'll simply receive the error "Programmer is not responding." -david -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leonardo B. Oliveira Sent: Thursday, September 21, 2006 11:36 AM To: Michael Collett Cc: [email protected] Subject: Re: [Tinyos-help] flash error(micaz & mib520 & tinyos1.11 & Blink),any clue? i've tried everything and it still does not work. Is there any other way of verifying if my micaz motes' hardware is ok? when i turn the switch on the led blinks. Thank you again. Leonardo Michael Collett ([EMAIL PROTECTED]): > > I think that error generally means it cant see your device. This may be pointing you in the right direction... > > Mike > -----Original Message----- > From: Fenghua Yuan [mailto:[EMAIL PROTECTED] > Sent: 18 August 2006 18:00 > To: Michael Collett > Subject: Re: [Tinyos-help] Problem when download application to micaz/mib510 > > > Hi, > we found out that is caused by hardware connection problem. Now everything is ok. > Thank you very much for your help. > > best, > Fenghua > > > On 8/18/06, Michael Collett <[EMAIL PROTECTED]> wrote: > A couple of points: > > You haven't included a node id number after reinstall. I'd also recommend using /dev/ttyS(n-1) instead of Comn. Also using full stops instead of commas has been discussed in the archives and some find it works more reliably. > > In your case the command would become something like: > > make micaz reinstall.7 mib510./dev/ttyS5 > > Where 7 is your chosen node id, which should be different for each node (and usually 0 for the base by convention). > > Another option: > > If you have MoteView (software for visualising surge programmed motes) which comes with XBow developer kits, then this has a facility for programming motes. Just look at the tools menu. The file you want to select will be within the build folder of you application folder. This is useful because you can set the radio bands and powers without having to change any header files. > > Hope this helps, > > Mike > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ]On Behalf Of Fenghua Yuan > Sent: 18 August 2006 01:18 > To: [email protected] > Subject: [Tinyos-help] Problem when download application to micaz/mib510 > > > Hi > > I installed the Tinyos-1.1.11 (download from tinyos website) > refer to the link: Windows Installshield Wizard for TinyOS CVS Snapshot 1.1.11 (less tested, but fresh) > > The compilation for micaz ($make micaz) is finished without error, > but when i try to download the application (e.g. Blink) to the micaz/mib510 after the compilation, > it stucked, and what was shown on the cygwin screen is: > > $make micaz reinstall mib510,com6 > cp build/micaz/main.srec build/micaz/main.srec.out > installing micaz binary using mib510 > uisp -dprog=mib510 -dserial=com4 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff > --erase --upload if=build/micaz/main.srec.out > > Does anybody have any idea or suggestion about how to solve this problem? > thanks > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Leonardo B. Oliveira > Sent: 20 September 2006 12:50 > To: [email protected] > Subject: [Tinyos-help] flash error(micaz & mib520 & tinyos1.11 & > Blink),any clue? > > > Dear all, > > I' facing the following error: "flash error" > I know this is a common error, but i didn't find messages in the > list describing the error over the mib520. > I have already tried with another micaz and w/ another mib520. > telosb mote is working properly and toscheck is ok. > Also, i can see the telosb w/ motelist command, but i can't see > the micaz -- the motelist is supposed to work w/ micaz as well? > I'm not sure. > Any help will be very appreciated. > > I am using the following cmd: > "make micaz install mib520,com6" and my available COM ports > after the FTDI installation are COM6 and COM7. See: > > [EMAIL PROTECTED] /opt/tinyos-1.x/apps/Blink > $ make micaz install mib520, com6 > mkdir -p build/micaz > compiling Blink to a micaz binary > ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall > -Wshadow -DDEF_TOS_ > M_GROUP=0x7d -Wnesc-all -target=micaz > -fnesc-cfile=build/micaz/app.c -board=mic > sb -DIDENT_PROGRAM_NAME="Blink" > -DIDENT_PROGRAM_NAME_BYTES="66,108,105,110,107, > " -DIDENT_USER_ID="Administrador" > -DIDENT_USER_ID_BYTES="65,100,109,105,110,105 > 115,116,114,97,100,111,114,0" -DIDENT_HOSTNAME="scorcese" > -DIDENT_HOSTNAME_BYTE > ="115,99,111,114,99,101,115,101,0" -DIDENT_USER_HASH=0x5baea872L > -DIDENT_UNIX_T > ME=0x45103a59L -I/opt/tinyos-1.x/tos/lib/CC2420Radio Blink.nc > -lm > compiled Blink to build/micaz/main.exe > 1674 bytes in ROM > 48 bytes in RAM > avr-objcopy --output-target=srec build/micaz/main.exe > build/micaz/main.srec > avr-objcopy --output-target=ihex build/micaz/main.exe > build/micaz/main.ihex > writing TOS image > cp build/micaz/main.srec build/micaz/main.srec.out > installing micaz binary with dapa > uisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 > --wr_fuse_e=ff --erase > pulse > Atmel AVR ATmega128 is found. > Erasing device ... > pulse > Reinitializing device > Atmel AVR ATmega128 is found. > > Fuse High Byte set to 0xd9 > > Fuse Extended Byte set to 0xff > sleep 1 > uisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 > --wr_fuse_e=ff --upload if= > uild/micaz/main.srec.out > pulse > Atmel AVR ATmega128 is found. > Uploading: flash > > Fuse High Byte set to 0xd9 > > Fuse Extended Byte set to 0xff > sleep 1 > uisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 > --wr_fuse_e=ff --verify if= > uild/micaz/main.srec.out > pulse > Atmel AVR ATmega128 is found. > Verifying: flash > flash error at address 0x0: file=0x0c, mem=0xff > flash error at address 0x1: file=0x94, mem=0xff > flash error at address 0x2: file=0x46, mem=0xff > flash error at address 0x3: file=0x00, mem=0xff > .... > Fuse High Byte set to 0xd9 > > Fuse Extended Byte set to 0xff > rm -f build/micaz/main.exe.out build/micaz/main.srec.out > > > Thanks in advance, > > -- > Leonardo > > -- > > Cordialmente, > > Leonardo > > "A gente só sabe bem aquilo que não entende". > Guimarães Rosa > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > ------------------------------------------------------------------- > This e-mail and any attachments may contain confidential and/or > privileged material; it is for the intended addressee(s) only. > If you are not a named addressee, you must not use, retain or > disclose such information. > > NPL Management Ltd cannot guarantee that the e-mail or any > attachments are free from viruses. > > NPL Management Ltd. Registered in England and Wales. No: 2937881 > Registered Office: Serco House, 16 Bartley Wood Business Park, > Hook, Hampshire, United Kingdom RG27 9UY > ------------------------------------------------------------------- -- Cordialmente, Leonardo "A gente só sabe bem aquilo que não entende". Guimarães Rosa _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
