Jump to content

Programming an Aladdin XT+ with XBlast (FT232RL Method)


Recommended Posts

You must have prior soldering experience before proceeding. This is in no way, shape or form, a guide on how to solder.

Requirements:

  • OpenOCD-XPack (download)
  • XBlast CPLD files - only download the ones with (.SVF) (download)
  • FT232RL UART adapter - either a clone or original

1. Download the latest release of the OpenOCD-XPack, then extract the contents to an empty folder.

2. Inside the "/bin/" folder, create a new file called "openocd.cfg". Open the file using your preferred text editor, then make the following changes:

#daemon configuration
telnet_port 4444
gdb_port 3333

adapter driver ft232r
adapter speed 500
ft232r restore_serial 0x15
transport select jtag
jtag newtap LC4032V tap -irlen 8 -expected-id 0x01805043

3. Next, use a set of male-to-male jumper wires, and solder the JTAG connections from the Aladdin chip to the FT232 adapter as follows:

 
Aladdin XT+
 
   FT232RL 
+3.3V +3.3V
TDO RTS
TMS CTS
TDI RXD
TCK TXD
GND GND


(ENSURE THAT THE JUMPER ON THE FTDI IS SET TO +3.3V AND NOT +5V!)

spacer.png

4. Open a new terminal window inside of the current directory of "/bin/" and type "sudo ./openocd -f openocd.cfg" (no quotations) and press Enter. OpenOCD will wait until a debugger is connected. Then, in another terminal window, type "xterm -e telnet localhost 4444" (no quotations), from there, you can send commands to OpenOCD.

5. Inside of the Telnet window, type "svf" followed by the filename of the SVF file you wish to program (i.e., svf "1MB OSSUPPORT.SVF"), then press Enter to write it to the chip.
 

6. You're all set! 😄

Edited by SylverReZ
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...