Hi Michael,
Thanks for your help...
My boards use Atmel controller and CC2420, so the generic chips are the same, it does not use a serial data logger but uses a EEPROM instead. The codes are so TINY that i might not need it. So, i have also basically copied Mica platform and made a new platform called "Chipconz" but changed the PIN Assignements according to my boards. Is it the right approach??

Cheers!!!!!
Varun

Michael Schippling wrote:
The answer to the first question is put the JDK in your path before
any windows directories, or you will end up with Unka'Bills sorta-java.
Sounds like you figured that out.

As to porting, I'm just using mica2's and 'z's so not much use. I guess
the basic idea is to create a new platform (or chip in T2) directory
and copy in and modify anything that you want to use that has different
pin assignments. I got a little single chip ATMEGA board that I keep
meaning to do something in this realm with someday. The trick is to
figure out how the platform is selected during makes. You might be
able to rummage through Makerules and find the place to add yours.
Or else just hack an existing directory/platform like "mica" and
be done with it.

also, you should send questions to the whole help list so we can
keep a record of any possibly useful answers...
MS

Spidernet Lists wrote:
Hi Michael,
Thanks a lot.. i was just able to fix the error and all the files are building well. I am using Chipcon's CC2420DBK boards. Which ones are you using?? Do you hav any idea about porting the platform. I have read a tutorial on TinyOS site.... It is very similar to Micaz mote but my boards uses general IO ports differently.,,, just Push buttons and LED's at different ports.. the interfaces are same... do you have any idea on this???


Cheers!!!!
Varun Jain


Michael Schippling wrote:
Most likely you do not have the java install bin directory in your PATH.
For instance mine is:

export PATH="/cygdrive/c/JAVA/j2sdk1.4.2_04/bin:.:$PATH"

and doing this should show you where it is:

enfield:schip [361] type javac
javac is /cygdrive/c/JAVA/j2sdk1.4.2_04/bin/javac

MS


Spidernet Lists wrote:
Hi all,

I am having the following error:


mkdir -p build/chipconz
javac RadioSenseMsg.java
make: javac: Command not found
make: *** [RadioSenseMsg.class] Error 127



I already have the Java rpm installed, so why am i having this error and what is the solution??


_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to