problem with wsnmonitor-bitcloud

Go To Last Post
23 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi...
i have atmega128rfa1-ek1..i programed one of them with WSNDemoApp_Coord.hex in location BitCloud_MEGARF_1_10_0\BitCloud_MEGARF_1_10_0\Evaluation Tools\WSNDemo (Embedded)
and with fuse bit setting like picture below:

http://up.vatandownload.com/imag...

and program other board with WSNDemoApp_Router.hex in same location..

then connect PD2 and PD3 pin of coordinator to max232 and connect them to my laptop with com to usb adapter...

but when i open wsnmonitor nothing to display me!!

when i click on connect in wsn monitor i must enter location of protocol configuration folder... anybody! knows where is that folder?!
and what can i do to solve this problem...thanks...:)

Attachment(s): 

This topic has a solution.
Last Edited: Thu. May 19, 2016 - 10:35 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You need to select serial protocol and specify COM-port name, no need to change protocol configuration.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thannnnnnnksssssssssssssssssssss..........it workkkkkkkked:)..... :D
i enter the location where the wsnmonitor installed:)
i see coordinator but i can not see router:(..what can i do to see the other node like router? thanks again:)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

nta_xyz wrote:
what can i do to see the other node like router?
Describe LEDs behavior on the router node please.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

on the router green led on...red led blinking every 10 sec...
on the coordinator:led green on ...led red and yellow blinking...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

nta_xyz wrote:
on the router green led on...red led blinking every 10 sec...
Then it is in the network.

What extended address WSN Monitor shows for the coordinator?

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

0x0000...
like picture below:
http://up.vatandownload.com/imag...

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok, full (extended) address is 0xfff...fff. That means that you're done with precompiled images and need to build stuff from sources and play with it.

Specifically you need to change CS_UID in configuration.h file to a unique value for every node.

If that helps there is one more thing that we can try, but try the first one first.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

i confused:(...
i programmed coordinator and router from this location:
BitCloud_MEGARF_1_10_0\BitCloud_MEGARF_1_10_0\Evaluation Tools\WSNDemo (Embedded)
but wsndemo app and source code and configuration file is in this location:
BitCloud_MEGARF_1_10_0\BitCloud_MEGARF_1_10_0\Applications\WSNDemo
when i change CS_UID from here i must program coordinator o routers with which .hex file?!
thanks for guide me:)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

nta_xyz wrote:
when i change CS_UID from here i must program coordinator o routers with which .hex file?!
You didn't expected to just use those evaluation images and be happy with them, did you?

After you made your changes, just run "make clean all" in the application directory and it will make you new images that you can program.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

i can see now both of them thanks....:)

i have another question:)..
in wsndemo where is main function of program...or! where is start of the program!! thanksssssss again:)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

how can i send & recive data form coordinator to router & end device or from router or end device to coordinator?!!:)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

nta_xyz wrote:
in wsndemo where is main function of program...or! where is start of the program!!

C-stile main() function is located in the src/WSNDemoApp.c file. But actual application code starts from the APL_TaskHandler() function located in the same file.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

nta_xyz wrote:
how can i send & recive data form coordinator to router & end device or from router or end device to coordinator?!!:)
Study how sample application work, they all send and receive data.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

C-stile main() function is located in the src/WSNDemoApp.c file. But actual application code starts from the APL_TaskHandler() function located in the same file.

i can`t understand where or how start call, function in wsndemo app...for example apl_taskhandler() is a function but at first where call this function....!!
:(
i expected see someting like this:):!!!
void ....();
int .....();
void apl_taskhandler()
{
....
.....
}
main()
{
apl_task handler();
}

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Study how sample application work, they all send and receive data.

ok thanks:)..
is there any document to explain how this sample app(WSndemo) work?!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

nta_xyz wrote:
i can`t understand where or how start call, function in wsndemo app...for example apl_taskhandler() is a function but at first where call this function....!!

It is called from the closed part of BitCloud. BitCloud utilizes cooperative multitasking environment. APL_TaskHandler() is called by the stack in response to call SYS_PostTask(APL_TASK_ID) whenever there are no tasks with higher priority.

So consider APL_TaskHandler() as a main function.

nta_xyz wrote:
is there any document to explain how this sample app(WSndemo) work?!
I don't think so. Just take simplest application (LowPower or Peer2Peer) and carefully study all the code.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am also facing the same issue.The full address of coordinator in WSNMonitor is 0123456789ABCDEF.The coordinator is displayed in the WSN monitor.But the I cant see the routers.But the router returns ZDO_SUCCESS status .What Else to do for displaying routers

Last Edited: Tue. May 17, 2016 - 01:07 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Pick a sniffer and check the communication

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

umamaheswary wrote:

I am also facing the same issue.The full address of coordinator in WSNMonitor is 0123456789ABCDEF.The coordinator is displayed in the WSN monitor.But the I cant see the routers.But the router returns ZDO_SUCCESS status .What Else to do for displaying routers

 

as alexru  the problem was CS_UID. in pre compiled hex file all of the device get a same CS_UID you have to change that for all of your devices and compile it again :)...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am sending the configuration file for both coordinator and router please check that and let me know what i am missing

Attachment(s): 

Last Edited: Fri. May 20, 2016 - 12:10 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What it means if on the router green led blinking and red led blinking continously

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am using bit cloud SDK for AVR-atmega256rfr2 MCU for this I downloaded SDK from this site http://www.atmel.com/tools/BITCL... after reading the bit cloud development and quick start guide provided with bit cloud SDK, I started to implement WSNdemo app.For this I changed the application's configuration.h file with necessary CS_* parameters, then I recompiled the module again.I have set different CS_UID values for coordinator and router(I am working with one coordinator and router),also set device type.Then I used WSN monitor to view the nodes. At this time, I can see only the coordinator no routers.What I am missing.Please help me. I am sending configuration file for both coordinator and router.

Attachment(s):