Shop OBEX P1 Docs P2 Docs Learn Events
Is this even possible? — Parallax Forums

Is this even possible?

Kenwhite23Kenwhite23 Posts: 5
edited 2012-01-14 09:28 in Propeller 1
Hey everyone so I just got this today been fiddling around with just the basic stuff, Im about to dive into some more heavy stuff, but before i start I was curious about one thing. So i am also an xbox 360 modder and Id like to jtag my xbox so that I can run homebrew and emulators and develop homebrew and the likes. Now my dillema is i have neither an LPT port nor a USB NAnd flasher like the nand x. Would it be possible to program the Parralel p8x32a propeller quickstart to use the 40 pin serial port to read and Flash the NAND from and Xbox 360. Im not that learned with this at this point to know if its possible or not. Id appreciate it if someone may be able to help me out. The program im trying to interface with can be found here. I basically want to know if i can program it as a nand capture device capable of working with this program. Sorry bout the long crappy explanation to my ?

Heres the program im trying to interface with: http://tech-modz.net/showthread.php?t=331

Comments

  • pedwardpedward Posts: 1,642
    edited 2012-01-13 20:48
    Looking at the 360 sites on Google, it should be possible to make a programmer using the propeller, but you will have a lot more time into that than finding a computer with a parallel port.
  • Kenwhite23Kenwhite23 Posts: 5
    edited 2012-01-13 21:11
    Yeah im limited on Cash so im looking into cheaper options like making a programmer with proppeler just not sure how to go about it. If i could use the parallel to program a pic chip id be set but as of yet no clue how to do that even. I can make a usb NAND reader i have the stuff for it i just have no way to program the pic chip.

    This is not my guide, i sourced it from elsewhere



    animated_bar.gif


    animated_bar.gif


    So to start you want to get all of your parts together.

    farnell.com
    1448128 RESONATOR 12MHZ �0.27 1
    1579600 PIC18F2455-I/SP 8BIT 24K FLASH �4.35 1
    VAT �5.43
    DELIVERY �0.00
    TOTAL �5.43

    maplin.co.uk
    VH01B 0.1uf CAPACITOR �0.14 1
    AU08J 0.22uf CAPACITOR �0.18 1
    D10K 10KΩ RESISTOR �0.23 2
    D100R 100Ω RESISTER �0.23 5
    JP48C STRIPBOARD �3.45 1
    FZ57M 0.3IN 28 PIN SOCKET �1.03 1
    SUB-TOTAL �6.41
    DELIVERY �2.98
    TOTAL �9.39

    After you have got everything in front of you, you can start cutting the tracks on the stripboard ready to solder everything in.
    A couple of points.......
    I have removed pins from the IC Socket (marked in RED) so there are less tracks to cut (pictured). You can cut tracks instead but that will take alot longer. To remove pins from the socket, hold the tip of your iron on the bottom of the pin while applying a little presure. The pin should just drop out easily.

    There is a jumper cable linking pins 8 & 19 on the PIC that can either be connected on the front or the back of the board.

    There is also a jumper linking pin 18 on the PIC to ground that needs to be connected to flash the chip (enter bootloader mode) but this must be disconnected to read or write to your nand. You can either solder two wires and connect them when needed or solder a header and use a jumper.

    Notice the polarity of the capacitors. If you get polarised capacitors make sure you wire them in right.

    Now look at the pictures below to see where everything goes.

    animated_bar.gif


    animated_bar.gif


    animated_bar.gif



    R1 = 100Ω RESISTER (Brown Black Brown)
    R2 = 10KΩ RESISTOR (Brown Black Orange)
    R3 = 100Ω RESISTER (Brown Black Brown)
    R4 = 100Ω RESISTER (Brown Black Brown)
    R5 = 100Ω RESISTER (Brown Black Brown)
    R6 = 100Ω RESISTER (Brown Black Brown)
    R7 = 10KΩ RESISTOR (Brown Black Orange)
    C1 = 0.1uf CAPACITOR
    C2 = 0.22uf CAPACITOR
    RZ1 = 12MHZ RESONATOR

    thats the USB nand i can make would it be possible to program the propellor to interface the pic so i can flash the .hex files needed to program the pic???
  • Kenwhite23Kenwhite23 Posts: 5
    edited 2012-01-13 21:15
    not sure why it didnt post my response. O well another work around is i have the layout and parts to build a USB nand Flasher however i have no way to program the PIC18F2455-I/SP 8BIT 24K FLASH chip. could i use the proppeler to flash the pic with the .hex files it needs??? at least if that were more practical then building a custom NAND flash addon and interfacing it with the propeller. I have everything to make the USB nand flasher.
  • Kenwhite23Kenwhite23 Posts: 5
    edited 2012-01-13 22:32
    Also I found a few pdf's Do you think either of these could be modified to perform the necessary functions through spi. The jtag is doable with Usb Spi cards.
    http://www.parallaxsemiconductor.com/sites/default/files/appnotes/AN012-SRAM-v1.0_0.pdf
    http://www.parallax.com/Portals/0/Downloads/docs/books/sw/Web-SW-v2.1.pdf
  • CircuitsoftCircuitsoft Posts: 1,166
    edited 2012-01-14 01:17
    If you just want to run spi, that's easy enough. The problem is that JTAG usually works via OpenOCD or some sort of daemon on the PC that understands the debugging internals on your target CPU (The XBox360). The propeller, by necessity, would be "smart hardware" to handle serialization of data to the instruction/data registers of the JTAG state machine. However, it's not powerful enough to run a complete debugger host for your processor, and no one has implemented a smart hardware peripheral for OpenOCD that shows up as a serial port, especially not on the Propeller. Furthermore, since it's PowerPC and not ARM, OpenOCD wouldn't be what you need and I don't think you have any options other than just finding a parallel port.

    The one other option that is probably available would be to buy something like the ARM-USB-OCD from SparkFun, which the software in the thread you pointed to probably can use, since the ft2232 is a common low-cost JTAG interface, no matter what the target CPU is.
  • Kenwhite23Kenwhite23 Posts: 5
    edited 2012-01-14 09:28
    If you just want to run spi, that's easy enough. The problem is that JTAG usually works via OpenOCD or some sort of daemon on the PC that understands the debugging internals on your target CPU (The XBox360). The propeller, by necessity, would be "smart hardware" to handle serialization of data to the instruction/data registers of the JTAG state machine. However, it's not powerful enough to run a complete debugger host for your processor, and no one has implemented a smart hardware peripheral for OpenOCD that shows up as a serial port, especially not on the Propeller. Furthermore, since it's PowerPC and not ARM, OpenOCD wouldn't be what you need and I don't think you have any options other than just finding a parallel port.

    The one other option that is probably available would be to buy something like the ARM-USB-OCD from SparkFun, which the software in the thread you pointed to probably can use, since the ft2232 is a common low-cost JTAG interface, no matter what the target CPU is.

    thank you Im going to five the ARM-USB-OCD a try and let you know. I ordered a parralel port today just in case too tho.
Sign In or Register to comment.