Ryzee119 Posted June 11, 2019 Report Share Posted June 11, 2019 (edited) Hi all, As a fun educational exercise to wanted to replace the CPLD logic on the cheap AladdinXT 4032 Original Xbox modchip and convert it to a basic LCD driver, consequently it looses the ability to load a custom bios. I consider this to be something like the old X-addons generic LCD-display mods (but a fair bit simpler) The Lattice LC4032V CPLD on the cheap Alladin modchips is extremely limited, so this is a hacky bare minimum to reduce macro-cell usage to fit onto the CPLD. Therefore it can't really support any extra functionality over the bare minimum. It doesn't support backlight control (just full brightness always) It has some very basic contrast PWM control through the dashboard settings. Anyway just wanted to share what I came up with https://github.com/Ryzee119/AladdinLCD Ideally, you could design a small PCB (and maybe use a larger CPLD) to improve the installation. that is something I may do in the future Edited June 11, 2019 by Ryzee119 6 1 Quote Link to comment Share on other sites More sharing options...
VoltXT7 Posted June 11, 2019 Report Share Posted June 11, 2019 This project looks very interesting but sadly I don't even understand half of what you are talking about. I read the instructions and step 2 & 3 are in perfect chinese for me: 1. JTAG PROGRAMMER: Model ? Picture ? Where can I buy it: Amazon ? Aliexpress ? Link ? 2. APPLY 3.3V POWER TO THE ALADDIN PCB: From where: Motherboard ? DVD Drive ? Xbox Power Supply ? Picture ? 3. PROGRAM CPLD: What's this ? 4. UrJTAG PROGRAM: Will it work on Windows 7 Home Premium 64bits or I have to go back to Windows XP ? How to use this program ? I only found this video from 2015: https://www.youtube.com/watch?v=So1N9FlPGbw ... do I have to do something different / add another step ? 5. COMPATIBLE PROGRAMMING CABLE: Picture ? Where can I buy it: Amazon ? Aliexpress ? Link ? 6. The light gray cable you are using is 30AWG ? 28AWG ? Feel free to be as detailed as possible. I apologize for all the questions. Better be safe than sorry. Thanks Quote Link to comment Share on other sites More sharing options...
neighbor Posted June 11, 2019 Report Share Posted June 11, 2019 oh shi.. 1 Quote Link to comment Share on other sites More sharing options...
Ryzee119 Posted June 11, 2019 Author Report Share Posted June 11, 2019 4 hours ago, VoltXT7 said: This project looks very interesting but sadly I don't even understand half of what you are talking about. I read the instructions and step 2 & 3 are in perfect chinese for me: 1. JTAG PROGRAMMER: Model ? Picture ? Where can I buy it: Amazon ? Aliexpress ? Link ? 2. APPLY 3.3V POWER TO THE ALADDIN PCB: From where: Motherboard ? DVD Drive ? Xbox Power Supply ? Picture ? 3. PROGRAM CPLD: What's this ? 4. UrJTAG PROGRAM: Will it work on Windows 7 Home Premium 64bits or I have to go back to Windows XP ? How to use this program ? I only found this video from 2015: https://www.youtube.com/watch?v=So1N9FlPGbw ... do I have to do something different / add another step ? 5. COMPATIBLE PROGRAMMING CABLE: Picture ? Where can I buy it: Amazon ? Aliexpress ? Link ? 6. The light gray cable you are using is 30AWG ? 28AWG ? Feel free to be as detailed as possible. I apologize for all the questions. Better be safe than sorry. Thanks I got 3.3v from a bench supply but you can get it from the xbox if needed. Up to the hobbyist. 28awg wire will do. What is a CPLD? Did you try google? https://en.m.wikipedia.org/wiki/Complex_programmable_logic_device See this too. It tells you the required operating system, supported cables etc. http://urjtag.org/book/index.html 2 Quote Link to comment Share on other sites More sharing options...
eustachy1973 Posted June 11, 2019 Report Share Posted June 11, 2019 Which Jtag programmer will be right? https://www.amazon.de/s?k=JTAG+PROGRAMMER&__mk_de_DE=ÅMÅŽÕÑ&ref=nb_sb_noss Quote Link to comment Share on other sites More sharing options...
Ryzee119 Posted June 11, 2019 Author Report Share Posted June 11, 2019 2 minutes ago, eustachy1973 said: Which Jtag programmer will be right? https://www.amazon.de/s?k=JTAG+PROGRAMMER&__mk_de_DE=ÅMÅŽÕÑ&ref=nb_sb_noss I used an Altera USB blaster 1 Quote Link to comment Share on other sites More sharing options...
eustachy1973 Posted June 11, 2019 Report Share Posted June 11, 2019 (edited) Thanks! Such https://www.amazon.de/CQRobot-Programmers-Debuggers-Designed-Configuration/dp/B077L98GDK/ref=sr_1_fkmr0_2?__mk_de_DE=ÅMÅŽÕÑ&keywords=Altera+USB+blaster+&qid=1560291014&s=gateway&sr=8-2-fkmr0 or such? https://www.ebay.de/itm/Altera-Mini-Usb-Blaster-Kabel-fur-CPLD-FPGA-NIOS-JTAG-Altera-ProgrammiererCR/283491758802?hash=item42016cf2d2:g:85cAAOSw4shX3WK9 Edited June 11, 2019 by eustachy1973 1 Quote Link to comment Share on other sites More sharing options...
Ryzee119 Posted June 11, 2019 Author Report Share Posted June 11, 2019 Mine looks like the second link 3 Quote Link to comment Share on other sites More sharing options...
neighbor Posted June 12, 2019 Report Share Posted June 12, 2019 15 hours ago, Ryzee119 said: Did you try google? this RTFM, AMEN! Quote Link to comment Share on other sites More sharing options...
neighbor Posted June 12, 2019 Report Share Posted June 12, 2019 (edited) 14 hours ago, Ryzee119 said: I used an Altera USB blaster the clone cheap one? Edited June 12, 2019 by neighbor just read your answer to this. 1 Quote Link to comment Share on other sites More sharing options...
Ryzee119 Posted June 12, 2019 Author Report Share Posted June 12, 2019 9 hours ago, neighbor said: the clone cheap one? I added a link to one that looks like mine in github. Yea cheap clone one Quote Link to comment Share on other sites More sharing options...
kileak Posted June 14, 2019 Report Share Posted June 14, 2019 This looks like a good weekend project for my Aladdin XT on v1.6 1 Quote Link to comment Share on other sites More sharing options...
eustachy1973 Posted June 16, 2019 Report Share Posted June 16, 2019 I can not run urjtag.exe. Maybe there is another program? Quote Link to comment Share on other sites More sharing options...
KaosEngineer Posted June 16, 2019 Report Share Posted June 16, 2019 5 hours ago, eustachy1973 said: I can not run urjtag.exe. Maybe there is another program? Why not? What error do you get? http://urjtag.org/book/_system_requirements.html Download: https://sourceforge.net/projects/urjtag/files/ Quote Link to comment Share on other sites More sharing options...
eustachy1973 Posted June 16, 2019 Report Share Posted June 16, 2019 libusb0.dllI'm pasting into different folders and then nothing. The same mistake ...I have windows 7 64 bit :(( Quote Link to comment Share on other sites More sharing options...
KaosEngineer Posted June 16, 2019 Report Share Posted June 16, 2019 Try installing the libusb-win32 v1.2.6.0 drivers using the Zadig_wdi installer https://sourceforge.net/projects/libusb-win32/files/Zadig_libwdi/ I cannot test if this works since I have no USB JTAG cable to try. Update: I do see a 2.4 release of this installer available at the dev's web site: https://zadig.akeo.ie/ Usage guide: https://github.com/pbatard/libwdi/wiki/Zadig 1 Quote Link to comment Share on other sites More sharing options...
KaosEngineer Posted June 16, 2019 Report Share Posted June 16, 2019 Which USB JTAG cable are you using? Quote Link to comment Share on other sites More sharing options...
eustachy1973 Posted June 16, 2019 Report Share Posted June 16, 2019 (edited) 20 minutes ago, KaosEngineer said: Try installing the libusb-win32 v1.2.6.0 drivers using the Zadig_wdi installer https://sourceforge.net/projects/libusb-win32/files/Zadig_libwdi/ I cannot test if this works since I have no USB JTAG cable to try. Update: I do see a 2.4 release of this installer available at the dev's web site: Thanks to help! Witch https://zadig.akeo.ie/ libusb0.dll is ok!Now ftd2xx again ...you can go crazy with this Edited June 16, 2019 by eustachy1973 1 Quote Link to comment Share on other sites More sharing options...
eustachy1973 Posted June 16, 2019 Report Share Posted June 16, 2019 (edited) Ufff ... ftd2xx.dll I threw into the SysWOW64 folder and it works!Soldering tomorrow morning, today I'm torn my nerves :)) Cheers! Edited June 16, 2019 by eustachy1973 2 Quote Link to comment Share on other sites More sharing options...
Ryzee119 Posted June 16, 2019 Author Report Share Posted June 16, 2019 2 hours ago, eustachy1973 said: it works! Glad you solved it. I don't recall having to do any of that stuff just extracted and ran. I had to install Quartus II programmer for the USB blaster drivers though. Quote Link to comment Share on other sites More sharing options...
eustachy1973 Posted June 17, 2019 Report Share Posted June 17, 2019 (edited) My windows 7 is modified. Maybe it lacks some drivers.To which directory should I upload the ALADDINLCD.SVF file? In the console I have to indicate where the file is? For example c / ALADDINLCD.SVF etc? Edited June 17, 2019 by eustachy1973 Quote Link to comment Share on other sites More sharing options...
Ryzee119 Posted June 17, 2019 Author Report Share Posted June 17, 2019 2 minutes ago, eustachy1973 said: To which directory should I upload the ALADDINLCD.SVF file? Placing the svf file in the same directory as jtag.exe will be the easiest. Then you can use the command as shown in the github instructions 1 Quote Link to comment Share on other sites More sharing options...
eustachy1973 Posted June 17, 2019 Report Share Posted June 17, 2019 (edited) 29 minutes ago, Ryzee119 said: Placing the svf file in the same directory as jtag.exe will be the easiest. Then you can use the command as shown in the github instructions Thanks! Now the matter of the chip? I have old chips from 2005. They're ok? Edited June 17, 2019 by eustachy1973 Quote Link to comment Share on other sites More sharing options...
bluemeanie23 Posted June 17, 2019 Report Share Posted June 17, 2019 dude probly should just use the cheap clones available everywhere those 2 chips u have are rare as chicken teeth i would give my left nut born to acquire those little gems u have mate Quote Link to comment Share on other sites More sharing options...
Ryzee119 Posted June 17, 2019 Author Report Share Posted June 17, 2019 45 minutes ago, eustachy1973 said: I have old chips from 2005. My code was designed with the cheap clones in mind you pick up from eBay nowadays I dont know if they will work with my code as the pins being used could be different. Id recommend sticking with the clones. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.