Meraki MR18

This forum discuss about how to JTAG different devices.
bingo600
Junior Member
Posts: 10
Joined: Sun Mar 31, 2019 8:47 am

Post by bingo600 »

ricktendo wrote:Yes, the sysupgrade image but from a stable build, example: https://downloads.openwrt.org/releases/ ... pgrade.tar

https://downloads.openwrt.org/releases/

P.S. LEDE and OpenWRT are one now

Edit: Bingo, did you use the instructions to free up space for packages?
So my upgrade/install luci - Brought me on the latest LEDE/OWRT ?

Yes i did free up the spaces , before doing the sysupgrade and then update/install

Thanx for describing that "trick"

/Bingo
ricktendo
Junior Member
Posts: 133
Joined: Sat Nov 29, 2014 12:41 pm

Post by ricktendo »

Updated with new video from usbbdm
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

[youtube]HL_PNEI9QlA[/youtube]
rjboonstra
Junior Member
Posts: 10
Joined: Sun Mar 15, 2020 10:28 am

Re: Meraki MR18

Post by rjboonstra »

Hello... Thanks for the excellent source of information, but I have a quick starting question that I am not able to solve. Most of the information refers to the USBJTAG 14 pin connector... but I am curious on how one uses the 10 individual pins from a u-Link (ulink) and line them up with the 14 pins on a Z1 or M18. From what I can tell, pin 1 is furthest away from the 4 pin UART header (confirmed by Ricardo's youtube video); also assuming the pin layout is such that it looks like the following:

GND
TX
RX
3.3V
(not used)

14 13
12 11
10 09
08 07
06 05
04 03
02 01


What I am unable to figure out is how pins 1-14 are configured and how they correlate to the u-Link IO0 to IO7 pins? Thanks in advance...
rjboonstra
Junior Member
Posts: 10
Joined: Sun Mar 15, 2020 10:28 am

Re: Meraki MR18

Post by rjboonstra »

Okay. One step closer. I did not notice the Help file that is part of USBJTAG.
2020-03-22.png
You do not have the required permissions to view the files attached to this post.
rjboonstra
Junior Member
Posts: 10
Joined: Sun Mar 15, 2020 10:28 am

Re: Meraki MR18

Post by rjboonstra »

Therefore, I went with the following (note [x] denote u-Link pins):
13 - N/C
11 - N/C (there is no RST on the u-Link)
09 - [06] TCK (green)
07 - [04] TMS (purple)
05 - [08] TDO (orange)
03 - [10] TDI (brown)
01 - [03] TRST (gray)
But unfortunately, I do not get a connection?
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Re: Meraki MR18

Post by usbbdm »

1. Pin 2 on U-Link is GND that needs to be connected.
2. nRST is reset pin (pin 5)
Chat with me if you want. I can help you remotely. I think GND is making the difference.
esc
Junior Member
Posts: 5
Joined: Thu Apr 09, 2020 10:13 pm

Re: Meraki MR18

Post by esc »

Hi, I have this situation. I used to upload openwrt via ftdi and I made a mistake and my mr18 got bootloop.

When I received usbjtag I was able to connect and uploaded original_kernel.bin from the original_mr18_kernel.rar package from the forum. I uploaded to kernel1 and kernel2 - now the terminal no longer has bootlop, it only has this screen:

Code: Select all

__________________sri____________________
944x BootROM Ver. (asic) 1.0 [Nov  8 2011 13:42:57]
_________________________________________
find_hif: bootstrap = 0x31458
Nand Flash init
hdr: [0xffffffff : 0xffffffff : 0xffffffff : 0xffffffff]
nand_load_fw: read 2097151 pages
ExcCode 03 -> TLB(store)
EPC bfc01a28, BadVAddr ffffffff, Cause 0000000c, Status 10400006

R0 (r0) = 00000000  R8 (t0) = ffffffff  R16(s0) = bd000000  R24(t8) = bbffb5fe
R1 (at) = 00000001  R9 (t1) = bd0003eb  R17(s1) = 00000800  R25(t9) = bfc01284
R2 (v0) = 000000ff  R10(t2) = 00000001  R18(s2) = 00030000  R26(k0) = ffffffff
R3 (v1) = 00000001  R11(t3) = bd000520  R19(s3) = 00010000  R27(k1) = bd007bf0
R4 (a0) = ffffffff  R12(t4) = 00000000  R20(s4) = 00000800  R28(gp) = dfddbde7
R5 (a1) = bd004010  R13(t5) = 00000500  R21(s5) = ffffffff  R29(sp) = bd007f58
R6 (a2) = 000007ef  R14(t6) = fbbfdbff  R22(s6) = ffffffff  R30(fp) = 00000000
R7 (a3) = ffffffff  R15(t7) = 4660aacf  R23(s7) = bd000000  R31(ra) = bfc060ac

[bd007f58]  00000000  bfc090b0  001fffff  bfc0917c
[bd007f68]  ffffffff  bd000000  ffffffff  ffffffff
[bd007f78]  000007f0  bd000000  bd000000  bd000000
[bd007f88]  00030000  b8060004  b8060000  bd000000
[bd007f98]  b797966f  f1bd3fff  eeffedec  bfc018dc
[bd007fa8]  00208e0e  f7e8687f  618cd9bf  7b200310
[bd007fb8]  89048100  08221108  418d8c49  05468950
[bd007fc8]  84ca12cd  7ecc587f  21014c1e  7fbf76ef
[bd007fd8]  f7eff2ed  7767dffd  e7acfaef  b8060004
[bd007fe8]  00000184  bfc004fc
Now it's hard for me to enter TRAP ON mode and if it succeeds, the DETECT command resets jtagant - as in the picture.

Image

Is there any advice for that?
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Re: Meraki MR18

Post by usbbdm »

I can give you help remotely.
esc
Junior Member
Posts: 5
Joined: Thu Apr 09, 2020 10:13 pm

Re: Meraki MR18

Post by esc »

Yes of course. just how and at what time. Teamviewer or something else

EDIT:
I was able to get the TRAP ON mode but I can't deal with Unknown flash type (0093h, 00e7h)

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

Re: Meraki MR18

Post by usbbdm »

If you were able to detect and program before and stops working. Most likely you have program the wrong file to the boot area.
In that case you need to use DEBUG ON mode to program the boot with slow mode.
esc
Junior Member
Posts: 5
Joined: Thu Apr 09, 2020 10:13 pm

Re: Meraki MR18

Post by esc »

I downloaded files from this thread: (https://www.usbjtag.com/vbforum/showthread.php?t=9343)

https://www.usbjtag.com/vbforum/attachm ... 1462032212
https://www.usbjtag.com/vbforum/attachm ... 1493963339
https://www.usbjtag.com/vbforum/attachm ... 1496614170
usbbdm wrote:In that case you need to use DEBUG ON mode to program the boot with slow mode.
I am not a programming expert. Any suggestions on how to do this?
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Re: Meraki MR18

Post by usbbdm »

Watch this old video to see if it helps. (debric)
https://www.youtube.com/watch?v=8lUrxKBYF2Y
If not I can help you remotely.
esc
Junior Member
Posts: 5
Joined: Thu Apr 09, 2020 10:13 pm

Re: Meraki MR18

Post by esc »

ok now i know what's going on and i know why i can't fix it. I don't have a full backup.
When I did openwrt some time ago I didn't have usbjtag and I didn't make a copy.
And instead of openwrt I had a bootloop.

That's now I hope the last question. Can I use a copy from another mr18? or will I find full backup somewhere on the net? as i see i need the 135168KB file

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

Re: Meraki MR18

Post by usbbdm »

As I said, chat with me and I can send you my backup. You can use it as long as you are behind a NAT.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests