Programming ATF150x with Openocd
Re: Programming ATF150x with Openocd
Got feedback from Alan. He has had no success so far and in the meantime recommends to continue to use an intel based Windows. In other words, next thing on my agenda is Project Bureau and openocd.
Re: Programming ATF150x with Openocd
GlennSmith wrote:
@cbscpe, and just for completeness: on a different thread,
akohlbecker said :
akohlbecker said :
Quote:
I did have some trouble initially with FTDI drivers, but putting the FTD2XX.DLL file found in this archive https://ftdichip.com/wp-content/uploads ... utable.zip inside the ATMISP directory made it work. I did have to use the one from the "x86" folder.
Sorry for the late response. The last two weeks were sunny and so I was busy with outdoor activities. But rainy days are tinker days and so today I finally took my time to try all the options regarding programming the ATF150x CPLDs. Ultimately I also tried to copy the drivers as suggested by @akohlbecker in the thread you linked here.
This works indeed, thanks a lot for your hint!
In other words it is a simple as that, after installing the necessary drivers for ARM manually with the programmer connected to the PC as written in the PDF from FTDI the programmer is recognized. Then you just need to copy the ftd2xx.dll from the x86 folder to the ATMISP directory. Life can be very easy sometimes. So now I have two working options. This is very cool.
Today I first spent hours on the suggestion of Dave to try the python scripts to convert the JED to SVF files and then use opened to program the CPLD as you described in this thread using the USB Blaster clone from China I once bought. I spent hours because I probably managed to make every possible error, but on the other side it was also the first time using openocd. But at the end I managed to use the scripts to convert the JED to SVF and then use openecd to program the CPLD. And then after copying the .DLL I used ATMISP on my VM with Windows 11 on ARM to verify the CPLD against the original JED which finished successfully! Finally I can get rid of my old PC.
Again thanks for your description on how to use openocd to program the ATF150x and your hint.
Peter