cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Zoro100
Explorer
Explorer
246 Views
Registered: ‎05-22-2018

PS_ERR_OUT high after programming via JTAG with boot mode set to QSPI, ZCU102

Jump to solution

Hi everyone,

 

We have a boot image in the QSPI, that would load bitstream into the PL side(no C application but just want to load bitstream into PL on startup).  As part of our application requirements, at a later point, a new bitstream is to be loaded into PL side via JTAG. Also, access is to be restricted to the SW6 on ZCU102 that lets on change the boot mode. 

 

In order to test if this were possible, we loaded a BOOT image onto the QSPI, power cycled the board and after verifying the bitstream from QSPI to be working, we programmed the FPGA with a new bitstream, via JTAG and verified the functionality of the new bitstream. However we observed the PS_ERR_OUT LED go high after this process. 

 

We would like to know if this kind of approach is safe and would not result in messing up the board. Given the project requirements though, this is ideal for us.

 

Can someone suggest if this is alright?

 

 

Thanks in advance,

 

-Zoro100

0 Kudos
1 Solution

Accepted Solutions
ddn
Moderator
Moderator
238 Views
Registered: ‎06-06-2018

@Zoro100 ,

Generally we recommend, to change boot mode to JTAG. if you need to program via JTAG.

If you see their is no functionality issue of design you loaded, then you can proceed without thinking on PS_ERR_OUT Signal.

If you want to know, why PS_ERR_OUT is Red, then do below steps :

 Please check PMU_Global error status register, what error is contains ?( regarding to PS_ERR_OUT signal).

    1. You can read PMU_Global error status register, in PetaLinux by using following command :  1. devmem 0xFFD80530 (for error status 1) and 2.  devmem 0xFFD80540(for error status 2).
    2. You can read PMU_Global error status register, in SDK by using following command :  1. mrd 0xFFD80530 (for error status 1) and 2.  mrd 0xFFD80540(for error status 2).

 

Regards,
Deepak D N
---------------------------------------------------------------------------
Please Kudo and Accept as a Solution, If it helps.
---------------------------------------------------------------------------

View solution in original post

2 Replies
ddn
Moderator
Moderator
239 Views
Registered: ‎06-06-2018

@Zoro100 ,

Generally we recommend, to change boot mode to JTAG. if you need to program via JTAG.

If you see their is no functionality issue of design you loaded, then you can proceed without thinking on PS_ERR_OUT Signal.

If you want to know, why PS_ERR_OUT is Red, then do below steps :

 Please check PMU_Global error status register, what error is contains ?( regarding to PS_ERR_OUT signal).

    1. You can read PMU_Global error status register, in PetaLinux by using following command :  1. devmem 0xFFD80530 (for error status 1) and 2.  devmem 0xFFD80540(for error status 2).
    2. You can read PMU_Global error status register, in SDK by using following command :  1. mrd 0xFFD80530 (for error status 1) and 2.  mrd 0xFFD80540(for error status 2).

 

Regards,
Deepak D N
---------------------------------------------------------------------------
Please Kudo and Accept as a Solution, If it helps.
---------------------------------------------------------------------------

View solution in original post

Zoro100
Explorer
Explorer
221 Views
Registered: ‎05-22-2018

Hi @ddn  ,

Thanks for the quick reply.

On using the following command in SDK, after connecting to the server, here is what I see.

Targets listTargets list

Targets responded to cmdTargets responded to cmd

Similar response by all responded targetsSimilar response by all responded targets

May I know what these responses mean?

 

Thanks in advance,

 

 

-Zoro100

0 Kudos