Firstly,thanks for your reply and detailed help.

 when i plug in the programming board,there seems to be only one 
device(/tty/ttyS0) created. I use dmesg for checking,do not find that 
device(/dev/ttyUSB). so i execute "make micaz reinstall.20 mib520,/dev/ttyS0"

 but the result is as following:
 installing micaz binary using mib510

 -dprog=mib510 -dserial=/dev/ttyS0
  Programmer is not responding.

 i use the mib520cb ,and now i am so confused. has anybody seen this problem?  
I only have the mib520. thanks in advance.
best wishes

                                                                    jackg
                                                                 2008,11,7



在2008-11-06,"Janos Sallai" <[EMAIL PROTECTED]> 写道:
The driver is included in most linux distributions. Once you plug in the 
programming board, there will be two new devices (typically /dev/ttyUSB0 and 
/dev/ttyUSB1) created. Use the lower one to program the mote:

make micaz install.20 mib520,/dev/ttyUSB0

The higher one is for communication, so you would probably need to set the 
MOTECOM environment variable:

export MOTECOM=serial@/dev/ttyUSB1:micaz

Janos


2008/11/6 guoyuehua.cool <[EMAIL PROTECTED]>

 thanks for your reply. after connecting the mib520cb, when i execute "dmesg | 
grep tty",the result is as following:
 serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

 so i guess i can use "make micaz install 20 /dev/ttyS0" for installing the 
application in the mote. the error is as following:
    cp build/micaz/main.srec build/micaz/main.srec.out
    installing micaz binary using dapa
    uisp -dprog=dapa                      --wr_fuse_h=0xd9 -dpart=ATmega128  
--wr_fuse_e=ff   --erase    --upload if=build/micaz/main.srec.out --verify
    /dev/parport0: No such file or directory
    Failed to open ppdev.
    make: *** [program] Error 2
 I am wondering if "make micaz install 20 /dev/ttyS0" is wrong ,or i have to 
finish other configuration before installing the application. has anybody seen 
these problem and known how to solve the problem ?  thanks for your help.
   best wishes

                                                                                
          jackg
                                                                                
          2008,11,6                                                             
                     

 

在2008-11-06,"Janos Sallai" <[EMAIL PROTECTED]> 写道:

The driver should be included in kernel 2.6.16. Check dmesg before and after 
connecting the programming board to see if the driver module has been loaded. 
If yes, you should be able to see and use /dev/ttyUSB0 and /dev/ttyUSB1.

Janos


2008/11/5 guoyuehua.cool <[EMAIL PROTECTED]>

 
 hi:

   firstly,thanks for your reply.as the http://www.ftdichip.com/Drivers/VCP.htm 
website,i has downloaded the linux  version of Virtual COM port (VCP) 
drivers.when i execute "make" for generating the module.the error is as 
following:
   error: /lib/modules/2.6.16/build/include/linux/modversions.h: No such file 
or directory. 

    i guess my kernel version is wrong.In the readme said"it is adapted from 
the 2.4.32 kernel to support both the 2232c and 232r chip".but the 2.4.32 do 
not support ipv6.In my project,the kernel must support it.
   our programming board is mib520cb,i do not know which FT** chip can match 
our programming board.so which kernel version i can use for installing vcp 
drivers.thanks in advance. i know that my problem is a littele confusion and 
stupid.but it is very important for me.has anybody installed the mib520cb 's 
driver ? 
     best wishes:)

                                                                      jackg
                                                                   2008,11,5 



[广告] 凯旋珠联"利"合分期付款优惠活动进行中
_______________________________________________
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

Reply via email to