• Visit https://www.embeddedcomputers.net/ for Hardware; Software and all other things related to FlashcatUSB

ubnt nanostation m2

bygokhan

New Member
Hello, my friends How do I make my device JTAG NanoStation m2. The device will not boot?

I offer my respects.
 
Can you show some photos of the board to see if it has JTAG points.
 
nanom2.jpg


Device: ar7240
ubiquiti nanostation m2
 
This device
 

Attachments

  • 20150907_121306.jpg
    20150907_121306.jpg
    2.8 MB · Views: 15
  • 20150907_121318.jpg
    20150907_121318.jpg
    2.5 MB · Views: 12
  • 20150907_121328.jpg
    20150907_121328.jpg
    2.5 MB · Views: 12
  • 20150907_224838.jpg
    20150907_224838.jpg
    5.1 MB · Views: 13
  • 20150907_224853.jpg
    20150907_224853.jpg
    5.1 MB · Views: 11
  • 20150907_224904.jpg
    20150907_224904.jpg
    5.2 MB · Views: 15
dear brother, I have problems with NanoStation m2 devices help you in what I expect to do. While the device software installed XM XM 5.6 5.5 software download requirement have worked. but the water that I tattooed serial console devices remain in the post until the booting .. thank you show me a way out aswell.


ar7240> bootm
## Booting image at 81000000 ...
Bad Magic Number
ar7240>




firmware flash tftp mode.

U-Boot 1.1.4.2-s956 (Jun 10 2015 - 10:54:50)
DRAM: 32 MB
Flash: 8 MB
PCIe WLAN Module found (#1).
Net: eth0, eth1
Board: Ubiquiti Networks XM board (rev 1.0 e012)
Hit any key to stop autoboot: 0
ar7240> u
Setting default IP 192.168.1.20
Starting TFTP server...
Using eth0 (192.168.1.20), address: 0x81000000
Waiting for connection: /
Receiving file from 192.168.1.254:50311
Received 7402747 bytes
Firmware Version: XM.ar7240.v5.6.3-beta2.28245.150902.1953
Setting U-Boot environment variables
Un-Protected 1 sectors
Erasing Flash.... done
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
Will not overwrite u-boot partition! Skipped.
Copying partition 'kernel' to flash memory:
First 0x5 last 0x14 sector size 0x10000
................ done
write addr: 9f050000
Copying partition 'rootfs' to flash memory:
First 0x15 last 0x7a sector size 0x10000
...................................................................................................... done
write addr: 9f150000
Firmware update complete.
Resetting...
U-Boot 1.1.4.2-s956 (Jun 10 2015 - 10:54:50)
DRAM: 32 MB
Flash: 8 MB
PCIe WLAN Module found (#1).
Net: eth0, eth1
Board: Ubiquiti Networks XM board (rev 1.0 e012)
Hit any key to stop autoboot: 0
## Booting image at 9f050000 ...
Image Name: MIPS Ubiquiti Linux-2.6.32.67
Created: 2015-09-02 16:53:50 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1004933 Bytes = 981.4 kB
Load Address: 80002000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Booting...

U-Boot 1.1.4.2-s956 (Jun 10 2015 - 10:54:50)
DRAM: 32 MB
Flash: 8 MB
PCIe WLAN Module found (#1).
Net: eth0, eth1
Board: Ubiquiti Networks XM board (rev 1.0 e012)
Hit any key to stop autoboot: 0
## Booting image at 9f050000 ...
Image Name: MIPS Ubiquiti Linux-2.6.32.67
Created: 2015-09-02 16:53:50 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1004933 Bytes = 981.4 kB
Load Address: 80002000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Booting...


Booting reset booting reset ://



ar7240> printenv
bootdelay=1
baudrate=115200
ethaddr=00:15:6d:0d:00:00
filesize=40000
fileaddr=81000000
ethact=eth0
bootcmd=bootm 0x9f050000
serverip=192.168.1.254
ipaddr=192.168.1.20
bootargs=console=tty0 root=31:03 rootfstype=squashfs init=/init
mtdparts=mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),5760k(rootfs),256k(cfg),64k(EEPROM)
stdin=serial
stdout=serial
stderr=serial
ubntaddr=80200020
appinitdone=true
Environment size: 416/65532 bytes
 
This is Jtag over SPI which may not work with FCUSB , your best option is to connect direct to the spi chip and see if you can get a detection
 
There is no script needed , you need to connect your FCUSB to the SPI chip directly , once this is done correctly and the software identies the chip then we can proceed to the next step
 
Script is ONLY needed if you want to segment certain portions of the flash, you do NOT need a script to read/write a full flash of the spi chip
 
TCK-TMS-TDO-TDI-TRST pins on the board flashcatusb where I also takacag. After installing, please run the program I will do what I'm waiting for help.
 
## Booting image at 9f050000 ...
Image Name: MIPS Ubiquiti Linux-2.6.32.67
Created: 2015-09-02 16:53:50 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1004933 Bytes = 981.4 kB
Load Address: 80002000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK

Starting kernel ...

Booting...
[ 0.137000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[ 0.145000] Rebooting in 3 seconds..

How can I fix this error.



ar7240> flinfo

Bank # 1: mx25l64 (Id: 0xc22017)
Size: 8 MB in 128 sectors
ar7240>

pls. help me
 
Can you not listen, stop connecting to the jtag port, flash fcusb with spi avr firmware, hook up the wires to this chip, like this (grab the 3.3v from under the fcusb v2.x or from the jumper pins in v1.x)

yqz0glu.jpg


Now you will be able to read and write firmware to this
 
Last edited:
dear friend, tell it how you ricktendo and progressive!

This issue does not see the state apparatus rootfs areas where the temp field. The reversible through this process?
 
What version of FCUSB programmer do you have ? if it is V 1.8 or less set it so that it uses 5v and try to program again
 
Back
Top