Trenz Electronic GmbH Support Forum
Trenz Electronic Products => UltraScale => Topic started by: r.brue on November 19, 2020, 12:02:41 PM
-
I have a carrier board TE0705 with a SOM UltraScale+ (TE0820) and I've built a PetaLinux image.
I've prepared a SD card by creating a FAT32 partition and copying the produced PetaLinux "BOOT.BIN" and "image.ub" files.
Now I've placed the SD so prepared in the SD card slot in the TE0705, powered-up but nothing on the JTAG. I don't see anything (baudrate 115200).
Do I have so set any S3 or S4 (switches)?
Is the SD so prepared right?
Thank you.
-
Hi,
boot mode should be set automatically to SD when you inserd SD:
https://wiki.trenz-electronic.de/display/PD/TE0705+CPLD#TE0705CPLD-Bootmode
We offer a reference design with prebuilt binaries for the different assembly options, can you try out this please:
https://wiki.trenz-electronic.de/display/PD/TE0820+Test+Board
--> you must select the correct assembly option, design includes different variants:
https://wiki.trenz-electronic.de/display/PD/TE0820+Test+Board#TE0820TestBoard-Hardware
br
John
-
Hi, thank you for the reply but still no luck, no console is shown on the JTAG (J7) connector.
I've copied inside the FAT32 partition of my SD card the following files:
- prebuilt>os>petalinux>2GB>image.ub
- prebuilt>boot_images>2eg_1e_2gb>u-boot>BOOT.bin
What am I doing wrong?
Switch S3 position (0010).
-
Which TE0820 did you bough? Did you select correct files for your assembly variant? Can you tell me the whole article number?
Your S3 DIP is OK for TE0820 .
You has set J21 Jumper to 2-3 position?:
https://wiki.trenz-electronic.de/display/PD/TE0705+TRM#TE0705TRM-ConfiguringVCCIO
Which external power supply did you use? Some current limit?
br
John
-
J21 is ok (2-3 position), external power supply is ok (3A, 12V). Product model: TE0820-03-2BE21FA, board: TE0705-04.
-
Hi,
2eg_1e_2gb design for TE0820-03-2BE21FA is correct.
Did you use prebuilt files from the newest test board reference design? --> TE0820-test_board-vivado_2019.2-build_10_20200408073444.zip
When you connect Vivado HW Manager, what did you see? ARM_DAP and FPGA (FPGA Part programmed or not)? Important, not dummy_dap, in this case you PS has a problem! Can you send me a screenshot?
Which SD card did you use?
Did you use some SD card from this list? https://www.xilinx.com/support/answers/66779.html
br
John
-
Yes I'm using "TE0820-test_board-vivado_2019.2-build_10_20200408073444.zip".
From Vivado 2019.1.3 I can program the FPGA correctly.
I attach the screenshot.
The SD card is a Samsung 32GB U1.
-
How did you formate your SD? Please use at first one partition with fat32 formate?
What did you put on the partition? Boot.bin and image.ub?
Do you have some other SD card, which you can try out?
There are only 2 entries for Samsung and it seems they are not completely tested:
https://www.xilinx.com/support/answers/66779.html
--> Samsung micro SD, Size 16gb, uhs-I, Speed class 10
--> Samsung micro SD, Size 8bg, non-uhs, speed class 6
br
John
br
-
Yes there is only one FAT32 partition and I've copied both BOOT.bin and image.ub files.
I've tried three different SD cards (different brands and different speed class/sizes) none worked.
I've none of the fully-tested SD cards, do you suggest me to buy one of the tested ones? (it is pretty strange that I'm having this issue because of the SD cards, as said, I've teste 3 of them none worked, I know for sure that those SD cards are fully working)
-
Ok, in case different SD cards doesn't work, maybe it a other issue.
Can you program Boot.bin into QSPI and boot from QSPI. During Programming, vivado check one time boot mode. Can you check which boot mode will display on the tcl console of vivado?
Remove SD card to swich boot mode an power off/on the board? You should see the uboot console(uboot stops, because SD is missing), insert SD card and start linux booting manually on uboot console.
Does this works?
br
John
-
Hi, I've programmed the QSPI through Xilinx SDK > Xilinx > Program flash using the "BOOT.bin" and the "zynqmp_fsbl.elf" (found in the petalinux folder "images/linux/", is it right?) this is the flashing log from Vivado Console https://pastebin.com/NVC7gZQS (https://pastebin.com/NVC7gZQS).
I've flashed with the SD inserted, no luck, I've tried also to flash without the SD inserted, this is the other log https://pastebin.com/g8i9axMk (https://pastebin.com/g8i9axMk) and meanwhile I was flashing the second time, on the JTAG console (JTAG (J7) connector) I've seen the message that I attach here.
I also attach my flashing configuration from Xilinx SDK.
PS: Now I don't know why, whenever I try to relaunch a new flash, Vivado says: "rdi_zynq_flash.exe has stopped working" :o
-
Hi,
use the "fsbl_flash.elf" for programming, this is need if the boot mode is not JTAG only
it's available in the subfolder
"test_board\prebuilt\software\<assembly version>\"
PS: zynqmp_fsbl.elf is not included in "images/linux/" the current "TE0820-test_board-vivado_2019.2-build_10_20200408073444.zip". I think you use this one which petalinux has generated or?
please use the original files at the moment!
br
John
-
I have the same problem. I use TE0821 and carrier TE0701. OS Ubuntu 18.04. Soft Vivado 2019.2, Vitis 2019.2 and Petalinux 2019.2. I use reference design for this board. I make two filles : BOOT.bin and image.ub. I put this filles on SD card. I use SD cart SanDisk 16GB class10. POwersuplay 12V 2.5A.
I see board on Vivado Hardvare Manangers and I can control on LED. But I no read any signal on serial port.
-
Hi,
we have a reference design, with prebuilt binaries for different assembly options.
can you try out this prebuilt binaries, does it work?
https://wiki.trenz-electronic.de/display/PD/TE0821+Test+Board
br
John
-
Hi,
thank you fir your answer
I use same this design, with pre built binaries. When I create files I choose option 4 (TE-0821-01-3BE21FA) xczu3eg-sfvc784-1-e.
I looked at this manual 4 x 5 SoM Carriers (https://wiki.trenz-electronic.de/display/PD/4+x+5+SoM+Carriers) and I am confused that ЕУ0821+ЕУ0701 has some restrictions on compatibility with SD.
"Works, but without carrier board modification out of specification: TE0701 SD Level shifter powered fix by 1.8V, TE0820 SD MIO-Bank by 3.3V."
-
Hi,
TE0701 SD Level shifter powered fix by 1.8V, TE0820 SD MIO-Bank by 3.3V."
TE0701 was design for 7 series where MIO was 1.8V. TE082x has 3.3VMIO. This works in this combination but it's out of spec.
Instead of creating files, can you test our prebuilt boot.bin and image.ub? --> In case you create all again with our scripts, please download the files again.
Which external power supply did you use for the TE0701? Some current limit?
br
John
-
I open archive. I took next filles:
- TE0821-test_board-vivado_2019.2-build_15_20201006103533\test_board\prebuilt\boot_images\3eg_1e_2gb\u-boot\BOOT.bin
- TE0821-test_board-vivado_2019.2-build_15_20201006103533\test_board\prebuilt\os\petalinux\2GB\image.ub
But I no can open serial console
I use power supply 12V 2.5A
-
Hi,
can you tell me all DIP settings and status of the LEDs when you power on the module and you try to boot from SD?
can you also check on Vivado HW Manager if you see ARM and FPGA or only FPGA and dummy_dap?
br
John
-
Dip switches settings:
C3-1 ON
C3-2 ON
C3-3 OFF
C3-4 ON
C4-1 ON
C4-2 OFF
C4-3 ON
C4-4 OFF
When powering up the board:
on board TE0701: LED B6 is on RED and LED22 on GREEN
sometimes LED D1 blinks RED
on board TE0821 LED D2 on
In Vivado HW Manager I see two sections:
-xczu3_0
- arm_dap_1
-
Hi,
ok so FSBL was booting and has programmed PL part of the FPGA. Either booting is stopped later or you has not configured console correctly.
How did you configured your console? Did you select correct speed?
https://wiki.trenz-electronic.de/display/PD/TE0821+Test+Board#TE0821TestBoard-Linux
Speed: 115200
COM Port: Win OS, see device manager, Linux OS see dmesg |grep tty (UART is *USB1)
Did you select correct COM Port? --> open device manager and connect you JTAG/UART USB to the PC; it should appears a new COM PORT
We use mostly putty to connect UART. what did you use?
br
John
-
I use putty. I try do it in linux and Win10. In windows I see in device manager COM6 and use this.
-
But i do not connect to this port in putty.
-
Hi,
putty setup looks OK.
I've some question about your DIP setup and LED status. I'm sorry I ignored this because I saw on your picture that PL was programmed, so it must be partially booted.
You use TE0701 carrier? :https://shop.trenz-electronic.de/en/TE0701-06-Carrier-Board-for-Trenz-Electronic-7-Series
There are much more LEDs and also some jumper, and some of your names doesn't match which this one on the board.
https://wiki.trenz-electronic.de/display/PD/TE0701+TRM#TE0701TRM-On-boardLEDs
https://wiki.trenz-electronic.de/display/PD/TE0701+TRM#TE0701TRM-ConfigurationDIP-switches
And in case You C3 DIP means S3, than you should not see any Xilinx FPGA on Vivado HW Manager.
Can you also try out the Hello TE0821 app which is included in the prebuilt folder. --> It prints Hello TE0821 in endless loop
br
John
-
Yes I use carrier TE0701. I did mistake C3 is S3
I put in SD - \TE0821-test_board-vivado_2019.2-build_15_20201006103533\test_board\prebuilt\boot_images\3eg_1e_2gb\hello_te0821BOOT.bin
When powering up the board:
on board TE0701: LED B6 is on RED and LED22 on GREEN
sometimes LED D1 blinks RED (period 0.7-0.8s)
on board TE0821 LED D2 on
I do not can connect to srial port
-
I remember one moment. Before I will try use petalinux I updated TE0701 CPLD Firmware. I use manual (https://wiki.trenz-electronic.de/display/PD/TE0701+CPLD+Firmware). I use SC-PGM-TE701-06_CC701-05_20161122.zip and Lattice Diamond Programmer.
It proces was sucsesfully.
-
In Vivado HW Manager I see Core Temp 53.5 C
-
some update.
I bought a new carrier board TE0701 and a new FPGA board TE0821.
I installed TE0821 in the connector TE0701. I haven't done any other action yet.
I am looking at TE0821 Test Board manual:
... Usage
1. Prepare HW like described on section Programming - I did this early. I put on SD prebuilt boot.bin and image.ub.
2. Connect UART USB (most cases same as JTAG) - I right understand I will need set S3-3 OFF?
3. Select SD Card or QSPI as Boot Mode (Depends on used programming variant) - I read datashite of TE0701. - it says that when the SD card is installed in the slot, the Boot Mode is automatically turned on. do I right understand?
4. Power On PCB I will use external power suplay 12V and 2.5A.
Please give me advice. If I do the steps as I described above it should work. or I need to do some additional steps. for example, update some switches or something else. I would really appreciate any help with this issue.
-
Hi,
sorry for delay I was on vacation.
I've still problems with your description of the module behaviour.
You wrote
on board TE0701: LED B6 is on RED and LED22 on GREEN
but I don't now which LED you mean. There are 8 LEDs next to the micro USB for JTAG/UART.
--> https://wiki.trenz-electronic.de/display/PD/TE0701+TRM#TE0701TRM-On-boardLEDs (https://wiki.trenz-electronic.de/display/PD/TE0701+TRM#TE0701TRM-On-boardLEDs)
--> https://wiki.trenz-electronic.de/display/PD/TE0701+CPLD#TE0701CPLD-LED (https://wiki.trenz-electronic.de/display/PD/TE0701+CPLD#TE0701CPLD-LED)
What did you mean with LED B6?
LED22 means LED D22 or? This is a power LED for 3.3VIN of the module.
Connect UART USB (most cases same as JTAG) - I right understand I will need set S3-3 OFF?
S3-3 is a multiplexer for the JTAG chain.
--> with S3-3 ON, you should see Xilinx ARM+FPGA on vivado HW Manager
--> with S3-3 OFF, you should see unknown device on Vivado HW Manager (it's the CPLD of the carrier)
This has nothing todo with UART
on one of your first post your wrote
C3-3 OFF
--> where you write C was a typo, but you also send me a picture of the Vivado HW Manager with Xilinx FPGA visible, which was programmed.
This should be not possible in this combination!
Boot mode is set via CD Pin of the SD card with default firmware.
So please do following:
- formate SD card with fat32 partition and copy prebuilt boot.bin from the hello_te0821 application on the sd card --> \TE0821-test_board-vivado_2019.2-build_15_20201006103533\test_board\prebuilt\boot_images\3eg_1e_2gb\hello_te0821BOOT.bin
- connect USB cable for JTAG/UART
- Set S3-3 ON
- Power ON the module
- open Vivado HW manager and check if you see ARM and a programmed FPGA (like the picture from Vivado HW manager which you has send me in the past)
- open Putty and check if you see Hello TE0821 in endless loop
- Give me the status of all TE0701 LEDs: D1,D2,D3,D4,D,5,D6,D7,D8
positions see: https://wiki.trenz-electronic.de/display/PD/TE0701+TRM#TE0701TRM-MainComponents - Give me the status of all TE0821 LEDs: D1,D3,D4
positions see https://wiki.trenz-electronic.de/display/PD/TE0821+TRM - Send me position of all other DIPs and Jumper
positions see:
https://wiki.trenz-electronic.de/display/PD/TE0701+TRM#TE0701TRM-MainComponents
https://wiki.trenz-electronic.de/display/PD/TE0701+TRM#TE0701TRM-SummaryofVCCIOconfigurationviajumpers
br
John
-
thank you very much for your help. everything is working. I receive messages from the pcb.
I also tried running PetaLinux. I got access to the console.
-
Good to hear that it works now.
br
John