Page 2 of 3

Re: Latest TF536 Firmware?

Posted: 02 Oct 2020 14:10
by kludge

Re: Latest TF536 Firmware?

Posted: 03 Oct 2020 01:49
by Drewlio77
supaduper wrote: 02 Oct 2020 07:15 I did a HOWTO ages ago for the TF330 but you can easily use it for the TF536

Here is my guide with the info needed to flash with raspberry pi, in one post there is a link to my Raspian 8gb image which has all the programming software on it ready to use, you will just have to use your own firmware jeds

This was on a Rasp pi 3 but should be ok on a 2...BUT CHECK YOU HAVE THE RIGHT PINOUTS !

The `Howto and 8gb Rasperry Pie image are in two posts halfway down the thread
My raspbian is passworded its ` Backlash1`

https://www.exxosforum.co.uk/forum/viewt ... 8&start=10
Excellent. Thank you vey much :)

Re: Latest TF536 Firmware?

Posted: 03 Oct 2020 03:31
by Drewlio77
kludge wrote: 02 Oct 2020 14:10 https://anastas.io/hardware/2020/09/29/ ... sprog.html

Found this just now.
Nice, this is it. Thanks :)

Re: Latest TF536 Firmware?

Posted: 03 Oct 2020 10:11
by Dallyis
Supaduper's guide mentioned above works great with the Pi image he has linked. It is what I use myself with a PI Zero.

Re: Latest TF536 Firmware?

Posted: 30 Oct 2020 22:24
by peo
supaduper wrote: 02 Oct 2020 07:15 I did a HOWTO ages ago for the TF330 but you can easily use it for the TF536
Still valid for TF536 ? Asking because tf just said "stupid user, don't do that" in another thread on the forum for one who put 3.3v on the JTAG header (as you have in the instructions on how to connect)..

Any difference in powering the CPLD from the JTAG on TF330 / TF536 ? Is it more safe to using the 5V CPU pin ?

Re: Latest TF536 Firmware?

Posted: 30 Oct 2020 23:05
by stephen_usher
The JTAG pin is the Vcc reference and not a power pin. It's used by JTAG cables to determine the voltage of the device and not to power it.

Powering from the +5V+GND pins is fine if the board is outside of the machine.

Note that xc3sprog only works if the Xilinx chip hasn't been locked, as I found to my cost.

Re: Latest TF536 Firmware?

Posted: 31 Oct 2020 18:42
by peo
supaduper wrote: 02 Oct 2020 07:15 I did a HOWTO ages ago for the TF330 but you can easily use it for the TF536

https://www.exxosforum.co.uk/forum/viewt ... 8&start=10
I expect no support on this image, but this is the first time I failed writing the image to a SD card ..

Have tried with the suggested "WinImage" application, but that one failed the most (asks which partition of the image to open, and fails writing it to the card). I also used the more modern program, Balena Etcher which is highly recommended for writing images (had to uncompress and rename the image file before), success in writing but failed to boot. Next in line was "Raspberry Pi Imager", same "success" as with Etcher.
I've also tried Win32diskimager (ancient) with the same non-bootable result as with the two latter ones.

My next attempt was to install xc3sprog on the current Raspbian/Raspberry Pi OS. No problem with getting the image bootable (and on the same Pi and SD card, written with Etcher). I used the instructions previously mentioned for compiling xc3sprog (https://anastas.io/hardware/2020/09/29/ ... sprog.html), failed to find the package libgpio-dev (needed ?), but successfully compiled.

Get this when running without anything connected (should it do that ?), I do not have the .jed file in place, but it fails on "sysfsgpio":

Code: Select all

root@raspberrypi:~/xc3sprog/build# ./xc3sprog -c sysfsgpio -p 0 tf330r3_Burst3.jed:w
XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 774 $ OS: Linux
Free software: If you contribute nothing, expect nothing!
Feedback on success/failure/enhancement requests:
        http://sourceforge.net/mail/?group_id=170565
Check Sourceforge for updates:
        http://sourceforge.net/projects/xc3sprog/develop

Can't find description for a cable named sysfsgpio
Known Cables
ftdi                ftdi    1500000   0x0403:0x6010:
I get the same "Can't find description for a cable named sysfsgpio" output when running the precompiled package (installed as per instructions on Github):
https://github.com/matrix-io/xc3sprog

Anything more to try before accepting that I will not be able to update my TF536 ?

Re: Latest TF536 Firmware?

Posted: 31 Oct 2020 18:54
by derkom
peo wrote: 31 Oct 2020 18:42 I get the same "Can't find description for a cable named sysfsgpio" output when running the precompiled package (installed as per instructions on Github):
https://github.com/matrix-io/xc3sprog

Anything more to try before accepting that I will not be able to update my TF536 ?
See this post.

Re: Latest TF536 Firmware?

Posted: 31 Oct 2020 21:34
by peo
stephen_usher wrote: 30 Oct 2020 23:05 Powering from the +5V+GND pins is fine if the board is outside of the machine.
Another stupid questions, since this board is undocumented... What about applying the +5V power using the PWR2 (without soldered pins) connector in between the leg rows of the CPU ?

Re: Latest TF536 Firmware?

Posted: 31 Oct 2020 22:19
by stephen_usher
peo wrote: 31 Oct 2020 21:34
stephen_usher wrote: 30 Oct 2020 23:05 Powering from the +5V+GND pins is fine if the board is outside of the machine.
Another stupid questions, since this board is undocumented... What about applying the +5V power using the PWR2 (without soldered pins) connector in between the leg rows of the CPU ?
That was what I was suggesting.