Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: martin on November 19, 2015, 09:29:44 AM

Title: FSBL: Where to define SD0_WP_CD_SEL
Post by: martin on November 19, 2015, 09:29:44 AM
I read on the TE0720 Getting start page that it is necessary to write following lines if I create my own FSBL...

SD0_WP_CD_SEL = 0x003F003F;
SD1_WP_CD_SEL = 0x003F003F;

But in which file and position I have to write this two lines?

Thanks,
Martin
Title: Re: FSBL: Where to define SD0_WP_CD_SEL
Post by: martin on November 19, 2015, 10:16:12 AM
Maybe I found the file...
It's described in https://wiki.trenz-electronic.de/display/TE0720/FSBL+-+First+Stage+Boot+Loader (https://wiki.trenz-electronic.de/display/TE0720/FSBL+-+First+Stage+Boot+Loader)

The file name is main.c in the FSBL and the position is after the line SlcrUnlock();

Now I will try it out :-)
Title: Re: FSBL: Where to define SD0_WP_CD_SEL
Post by: Antti Lukats on November 20, 2015, 09:14:14 AM
you do not have to do it with newer version of FSBL, this was needed as hack for very old versions of vivado/SDK