UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer nitron
Observer
6,836 Views
Registered: ‎03-26-2014

Zynq in-cricuit programming through RS232/Ethernet

Hi,

 

I have a bare-metal application running on both Zynq processors.

System maintenance will pe performed in local through RS232/USB or remotely through Ethernet.

 

Do you know a tool that allows in-circuit programming through Ethernet or RS232? (I mean writing the Boot.bin on the SD card or it's equivalent in the QSPI FLASH)

 

I would like to avoid JTAG since in a "real life" application is not practical to open the equippement, connect the JTAG and reprogram. It's much more simple to connect to Ethernet/USB ports externally available.

 

I red about U-BOOT but this requires Linux on one of the Zynq cores  and also installing Linux on the maintenance PC. I would like to keep both processors running bare-metal.

 

Is there any other tool (free or commercial) allowing programming the Zynq Flash/SD through serial/Ethernet?

 

Any suggestions are welcome!

 

Regards,

0 Kudos
4 Replies
Scholar trenz-al
Scholar
6,820 Views
Registered: ‎11-09-2013

Re: Zynq in-cricuit programming through RS232/Ethernet

yes

 

u-boot

 

its not the best solution, but it can do what you asked for

0 Kudos
Scholar sampatd
Scholar
6,765 Views
Registered: ‎09-05-2011

Re: Zynq in-cricuit programming through RS232/Ethernet

0 Kudos
Observer nitron
Observer
6,757 Views
Registered: ‎03-26-2014

Re: Zynq in-cricuit programming through RS232/Ethernet

Hi,

 

Thank both of you for your answers.

 

I was hoping to find some standard programming tool compatible with a baremetal application.

 

I wanted to avoid running Linux on a maintenance PC (all our tools are on Win7).

 

I also hoped to avoid Linux on one of the Cortex A9 cores. (both processors will run baremetal applications so I'll have to switch to bare metal after programming in Linux).

 

Is there some documentation about BOOT.bin format or *.mcs format?

 

I would like to evaluate the complexity of building the RS232/Ethernet programming tool myself.

 

Regards,

0 Kudos
Scholar trenz-al
Scholar
6,752 Views
Registered: ‎11-09-2013

Re: Zynq in-cricuit programming through RS232/Ethernet

1 well u-boot is considered baremetal, its SSBL second stage bootloader, not O/S

2 there are no baremetal stuff ready you are seeking for. I know. :(

3 .mcs is intel extended hex, its just a way to use more bytes for binary data than original file

3 BOOT.BIN >>

 

3a BOOT.BIN "early header" is what zynq BOOTROM fetches, uses to init some regs and then loads to ram or does jump to XiP offset

 

3b after that comes xilinx partitions, secondary format in BOOT.BIN, those partitions are read by FSBL and then loaded, decrypted if needed and loaded into FPGA or RAM

 

if you use own FSBL and baremetal you can forget all the partition stuff and only care about the BOOT.BIN early header to make your bootstrap to load, from there you can do whatever you want.

 

http://igg.me/at/zynq

 

this is BAREMETAL zynq bases system on module, as there is no DDR, so we do need baremetal flash tools :) so we are working on solutions

 

 

0 Kudos