Meraki MR18

This forum discuss about how to JTAG different devices.
esc
Junior Member
Posts: 5
Joined: Thu Apr 09, 2020 10:13 pm

Re: Meraki MR18

Post by esc »

So I downloaded a full backup from a friend and uploaded to my device. The device is working. Hooray :)

Apart from the MAC address of the network card, what else can be a problem with this copy? Can't edit it somehow?

For now, I used the mac address change script on this page
http://jhshi.me/2015/01/19/fix-mac-addr ... pcinnLgqM8

Thank you very much for your help.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Re: Meraki MR18

Post by usbbdm »

As long as you are behind a NAT, you are OK. Play with openwrt and have fun with it.
rjboonstra
Junior Member
Posts: 10
Joined: Sun Mar 15, 2020 10:28 am

Re: Meraki MR18

Post by rjboonstra »

I have an interesting question. I purchased an old MR18 on eBay and can flash it. When I reboot the unit, though, I get a slightly different response when watching the serial console... and then it stops. Watching Ricardo Cooper's video "Flashing the Meraki MR18 with USBJTAG NT" and then stopping at 9:37/25:14, you can see his serial console. The text below is a comparison where the red is where it starts to deviate:
[ 16.493670] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=40
[ 16.500467] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 16.506560] ath9k 0000:01:00.0: Direct firmware load for pci_wmac1.eeprom failed with error -2
[ 16.515338] ath9k 0000:01:00.0: Falling back to user helper
[ 18.816773] ieee80211 phy2: Atheros AR9300 Rev:4 mem=0xb2000000, irq=41
[ 25.207543] device eth0 entered promiscuous mode
[ 25.230400] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 25.661611] eth0: link up (1000Mbps/Full duplex)
[ 25.666337] br-lan: port 1(eth0) entered forwarding state
[ 25.671867] br-lan: port 1(eth0) entered forwarding state
[ 25.709759] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 27.669730] br-lan: port 1(eth0) entered forwarding state

At this point, the OpenWRT does not start nor does the router obtain an IP address. I flashed the device twice, both with the same response. Has anyone seen this before?

Also, here is the output from USBJTAGNT:
Found Address= 00000000 ~~~~~~~~~~~
-getram kernel2
Time 00:00:48 (.803)
-DETECT
IDCODE 00000001
Atheros
IMPCODE A0414000
EJTAG V2.6
DMA not supported
Found Address= 00000000 ~~~~~~~~~~
-erase kernel1
Erase starts...
Erase time 00:00:00 (.230)
-erase kernel2
Erase starts...
Erase time 00:00:00 (.232)
-getram kernel2
Time 00:00:48 (.785)
-erase kernel1
Erase starts...
Erase time 00:00:00 (.225)
-getram kernel1
Time 00:00:48 (.784)
-ldram kernel2
~~~/Documents/USBJTAG/MR18/openwrt-ar71xx-nand-mr18-initramfs-kernel-ecc.bin loaded
-program kernel2
Erase starts...
Erase time 00:00:34 (.080)
Program speed 4159.02 KB/s
Program time 00:00:02 (.080)
Program pass, if no further programming needed, power off/on the target
-cmpram kernel2
Time 00:00:48 (.784)
Compare data OK

Note that there are a few extra erases in the above and I did a verify. Thanks!
rjboonstra
Junior Member
Posts: 10
Joined: Sun Mar 15, 2020 10:28 am

Re: Meraki MR18

Post by rjboonstra »

Just updated the firmware in a second MR18 and got the exact same response. Not surprising, the boot.bin file for both units is exactly the same size, 528kB. Both original kernel.bin files were 8448kB. Not sure what might be the issue? Thoughts?
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Re: Meraki MR18

Post by usbbdm »

I can help you via zoom remote desktop to see what is goring wrong. Bottom line I can give you my backup and it should fix your issue.
rjboonstra
Junior Member
Posts: 10
Joined: Sun Mar 15, 2020 10:28 am

Re: Meraki MR18

Post by rjboonstra »

Mistake on my end. I did not connect directly to the MR18 an Ethernet cable, but rather tried to do this via a switch. When I hard coded my IP address in my laptop, then I was able to reach it. Thanks.
rjboonstra
Junior Member
Posts: 10
Joined: Sun Mar 15, 2020 10:28 am

Re: Meraki MR18

Post by rjboonstra »

Actually, I might need to explore a different boot file. I just accidentally set my AP to DHCP and not cannot access it via the web interface even though it works as a wireless AP; I can see it on the network, but it also does not respond to pings nor SSH. Oops! It would be nice to have a access to the device via serial interface for the next time I make a mistake like this...
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Re: Meraki MR18

Post by usbbdm »

DHCP does not matter much.
You should still be able to find the IP address of the router. Either go to your main router and find the IP address or use some sort of sniffer to find the IP of MR18.
Once you have the IP address you should be able to go to the web or SSH. Serial access is not absolutely needed in my opinopn.
vnaysharma
Junior Member
Posts: 1
Joined: Mon Jan 18, 2021 5:06 pm

Re: Meraki MR18

Post by vnaysharma »

Hi,
I have a Meraki MR18 with firmware 25.11, Can anyone please tell me which JTAG adapter should I use to flash OpenWRT.
I am very new to this.

Thanks,
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Re: Meraki MR18

Post by usbbdm »

u-link NT is the one you need.
lucas_evo
Junior Member
Posts: 1
Joined: Wed Feb 17, 2021 9:31 am

Re: Meraki MR18

Post by lucas_evo »

hi, detect chip is working, but read from chip isn't. this is text from u-link.

Copyright (C) 2010-2025
u-Link NT 1.19
Target: MerakiM18
-speed 0
-detect
IDCODE 80000000
ADM ADM5120
IMPCODE 80000000
EJTAG V1, V2.0
DMA supported
-getram 0 8400000
No routine defined!

what can i do with this?
thanks
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Re: Meraki MR18

Post by usbbdm »

The chip detection is wrong. Please check your connection.
Watch the video the CPUID should be something more meaningful.
Also get to TRAP ON first before doing any read/write.
lucas_evo
Junior Member
Posts: 1
Joined: Wed Feb 17, 2021 9:31 am

Re: Meraki MR18

Post by lucas_evo »

ok, and where i can find right pinout of u-link and cisco meraki mr18?
when i try to connect by the pinout from ulink software in menu - help - connection, then after clic detect chip do nothing.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Re: Meraki MR18

Post by usbbdm »

The MR18 is standard EJTAG.
The pinout is in the software. Click connection button.
EJTAG pin 2,4,6,8,10 are ground. TRST pin 1. TDI pin 3 TDO pin 5. TMS pin 7 TCK pin 9 RESET pin 11
u-link NT. Pin 2 Ground. Pin 10 TDI, pin 8 TDO, Pin 6 TCK, pin 4 TMS, Pin 3 TRST, pin 5 RESET.
lucas_evo
Junior Member
Posts: 1
Joined: Wed Feb 17, 2021 9:31 am

Re: Meraki MR18

Post by lucas_evo »

so, i try to connect two more mr18, but is the same.
is this right connect?
https://photos.app.goo.gl/4dJWcBYVPodqJwMY9
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests