News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

TE0720/TE0701 - FSBL boot from SD card

Started by GlennW, November 18, 2013, 06:08:17 PM

Previous topic - Next topic

GlennW


Can you confirm how we can boot this zynq system using an FSBL on an SD card?
I believe we need to control the MODE output pin of the carrier (TE0701) CPLD (which eventually drives the BOOT_R signal on the module). There is no detail I can find on how to do this.

In general, more details of the CPLD device functionality on the carrier (TE0701) and module (TE0720) would be useful - the source code would be even better.

Thanks

Antti Lukats

Hi

TE0720 mode pin is connected to TE0720 System Controller (CPLD), ist Default function is Bootmode:
open or logic high: SPI boot
low: SD Card boot

Those Settings are only latched on POWER UP, not on any resets. This is function of System Controller on TE0720 (Version 0.02 - current for all released modules). On customer request we can customize TE0720 System Controller also.

CPLD on TE0701 does only connected SD Card detect to MODE Input of the module.

Good news:

1) Lattice Diamond 2.2 and Standalone Programmer 3.0 Support CPLD reflashing on TE0701 directly, so we can provide new JEDEC files for the CPLD on TE0701.
As of open source the VHDL code for it, it is also planned from us.

br
Antti Lukats








Antti Lukats

we are preparing carrier board CPLD source release

denial

Quote from: Antti Lukats on December 11, 2013, 02:33:22 PM
we are preparing carrier board CPLD source release
Is there any update on this?

Antti Lukats


denial

Quote from: Antti Lukats on November 18, 2013, 07:21:54 PM
TE0720 mode pin is connected to TE0720 System Controller (CPLD), ist Default function is Bootmode:
open or logic high: SPI boot
low: SD Card boot

Those Settings are only latched on POWER UP, not on any resets.
Driving POR and EN1 low for a moment does not appear to be enough to latch the MODE signal again.
Is there any way to force the TE0720 to latch it again if it is plugged into a TE0701?

JH

Hi,
you refer to a post from 2013. We have 2020 now. ;-)

Boot mode will be changed with SD card CD Pin when you use TE0701:
  https://wiki.trenz-electronic.de/display/PD/TE0701+CPLD#TE0701CPLD-BootMode
--> Boot Mode is SD when card is inserted and QSPI if it's removed.
We offer also TE0701 CPLD source code in our download area of the TE0701 CPLD, in case you want to change it.

We offer also newer reference designs:
  https://wiki.trenz-electronic.de/display/PD/TE0720+Reference+Designs

Here are Links to other documentation and downloads:
  https://wiki.trenz-electronic.de/display/PD/TE0720+Resources
  https://wiki.trenz-electronic.de/display/PD/TE0701+Resources


br
John

denial

Quote from: JH on October 28, 2020, 08:30:17 AM
you refer to a post from 2013. We have 2020 now. ;-)

I'm aware of that. My question fits the topic and the previous discussion perfectly.

Quote from: JH on October 28, 2020, 08:30:17 AM
Boot mode will be changed with SD card CD Pin when you use TE0701:
  https://wiki.trenz-electronic.de/display/PD/TE0701+CPLD#TE0701CPLD-BootMode
--> Boot Mode is SD when card is inserted and QSPI if it's removed.
We offer also TE0701 CPLD source code in our download area of the TE0701 CPLD, in case you want to change it.

I know. This was already said in the previous answers. I have modified the CPLD source code to be able to toggle MODE and POR via the two ACBUS pins.
But as I wrote toggling POR is not enough to get the TE0720 to boot with the new MODE.
Are there other pins that have to be toggled to temporarily remove power from the TE0720 or is it impossible with the TE0701 unless one also changes the CPLD code of the TE0720?

JH


denial

Sorry, it's called PON not POR in the CPLD code and signal is driven out to the B2B connector as SC_EN1.
I tried driving it low for more than a second.

JH

instead of FTDI use free DIP switches of the TE0701 to test it.
Did you set NOSEQ to high or low?

br
John

denial

Let's ignore that I am using the FTDI for this. The stock CPLD firmware will also drive SC_EN1 low while the S2 button is pressed.
The TE0720 appears to latch the MODE as soon as power is applied to the board even when SC_EN1 is low at that time.

I didn't change NOSEQ. It is not driven by the TE0701 CPLD and has a pull-down inside the TE0720 CPLD.

denial

Never mind. PCN-20150121 says that newer TE0720 modules latch MODE with every reset instead of only at power up.