WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2013-Jul-14 11:54:23

ihatebugs
Member
Registered: 2013-Jul-13
Posts: 5

Unable to initialize the node

Hi,

I follow the instruction online to set up the hardware. However, when I insert the SD Card into WARP, the hex display first displays 00 and then quickly changes to EF. Also, the four red LED lights keep blinking. I check the C code and the 'EF' display seems to indicate that function global_initialize() fails. But since global_initialize calls several init functions, I'm unable to know exactly which step has a problem. How should I debug it and what error is it?

Thank you very much!

Last edited by ihatebugs (2013-Jul-14 12:00:49)

Offline

 

#2 2013-Jul-14 12:00:13

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Unable to initialize the node

You need to be much more specific about what you've tried. What design are you trying to use? Which set of instructions did you follow? What is your hardware setup (DIP switch settings, external cable connections, etc.)?

Offline

 

#3 2013-Jul-14 12:03:39

ihatebugs
Member
Registered: 2013-Jul-13
Posts: 5

Re: Unable to initialize the node

Hi,

Sorry about that. I'm using WARPLab 7.1.0 and followed the quickstart instructions on this webpage: http://warpproject.org/trac/wiki/WARPLab/QuickStart. I set DIP switch to zero and directly connect WARP board to my laptop using ethernet cable.

Offline

 

#4 2013-Jul-14 12:07:35

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Unable to initialize the node

EF on the hex display indicates an error during the hardware init process in the WARPLab code. The most common source of this error is using the wrong bitstream for your hardware setup (i.e. using the 4RF bitstream on a WARP v3 node with no FMC radio module).

I would suggest connecting a micro-USB cable to the USB-UART and using a terminal emulator to watch the WARPLab design boot messages (USB UART howto here).

Offline

 

#5 2013-Jul-14 13:06:52

ihatebugs
Member
Registered: 2013-Jul-13
Posts: 5

Re: Unable to initialize the node

I see. However, I tried to use the 2RF bitstream on it and it still displayed EF. I guess I'll try to use the micro-USB cable. Thank you!

Offline

 

#6 2019-Sep-03 03:05:35

wlJ
Member
Registered: 2019-Sep-02
Posts: 8

Re: Unable to initialize the node

Hello there!
I have encountered some problems recently when using warp.
1. I have been using WARP V3 board in WARPLab mode before, and I wrote 2RF.bin to slot0, 4RF.bin to slot1, and warp has been running well. I can use siso_ofdm.m for normal transmitting and receiving signals.
2. Now I want to use 802.11 reference design. Therefore, I wrote the AP.bin of the 802.11 reference design to slot 3, STA.bin to slot 4, the Ubuntu system, and the writing success. Then when I reinsert the SD card into WARP and select slot0 in the FPGA DIP switch, run siso_ofdm.m and MATLAB reports ERROR MESSAGE ">> wl_example_siso_ofdm_txrx
MEX-file is terminating
Loaded wl_mex_udp_transport version 1.0.4a

Error in node 2 with ID = 1:
ME =

  MException :

    identifier: 'wl_transport_eth_mex:send:noReply'
       message: 'maximum number of retransmissions met without reply from node'
         cause: {0x1 cell}
         stack: [7x1 struct]

Error message follows:
maximum number of retransmissions met without reply from node


Error in node 1 with ID = 0:
ME =

  MException :

    identifier: 'wl_transport_eth_mex:send:noReply'
       message: 'maximum number of retransmissions met without reply from node'
         cause: {0x1 cell}
         stack: [7x1 struct]

Error message follows:
maximum number of retransmissions met without reply from node

Wrong Usage wl_initNodes (line 164)
The following nodes with IDs = [ 1 0 ] are not responding. Please ensure that the nodes have been configured with the WARPLab bitstream.

Error wl_example_siso_ofdm_txrx (line 54)
    nodes   = wl_initNodes(NUMNODES);".

3. To solve Problem 2, I tried to rewrite 2RF.bin to slot 0. MATLAB still has the same error.
4. I continue to try to write 2RF.bin to the SD card using Mac OS. The same problem still occurs with MATLAB when running siso_ofdm.m.
5. To verify that the SD card is good, I used the Windows system to write the w3_newCard.bin file to slot 0 of the SD card. Then insert WARP, after the power on, the digital screen shows that the digital accumulation function is normal.  The switches and network cables I use are all Gigabit-rate, and after the Internet cable is plugged in, the three lights of the switch are on. So I am wondering what is the problem that makes my 2RF.bin unreadable?

Thank you very much!

Last edited by wlJ (2019-Sep-03 03:07:21)

Offline

 

#7 2019-Sep-03 09:14:31

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Unable to initialize the node

You're confusing the 802.11 Reference Design and the WARPLab Reference Design. WARPLab scripts (like wl_example_siso_ofdm_txrx.m) only work with the WARPLab Reference Design.

Offline

 

#8 2019-Sep-03 09:22:00

wlJ
Member
Registered: 2019-Sep-02
Posts: 8

Re: Unable to initialize the node

Hi,
I have not yet run a script for 802.11. I use the WARPLab reference design, run the siso_ofdm.m script, and select the file in slot0. slot0 of the FPGA on the WARP board as w3_WARPLab_7.7.1_2RF.bin.  Then MATLAB gives an error.

>>wl_example_siso_ofdm_txrx
MEX-file is terminating
Loaded wl_mex_udp_transport version 1.0.4a

Error in node 2 with ID = 1:
ME =

  MException :

    identifier: 'wl_transport_eth_mex:send:noReply'
       message: 'maximum number of retransmissions met without reply from node'
         cause: {0x1 cell}
         stack: [7x1 struct]

Error message follows:
maximum number of retransmissions met without reply from node


Error in node 1 with ID = 0:
ME =

  MException :

    identifier: 'wl_transport_eth_mex:send:noReply'
       message: 'maximum number of retransmissions met without reply from node'
         cause: {0x1 cell}
         stack: [7x1 struct]

Error message follows:
maximum number of retransmissions met without reply from node

Wrong Usage wl_initNodes (line 164)
The following nodes with IDs = [ 1 0 ] are not responding. Please ensure that the nodes have been configured with the WARPLab bitstream.

Error wl_example_siso_ofdm_txrx (line 54)
    nodes   = wl_initNodes(NUMNODES);".

Offline

 

#9 2019-Sep-03 09:47:43

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Unable to initialize the node

What does the node's UART print on boot?

Offline

 

#10 2019-Sep-03 21:09:56

wlJ
Member
Registered: 2019-Sep-02
Posts: 8

Re: Unable to initialize the node

Hi~
I'm sorry for that. I didn't use the UART port, so I don't know what information it will print. I have been using an Ethernet cable and a switch to connect to a PC. How can I see the information printed by the UART?

Thank you very much!

Offline

 

#11 2019-Sep-03 21:18:29

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Unable to initialize the node

Offline

 

#12 2019-Sep-04 03:58:11

wlJ
Member
Registered: 2019-Sep-02
Posts: 8

Re: Unable to initialize the node

Hi,
Thanks a lot for your reply!

I just observed the boot process through the UART port and found that my PC IP settings are incorrect. After modifying the IP address of the PC, the warp can normally receive the MATLAB command.

Thank you again!

Offline

 

Board footer