xboxscene.org forums

Pages: 1 2 [3]

Author Topic: Tutorial: Programming The Olimex-h2148 Header Without A Level Shifter/  (Read 267 times)

liquidbings

  • Archived User
  • Newbie
  • *
  • Posts: 12
Tutorial: Programming The Olimex-h2148 Header Without A Level Shifter/
« Reply #30 on: February 26, 2010, 09:38:00 AM »

Amazing speed on your replies, Much appreciated as usual. (IMG:style_emoticons/default/smile.gif)

These are the links to the ones I bought.

Philips LPC2148 (ARM) Header Board, USB, JTAG: http://microcontrollershop.com/product_inf...be1908d25a337c6

ARM JTAG Debugger & Programmer, parallel port: http://microcontrollershop.com/product_inf...be1908d25a337c6

I originally tried H-JTAG 0.9.2 – as per the tutorial then tried v1. release and am now back using 0.9.2
Logged

Martinchris23

  • Archived User
  • Hero Member
  • *
  • Posts: 2004
Tutorial: Programming The Olimex-h2148 Header Without A Level Shifter/
« Reply #31 on: February 26, 2010, 09:50:00 AM »

As you previously wrote, the website states this:

To set up H-JTAG to work with the ARM-JTAG, use Jtag Selection "Wiggler (Predefined)", Reset Signal Output "nTRST output inverted", nTRST "Pin2 D0", and nSRST "Pin6 D4".

So the nTRST and nSRST are inverted when compared to the screenshots previously shown.

Try setting these again and let me know what happens. It's a little strange that the config is inverted to that of the Olimex wiggler tho!

Failing that, have you another computer you can try this on (just to eliminate the PC/OS) ?
Logged

Martinchris23

  • Archived User
  • Hero Member
  • *
  • Posts: 2004
Tutorial: Programming The Olimex-h2148 Header Without A Level Shifter/
« Reply #33 on: February 26, 2010, 10:54:00 AM »

lol, typical!


Let me know how you get on with another machine - I'll fire up my laptop shortly and re-check my settings too.

OK - seems like I've never checked my settings!

I have it setup with
nSRST output inverted - yes
nTRST = Pin6 D4
nSRST = Pin2 D0

Basically the same as the screenshot I added to my documentation smile.gif

Here's the official Olimex JTAG Wiggler: http://www.olimex.co...v/arm-jtag.html
And the IDC layout: http://www.olimex.co...jtag-layout.gif
Compare to the layout from the site you bought yours from : http://microcontroll...be1908d25a337c6

They're the same - therefore you should have your LPT JTAG settings as mine above.

There are a couple of other things to check:

Settings:

Target Setting:
Processor Variant - Auto Detect
Target Endian - Little Endian (one little, two little, three little endians....)

TAP Configuration

TAP Num: (from left to right) 0,1,0
IReg Len: (from left to right) 0,Auto,0

Options:
Connection Mode
Software Reset (you might also want to try 'Attach' or 'Hardware reset and halt at 0x0'


If I think of anything else I'll add them to the thread. Apart from that, let me know how you get on.
Logged

liquidbings

  • Archived User
  • Newbie
  • *
  • Posts: 12
Tutorial: Programming The Olimex-h2148 Header Without A Level Shifter/
« Reply #34 on: February 27, 2010, 10:49:00 AM »

well I still havnt gotten the 2148 detected. I have yet to try another computer. But I am psyched I got my 512 jasper working.

I kept trying and trying and finally I found out my black screen was caused because the signal is only coming out of hdmi for xbr for some reason.

See my post here http://forums.xbox-scene.com/index.php?s=&...t&p=4648151

I will still try and get the usb flashed but it isnt top priority now. I will try another computer when my friend gets back from work and has some free time and will try the other wiggler when it arrives.

Otherwise I tried all your options plus some more and no luck. They all either do nothing, make it flash or make it flash and lights stay off but nothing detects.

I will be back within a few days-a week or 2 for updates (IMG:style_emoticons/default/smile.gif) thanks again!!!
Logged

liquidbings

  • Archived User
  • Newbie
  • *
  • Posts: 12
Tutorial: Programming The Olimex-h2148 Header Without A Level Shifter/
« Reply #35 on: March 04, 2010, 03:26:00 PM »

Ok so for an update. I got the wiggler off vv on ebay and it works great. Detected it right away programmed it in about 2 minutes and its ready to go as best I can tell.

It gives me the cant detect flash controller message in nandpro which means I'm good to go if I solder it up right? Much appreciated on the Tut and all the help you have given out! I don't know for sure but I don't think the green light was lit up when I used this wiggler... It was lit green on the actual wiggler device but its def not on now on the 2148.

So I really cant recommend the wigglers off the site I ordered with the results I got.

One thing I would like to ask is what is this comment about making a connector for hooking it up?

This post has been edited by liquidbings: Mar 4 2010, 11:49 PM
Logged

Martinchris23

  • Archived User
  • Hero Member
  • *
  • Posts: 2004
Tutorial: Programming The Olimex-h2148 Header Without A Level Shifter/
« Reply #36 on: March 05, 2010, 02:04:00 AM »

QUOTE(liquidbings @ Mar 4 2010, 10:26 PM) View Post

Ok so for an update. I got the wiggler off vv on ebay and it works great. Detected it right away programmed it in about 2 minutes and its ready to go as best I can tell.

It gives me the cant detect flash controller message in nandpro which means I'm good to go if I solder it up right? Much appreciated on the Tut and all the help you have given out! I don't know for sure but I don't think the green light was lit up when I used this wiggler... It was lit green on the actual wiggler device but its def not on now on the 2148.

So I really cant recommend the wigglers off the site I ordered with the results I got.

One thing I would like to ask is what is this comment about making a connector for hooking it up?


smile.gif Cool - glad you've finally gotten some success. I have no idea why the other programmer wouldn't work, but I would say it's either faulty or mis-sold. Either way I'd be looking to get a refund.

Yep, if you're seeing 'Cannot Detect Flash Controller', it means you're talking to the USB Header (which can't talk to the 360's Southbridge as it's not connected).

I took some pics of a mod for the top grille, which allows you to plug the header into the 360 using the IDC lower connectors. Take a look here:

http://forums.xbox-s...&...t&p=4586669

Logged

tendy7

  • Archived User
  • Newbie
  • *
  • Posts: 22
Tutorial: Programming The Olimex-h2148 Header Without A Level Shifter/
« Reply #37 on: March 18, 2010, 09:07:00 PM »

Thanks Martin,
I have the LPC2148 and programmed it used this tutorial.

Btw, where i can find the cable diagram to install it to motherboard with the LPC2148 methode? mine is Xenon.
Is it same methode with LPT ?
is it still need to use the resistor and diode ? as i read on nandpro.txt theres no need to use it.

thanks

Logged
Pages: 1 2 [3]