Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
newjou
PostPosted: Oct 25, 2010 - 10:19 AM
Rookie


Joined: Oct 02, 2010
Posts: 39


Hi,

thanks for your answers.

I ordered my first 2 zigbits ATZB-24-A2 and I just received them but I try to run without succes.

In fact, I looking for the basic application that can let me communicate with my modules.

I connect 1 Zigbit through the USB serial TTL-232R-PCB TO the Hyper terminal of PC so I can use AT command, but, As I did it, nothing worked.

I realise: it seems that I need additionnal hardware or software.
I try to download Bitcloud SDK from Atmel, after registering twice, i did'nt see a link to download an EXEC of Bitcloud.

For me it seems that I need a programmer, because it looks like a simple Zigbit has no program inside to run it, only stater kit has it but It is quite impossible for me to have a starter kit now.

I please you help to handle my Zigbit module
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Oct 25, 2010 - 11:17 AM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA

newjou wrote:
I connect 1 Zigbit through the USB serial TTL-232R-PCB TO the Hyper terminal of PC so I can use AT command, but, As I did it, nothing worked.
What pins exactly you connected?

newjou wrote:
i did'nt see a link to download an EXEC of Bitcloud.
SDK is a ZIP file, not exec. If you manage to get .zip about 70Mb in size - that's it.

newjou wrote:
For me it seems that I need a programmer, because it looks like a simple Zigbit has no program inside to run it
ZigBit has serial bootloader programmed. PC-part of bootloader is in SDK, you need working serial connection to module and reset button. Reset button may not be necessary for the first programming since only bootloader is running, but it will be required for the next one.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
newjou
PostPosted: Oct 25, 2010 - 12:49 PM
Rookie


Joined: Oct 02, 2010
Posts: 39


Quote:
What pins exactly you connected?


I connect
TXD-USB to 13: TXD zigbit
RXD-USB to 14: RXD zigbit
RTS#-USB to 15: RTS
CTS#- USB to 16: CTS

GND- USB to 9: zigbit
VCC-USB to a pot from 5V to 3,5V to 24: zigbit
I download driver of USB and I opend Hyp terminal but I did'nt see Baud rate, so i ll try to update my hyper termianl


Quote:
If you manage to get .zip about 70Mb in size - that's it.


I try to dowload SDK from this website
http://www.atmel.com/dyn/general/tech_d ... c_id=12052

but it direct me in this one
http://www.atmel.com/dyn/products/tools ... ol_id=4495

so, it gives only datasheet or register without download, please do you have the right link for that?

thanks
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Oct 25, 2010 - 01:04 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA

You need to download "BitCloud SDK for ZigBit 900 modules/RCBs" (name is incorrect, it also includes SDK for 2.4GHz ZigBits). Tech support guys said that right now there are some technical difficulties with this download. Try again later.

Your connections seem to be correct, get SDK and try bootloader.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
newjou
PostPosted: Oct 25, 2010 - 01:36 PM
Rookie


Joined: Oct 02, 2010
Posts: 39


thanks Alexru,

I will check when the SDK will be available on the website.

So, without, SDK i can't use zigbit even with hyper terminal?
Because if fnaly, SDK is not avalable, is there any other possibility to use Zigbit module?

Thans
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Oct 25, 2010 - 01:40 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA

newjou wrote:
So, without, SDK i can't use zigbit even with hyper terminal?
What do you want to do with it? Module is produced and supposed to be programmed, so it does not contain any program by default (except for bootloader).
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
newjou
PostPosted: Oct 25, 2010 - 01:57 PM
Rookie


Joined: Oct 02, 2010
Posts: 39


In fact,
i want to built a network with 8 zigbit module.
I bought 2 to test I/O and CAN.

If it works I will measure and display temperature, pressure, and home automation (in 1km).

The developpement kit of Meshnetic allowed to handle 3 zigbit with AT command through Hyper terminal. But as developpement kit does'nt exist including his price so high,
I am looking for all tool I may need to run my projet with Zigbit.
If internal bootload is not enough, I may need additionnal programmer like JTAG?
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Oct 25, 2010 - 02:06 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA

newjou wrote:
If internal bootload is not enough, I may need additionnal programmer like JTAG?
Internal bootloader should be enough, but you still need SDK to get PC bootloader and SerialNet.srec file to program into ZigBit.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
newjou
PostPosted: Oct 25, 2010 - 02:28 PM
Rookie


Joined: Oct 02, 2010
Posts: 39


In case SDK is not on the website ASAP,
does some body who has it can send it by email?

SerialNet.srec is include in bitcloud SDK?

thanks
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Oct 25, 2010 - 02:55 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA

newjou wrote:
In case SDK is not on the website ASAP,
does some body who has it can send it by email?
Sure, I've downloaded it while it still was available. I have it at home and as soon as I get there I'll attach them here.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
sandmann
PostPosted: Oct 25, 2010 - 03:39 PM
Rookie


Joined: Dec 29, 2009
Posts: 34


You find it attached.
 
 View user's profile Send private message  
Reply with quote Back to top
newjou
PostPosted: Oct 25, 2010 - 04:06 PM
Rookie


Joined: Oct 02, 2010
Posts: 39


Thank you Alex,
I have the file now, I will be looking for the SDK to stat with test.

Please, how am I suppose to joint SerialNet_RF230 with SDK?

thank you again for your great support
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Oct 25, 2010 - 05:15 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA

newjou wrote:
Please, how am I suppose to joint SerialNet_RF230 with SDK?
Here is bootloader and SerialNet from latest SDK. Run bootloader, tell it your COM-port and point it to .srec file. If UART connection works then module will be programmed with SerialNet and will be able to work with AT-commands.

PS: I'm not allowed to attach files more than 2MB in size, so here is the link to download: http://dl.dropbox.com/u/6121480/sn_bootldr.zip
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
spincraft
PostPosted: Oct 25, 2010 - 06:34 PM
Wannabe


Joined: Sep 09, 2010
Posts: 85
Location: san diego CA US

Hi,

I am following this thread and want to add some info. Just in case you need to connect up to a Dragon via JTAG, here is the JTAG connector to ZigBit A2 module pinout.
Code:

JTAG   Name   Description   ZigBit A2 pin#
Pin#         
1      JTAG_TCK    Scan clock      29
2      JTAG_GND    Digital ground    22, 23
3      JTAG_TDO    Test data output    28
4      JTAG_VCC    Controller supply volts     24,25
5      JTAG_TMS    Test mode select    26
6      JTAG_RST    Reset; active low    8
7       N_Cont     Not connected    n.c.
8       N_Cont     Not connected    n.c.
9      JTAG_TDI    Test data input    27
10     JTAG_GND    Digital ground    22,23

I hope someone with more experience than I will check this info to be sure.
Thanks
 
 View user's profile Send private message  
Reply with quote Back to top
newjou
PostPosted: Oct 25, 2010 - 08:36 PM
Rookie


Joined: Oct 02, 2010
Posts: 39


Hi ALex,
thak you a lot I m really proud to stard sharing information with the Zig, I Will start working on my projet may be soon
 
 View user's profile Send private message  
Reply with quote Back to top
newjou
PostPosted: Oct 26, 2010 - 11:57 AM
Rookie


Joined: Oct 02, 2010
Posts: 39


Hello!

I started sharing sharinf information like lighting a Led, but when I enter differents command to communicate with and other Zigbit, the zigbit return Ok until I enter AT+AUTONET=1Z, instead of returning EVENT:JOINED, the hyper terminal remain STATIC and it becomes impossible to enter any command until I reset the entier modul Zigbit and restard again.

Do you have a solution please?
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Oct 26, 2010 - 12:05 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA

newjou wrote:
Do you have a solution please?
Correct command is "at+wautonet=1", what module says in response to "ati" command?
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
newjou
PostPosted: Oct 26, 2010 - 12:24 PM
Rookie


Joined: Oct 02, 2010
Posts: 39


I didn't use "ATI" yet, I don't know it yet,

I was in the first module.

Is the Hyper terminal enough to contrĂ´l Zigbit? because I will like to use time, CAN, interrup...
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Oct 26, 2010 - 12:33 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA

newjou wrote:
I didn't use "ATI" yet, I don't know it yet,
Well, use it Smile

newjou wrote:
Is the Hyper terminal enough to contrĂ´l Zigbit? because I will like to use time, CAN, interrup...
Of course not, ATmega1281 that is inside ZigBit does not have CAN support. To use timers, interrupts, etc you'll need full SDK and program in C.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
newjou
PostPosted: Oct 26, 2010 - 12:35 PM
Rookie


Joined: Oct 02, 2010
Posts: 39


I m using the first module,

When I enter command "at+wautonet=1" the answer is OK not "event: joined" I waited.
I will now do the same with the second Zig in the same computer hopping to see "EVENT:CHILD_JOINEDxxxxx)
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits