Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

[Tutorial] Using a CK3 PRO/CK3i to upgrade your Nand-X

  • 13-11-2011 2:24pm
    #1
    Registered Users, Registered Users 2 Posts: 8,584 ✭✭✭


    With the release of Nandpro v3.0 there is a new feature that allows Nandpro to flash XSVF files to boards (e.g. the Coolrunner boards). To get this feature you've to upgrade the code on the nand-x to the new version included with Nandpro v3.0.

    TX have a CK3 Pro/CK3i cable but it's in short supply in the usual places (CK3.co.uk/Modtraders) and I wanted to crack on with my glitching so I took it upon myself to DIY the cable following the instructions.

    If you have a CK3 Lite this will not work - I suggest either borrowing a CK3i or Pro, purchasing a CK3i or waiting for the X360USB2 which will have the X360USB and CK3i in the one product.

    You need a DVD drive power cable for the update. Unlike other guides that butcher the DVD drive cable I had just one cable spare and wanted to save it. So I used a small, sharp punch to lift the tabs holding in the crimped cables and pull them out. Sure, it's a little more tedious but I got to save my cable.

    nandxupdate01.jpg

    As in the picture above, jab in the point and lift gently, making sure to keep your tool out of the path of the raised piece of metal from the crimp and then pull out the wire. Be gentle with the connector, it's flexible to prodding and lifting but only to a point and if you break a tab you might as well stop and splice them. You want to remove all but 5 cables (Pins 1, 2, 5, 6 and 7) from one connector. For neatness I completely removed the unneeded cables, they're trivial to put back in and it gets them out of the way.

    ck3-pinout.gif

    nandxupdate02.jpg

    I own a CK3 Pro Rev D. If you do not own a Rev D then you do not need to do the next step.

    You need to solder a wire from Pin 1 on the PL2148 chip to the underside of the CK3 Pro. Yes, this involved removing the padding that it comes with but if you're careful with the removal it'll lift with the sticky tape in place and you can put it back afterwards. Here is the wire I soldered to Pin 1

    nandxupdate03.jpg


    And here is where it needs to be soldered to (Pin 1 on the power cable). You do not need to remove this wire for flashing, so you can just leave it there when it's done and put the padding back on.
    nandxupdate04.jpg


    Solder up five wires to the 6-pin port on the nand-x. This is not the same port as you read/write the nand with, that's the 7-pin port beside it. Just look for ISP and that's the right port. Solder the 5 wires to GND, 3.3v, TXD, RXD, ISP but leave RST alone.

    nandxupdate05.jpg

    No you have to join the wires together in the right sequence.

    CK3 Pin | Connects To | Nand-X
    1 | | TXD
    2 | | RXD
    5 | | GND
    6 | | 3.3V
    7 | | ISP


    In order to prevent solder blocking the cable going back into the connector I soldered the wires into the crimp fold as in the picture.
    nandxupdate06.jpg


    Provide +12v power to the CK3 and plug in the USB too so that it shows up as a COM port in Jungleflasher on the Mkflash tab. There should only be a red light on the Nand-X to indicate power, no green/yellow light should be on.
    nandxupdate08.jpg


    Download FlashMagic and install it. Open it up and enter the following:

    • Device: LPC2148 (Click select device, then Arm 7, then LPC2148)
    • Baud Rate: 9600
    • COM Port: The COM port Jungleflash says your CK3 is on
    • Oscillator: 12, but if you have trouble flashing then 14.745
    • Hex File: ArmV3.hex from the Nandpro 3 folder
    • Tick 'Erase Blocks used by Hex File'
    • Tick 'Verify after programming'



    nandxupdate09.jpg

    Click Start and watch the progress bar at the bottom. It should be counting down in Hex to 0x0000000 as it flashes the device.

    nandxupdate10.jpg

    After flashing it will verify the flash from 0x00000000 to 0x00008000 or so.

    nandxupdate11.jpg

    Once done, turn off the power to the CK3, removed the USB cable and connect it to the Nand-X - the yellow/green LED should turn on in addition to the power.

    nandxupdate07.jpg

    That's it, you've updated your Nand-X :)


Comments

  • Closed Accounts Posts: 33,733 ✭✭✭✭Myrddin


    Quality as always :cool:


  • Registered Users, Registered Users 2 Posts: 807 ✭✭✭Jimbobjoeyman


    almost makes me want to buy a nand-x
    Any idea if a maximus xtractor 3 would work aswell ?


  • Closed Accounts Posts: 2,828 ✭✭✭Reamer Fanny


    Original Post

    Please excuse my ignorance what does this allow you to do?


  • Registered Users, Registered Users 2 Posts: 8,584 ✭✭✭TouchingVirus


    justryan wrote: »
    Please excuse my ignorance what does this allow you to do?

    When you update the Nand-X you can then use the Nand-X to flash Coolrunner boards over USB without needing the Xilinx/DIY LPT flashing cable or an (expensive) Xilinx USB JTAG flasher :)


  • Closed Accounts Posts: 2,828 ✭✭✭Reamer Fanny


    justryan wrote: »
    Please excuse my ignorance what does this allow you to do?

    When you update the Nand-X you can then use the Nand-X to flash Coolrunner boards over USB without needing the Xilinx/DIY LPT flashing cable or an (expensive) Xilinx USB JTAG flasher :)

    Ah brilliant stuff is there any workaround for non-nand x owners? I've got the USB programmer here


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 8,584 ✭✭✭TouchingVirus


    almost makes me want to buy a nand-x
    Any idea if a maximus xtractor 3 would work aswell ?

    Yes, you can use the Xtractor3 to do the same thing though you need to know a few things:
    • You need to find 3.3V, GND, RXD and TXD - they're probably connected to the accessory port. I know where they are on the XT2 but the XT3 has a case now :D
    • You need to connect ISP to GND on the Nand-X
    • Hook up the cables between the XT3 and the Nand-X:
      • GND->[GND+ISP-connected via wire on the Nand-X]
      • RXD->RXD
      • TXD->TXD
      • 3.3V->3.3V
    • Use Oscillator 12
    • Depending on the XT3 you MAY have to have a DVD drive hooked up in order for the accessory port to get power - multimeter 3.3v to GND to check before adding the DVD drive :)
    Then you can use the XT3 to flash the Nand-X using FlashMagic as per the above instructions. Remember, it only has to be updated once :)


  • Registered Users, Registered Users 2 Posts: 8,584 ✭✭✭TouchingVirus


    justryan wrote: »
    Ah brilliant stuff is there any workaround for non-nand x owners? I've got the USB programmer here

    Afraid not. The USB programmer is an SPI programmer, what is needed is a JTAG programmer :(


  • Registered Users Posts: 57 ✭✭stanleytli


    Is any chance to upgrade nand-x to ver.3 without CK3?
    I already have nand-x, but I don't have CK3. Do I have to buy it?


  • Registered Users, Registered Users 2 Posts: 8,584 ✭✭✭TouchingVirus


    There is a USB to Nand-X update cable in the pipeline, no ETA on it's release though.

    Borrow a CK3, or send it to somebody who has one if you're in a rush :)


  • Registered Users Posts: 16,031 ✭✭✭✭niallo27


    Modtraders should have all the cables needed on sale from tomorrow, well according to an update email I got off them anyway.


  • Advertisement
  • Registered Users Posts: 57 ✭✭stanleytli


    There is a USB to Nand-X update cable in the pipeline, no ETA on it's release though.

    Borrow a CK3, or send it to somebody who has one if you're in a rush :)
    If I get coolrunner already programmed, I think that I can do everything else with nand-x v.2 and nandpro 2.0e. Am I right?


  • Closed Accounts Posts: 2,828 ✭✭✭Reamer Fanny


    stanleytli wrote: »
    If I get coolrunner already programmed, I think that I can do everything else with nand-x v.2 and nandpro 2.0e. Am I right?

    Correct.


  • Registered Users Posts: 57 ✭✭stanleytli


    Has somebody spare coolrunner programmed for slim for sale?:)


Advertisement