Hi!
Can you give a try to the deluge-mica2 head from the GIT tree from here:
http://hinrg.cs.jhu.edu/git/?p=razvanm/tinyos-2.x.git
Getting the code by cloning the whole repository can be done using the
following commands:
git clone git://hinrg.cs.jhu.edu/git/razvanm/tinyos-2.x.git
cd tinyos-2.x
git checkout -b deluge-mica2 origin/deluge-mica2
In an already existing GIT tree the import can e done like this:
git fetch git://hinrg.cs.jhu.edu/git/razvanm/tinyos-2.x.git
default-lpl:refs/remotes/razvanm/deluge-mica2
git checkout -b deluge-mica2 razvanm/deluge-mica2
I don't have any mica2/mica2dot so I was only able to test that everything
compiles. :-)
All the best!
Razvan ME
On Fri, 4 Sep 2009, Bunsenbrenah wrote:
> Hi!
>
> I've come across your posting about getting deluge to work with MICA2
> nodes at
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-June/033937.html
> and was wondering whether you were able to solve the issues described.
> Your guide refers to tinyos-1.x as far as I understand it? I would like
> to get mica2 support for deluge T2 (tinyos-2.x) and use this guide as a
> starting point - maybe you've done something similar in the meantime?
> Also, I was hoping you could clear up some things that seem unclear to me:
>
>> 2 . modify the file hardware.h in TOSBOOT/mica2 . add the sentences at
>> about lines 101? :
>> TOSH_ASSIGN_PIN(BAT_MON, A, 5);
>> TOSH_ASSIGN_PIN(THERM_PWR, A, 7);
>> chage the value of VOLTAGE_PORT to 7 . (i refer to tinyos-1.15) , i think
>> it should be 30 .
>
> Should VOLTAGE_PORT be 30 (default) or 7?
>
>> 6 . go to /opt/tinyos-2.x/tos/lib/net/Deluge/extra , copy the files
>> NetProgC.nc and NetProgM.nc in extra/iris to extra/mica2 .
>
> Why are you using IRIS as template and not micaz like before?
>
>> 7 . /opt/tinyos-2.x/support/make, modify the file bnp.extra , add the
>> sentences at about line29 ?:
>> ifeq ($(TARGETS),mica2)
>> CFLAGS += -I$(DELUGE_EXTRA)/mica2 -I$(DELUGE_EXTRA)/micaz
>> -I$(DELUGE_EXTRA)/avr -I$(DELUGE_EXTRA)
>> BOOTLOADER ?= $(TOSBOOT_DIR)/mica2/main.ihex
>> AVR_FUSE_H ?= 0xda
>> endif
>
> There is no file named bnp.extra. Maybe this is due to a deluge update?
>
> Great work figuring out how to add mica2 support in the first place, by
> the way!
>
> Cheers,
> Bb
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help