Hello 

At the outset let me apologize for a long mail. And for putting too many
things in a single mail.

I would like to explore installation of TinyOS on Ubuntu (10.04). I have
SDCC 2.9.0 installed. I have a CC2430 (8051 SOC) based mote. 
I have gone through the TinyOS working group website and followed the
instructions. 

What I would like to do is use only open source tools (rules out Keil &
IAR only option being SDCC) with no virtualisation (rules out wine
etc.). 

Has someone tried doing this? I would be grateful to receive feedback
from anyone who has had success in doing this. 

One major issue is that even if everything does go smooth, once the Hex
file is generated, we need a tool (like CC Debugger from TI or SmartRF
eval board) for flashing. 

In this regards, I tried to use cc-tool. I followed the procedure as
given here. 

http://renoir.en.kku.ac.th/coewiki/doku.php?id=wsn:contiki:contiki_--_how_to_program_smartrf05_evaluation_board_using_cc-tool

I am able to detect the board, and flash it with a Blink equivalent code
using a CC Debugger (TI), but almost always it fails in the verification
procedure. Snapshot given below

$ sudo cc-tool -ew /home/home/Downloads/uart.hex -d'004:008' -v
  Programmer: CC Debugger
  Target: CC2430
  Erasing flash...
  Erasing completed
  Writing flash... (17 KB)...
  Writing completed (10.63 s.)
  Verifying flash...
  Verification failed
$

I tried to see what hex code is dumped into the flash, and its all
mostly junk hex numbers and not the intended ones. 

Is there someone who has tried this? 

I also tried to connect SmartRF04EB to cc-tool. Though the website says
cc-tool supports 04EB, it is not getting detected at all when "cc-tool
-t" is used. It always looks only for CC Debugger. What is wrong? 

https://github.com/misham/cc-tool#readme

$lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 022: ID 11a0:eb20 Chipcon AS 
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
Bus 003 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ cc-tool -t
  CC Debugger device not found

Any amount of google search would lead nowhere but the same sites as
listed above. 

Any help would be appreciated.

Thanks & Regards,

-- 
raja <[email protected]>
C-DAC


-------------------------------------------------------------------------------------------------------------------------------

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to