Page 1 of 3

Reflashing the TF536

Posted: 03 Aug 2020 23:06
by Stormbringer
I'm going to attempt to flash my TF536 to get it working on my A2000 v6.2 mobo.

I've been using the terriblefire guide here:
https://github.com/terriblefire/tf328/w ... spberry-Pi

Installing the packages was fun since I hate linux (and it hates me)... SCROLL TO THE RIGHT for the full command to install "lsb-release".

Before I go hooking it up to my Raspberry PI 3b I wanted to confirm something.
I've actually never heard of BCM (Broadcom SOC channel), usually refer to the pinout. Anyhow, am I to assume the BCM #'s translate to the GPIO #'s?.

In my case with the RPi3b Id be using pins:
7 (TMS)
15 (TDI)
13 (TDO)
11 (TCK)
9 (GND) or any other ground pins...

Is that correct?

Re: Reflashing the TF536

Posted: 04 Aug 2020 06:39
by derkom
Yes, that's the GPIO pins. You find might this guide illuminating.

Thanks for posting this question. I've got a 536 that needs flashing and I hadn't run across TF's guide. Seems this is a lot simpler than I thought last night.

Re: Reflashing the TF536

Posted: 04 Aug 2020 06:49
by Stormbringer
I wired it up and I believe I installed the packages correctly but when I type the sudo xc3sprog -c sysfsgpio command I get a whole page of items but at the beginning of the output I get something along the lines of sysfsgpio not found. Any ideas?

Re: Reflashing the TF536

Posted: 04 Aug 2020 09:38
by theq
If connected correctly you should get something like this:

Code: Select all

pi@RaspberryPi2b:~ $ sudo xc3sprog -c sysfsgpio
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

JTAG loc.:   0  IDCODE: 0x59616093  Desc:                      XC95288XL Rev: E  IR length:  8
pi@RaspberryPi2b:~ $ 

Re: Reflashing the TF536

Posted: 04 Aug 2020 09:46
by PaulJ_2.0
You must also ensure the TF board has power.
You can do this by having it installed and powered on or by supplying 5v to the PWR header.

Re: Reflashing the TF536

Posted: 04 Aug 2020 10:05
by supaduper
Here is a link to a 8gb raspberry pie image I did with all the software installed so all you need to do is have the cables setup and away you go, there is a howto also included with Steves Diagram of the cable layout, you cant go wrong, just substitute your TF536 jed files for the ones I included for the TF328
https://www.exxosforum.co.uk/forum/viewt ... 666#p19666

Re: Reflashing the TF536

Posted: 04 Aug 2020 10:05
by derkom
Stormbringer wrote: 04 Aug 2020 06:49 I wired it up and I believe I installed the packages correctly but when I type the sudo xc3sprog -c sysfsgpio command I get a whole page of items but at the beginning of the output I get something along the lines of sysfsgpio not found. Any ideas?
See this post.

Re: Reflashing the TF536

Posted: 04 Aug 2020 10:54
by derkom
I have just successfully flashed my TF536 (with Atari firmware) using this method (sysfsgpio_creator instead of sysfsgpio), on a Raspberry Pi 2 running Raspbian Buster, so it does work. :mrgreen:

Re: Reflashing the TF536

Posted: 04 Aug 2020 14:27
by Stormbringer
derkom wrote: 04 Aug 2020 10:05
Stormbringer wrote: 04 Aug 2020 06:49 I wired it up and I believe I installed the packages correctly but when I type the sudo xc3sprog -c sysfsgpio command I get a whole page of items but at the beginning of the output I get something along the lines of sysfsgpio not found. Any ideas?
See this post.
WINNER winner chicken dinner!!!!!!!!

I was able to use the commands:
sudo xc3sprog -c sysfsgpio_creator

and

sudo xc3sprog -v -c sysfsgpio_creator -p 0 tf536r2_main_top_AMIGA_FULL_PHASE_7.jed:w

Now it looks like im up and running.... This is my first time with an Amiga so now I get to play!!!! thank you all!!!!

Re: Reflashing the TF536

Posted: 04 Aug 2020 15:06
by derkom
:cheer: :girldance: