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

explaning dip switch modes for te0703

Started by amamory, May 31, 2020, 09:27:31 PM

Previous topic - Next topic

amamory

I have this kit https://shop.trenz-electronic.de/en/TE0720-03-1CFA-S-TE0720-03-1CFA-S-Starter-Kit?c=373
and I am trying to understand the modes for te0703-05.
http://www.trenz-electronic.de/fileadmin/docs/Trenz_Electronic/Modules_and_Module_Carriers/4x5/4x5_Carriers/TE0703/REV05/Documents/TRM-TE0703-05.pdf

This table in section 3.8 should be more clear. For instance:




S2-1) what is CD pin ? if you try to CTRL+F this term you wont find in this document. I had to go to the schematics of TRM-TE0703, to try the same CTRL+F and figure out that this is the memory card switch. even though, there is no explanation of the impact of this switch to the modes
S2-4) it says 'Boot from SD Card (set Pin to GND).' when ON, and 'Boot from QSPI flash on module (set Pin to VDD)' when off. This is too confusing. The pin is ON and grounded ?!?

I would expected something more direct such as:
- mode ABC: some explanation. set switches to '1XX1' (right hand side is the 1st switch)
- mode XZY some explanation. set switches to '0001' (right hand side is the 1st switch)
...

Could you give me some clear explanation ?

Overall, I have to say that I am quite disappointed with my purchase.
For a starter kit, as you say in your website, the documentation is messy.
A starter kit should be a kind of flag ship product of the company. the product that the company will recognized in the industry.

I have to find the manual of carrier, the schematics of the carrier, the manual of the module, the schematics of the modules, the manual and schematics of the cpld... who knows what else do i need to read to get some simple design working !!! probably in the next weeks I will figure out that i need to understand 1/2 a dozen other documents as well.

Can you get my point ?!?! it's a starter kit for God sake !!! it should not be like this !

Not to mention the complete lack of working examples. Only a mere hello world !!!

Disappointed!!! ... I just hope if there will be some assistance, at least.

Alexandre









JH

Hi,
download https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board

Select prebuilt boot.bin  (with hello TE0720 or with Uboot) and in case you select uboot also image.ub of your assenly version (TE0720-03-1CFA) and put it into SD card (one fat32 partition)

Set Boot Mode to SD TE0703 S2-4 ON: https://wiki.trenz-electronic.de/display/PD/TE0703+CPLD+-+CC703S#TE0703CPLD-CC703S-BootMode
Other DIPS on TE0703:
S4-1  - no matter -->  because CD is not used in the reference design
S4-2 - ON  --> FPGA JTAG access
S4-3 -ON --> Module JTAG access
S4-4 - ON -->  Boot from SD Card
  --> see also:
      -https://wiki.trenz-electronic.de/display/PD/TE0703+CPLD+-+CC703S#TE0703CPLD-CC703S-BootMode
      -https://wiki.trenz-electronic.de/display/PD/TE0703+CPLD+-+CC703S#TE0703CPLD-CC703S-BootMode

power on and connect UART for example with putty: https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-Usage

br
John

amamory


thanks John,

It seems that you understood that my issues were only related to the reference 'hello world' design. This is not the case. The instructions for the reference design are pretty clear.

What is not clear is the explanations of the DIPS modes, which is documented in the TE0720-TRM, which means that ALL modes should be clearly described. Not only for the case of the ref design. In this case, few question remains:
- what is the role of S2-1 ?
- you didnt mention QSPI mode
- the jtag mode programs only the PL part or also the PS part ?
- I suppose its S2, not S4.

there is still a matter of clearness and presentation of this table. Allow me to suggest a different way to present it:
- fpga jtag mode: mode where the Zynq PS and PL parts can be programmed. set switches to 'XX1X' (right hand side is the 1st switch)
- cpld jtag mode: mode where the TE0703 can be programmed. set switches to 'X00X' (right hand side is the 1st switch)
- cpld/fpga jtag mode: mode where the TE0703 can be programmed. set switches to 'X10X' (right hand side is the 1st switch)
- SD card mode: mode where the boot starts from the SD card. set switches to '1XXX' (right hand side is the 1st switch)
- QSPI mode: mode where the boot starts TE0720 flash memory. set switches to '0XXX' (right hand side is the 1st switch)
- is any mode missing ?

please, correct me if i did any mistake. I believed I placed too many dont cares 'X' and there some redundant values.

I would strongly suggest that the table focus on the modes, rather than the position is the dips. People will be looking for the modes, then the dips position required for the modes.

also, please DO CONSIDER additional examples and tutorials at least for ONE starter kit. There should be an example using ethernet, ext pins, usb, etc.

Alexandre






JH

Hi,
TE0720 is only a module and TRM describes only basic components from the module nothing which depends on firmware. And we offer also different assembly variants, so theoretically, we must write TRMs in all possible combinations, which is practical impossible. And with this different Carrier there will be more and more combinations....
So we split the information in module and carrier TRM and module and carrier CPLD description and reference designs (which we try to update one or 2 times per year for new vivado versions)

Quote- I suppose its S2, not S4.
yes was a typo.
So it should be:
S2-1  - no matter -->  because CD is not used in the reference design  -> CD is sd card detect pin which is not used on default TE0720 design
S2-2 - ON  --> FPGA of the module JTAG access --> OFF CPLD of the module is in the change Note: S2-3 has higher priority.
S2-3 -ON --> Module JTAG access   --> OFF CPLD of the carrier is in chain
S2-4 - ON -->  Boot from SD Card     --> OFF is boot mode from QSPI

Quote- the jtag mode programs only the PL part or also the PS part ?
No!  JTAG can be used for much more. We have JTAG connected in cascade and you can switch between SD/QSPI boot mode.
See also Schematics and Zynq TRM
https://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf
https://shop.trenz-electronic.de/en/TE0720-03-2IF-SoC-Module-with-Xilinx-Zynq-XC7Z020-2CLG484I-ind.-temp.-range-1-GByte?path=Trenz_Electronic/Modules_and_Module_Carriers/4x5/TE0720/REV03/Documents

Quotealso, please DO CONSIDER additional examples and tutorials at least for ONE starter kit. There should be an example using ethernet, ext pins, usb, etc.
Test boar Design includes SD, ETH, USB I2C, RTC. also with linux example :
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-KeyFeatures
Copy prebuilt boot.bin and image.ub on SD and boot from SD.
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-Usage

Instantiate normal PL IO makes no scene because I don't know what the customer connect and which carrier he use.
So for TE0703 carrier you has nearly every interface (excepted general puropse IOs) included in this project.

Bu I know some getting started which combines the most important information form the different pages to getting up the modules with our carrier will be better (and this is still on my todo list). At the moment we have only this page with links to all other documentations and downloads: https://wiki.trenz-electronic.de/display/PD/Starter+Kit+720

Thanks for your feedback.

br
John