Author Topic: why I get BAD PACKET ERROR?  (Read 2427 times)

0 Members and 1 Guest are viewing this topic.

Offline ali_asadzadehTopic starter

  • Super Contributor
  • ***
  • Posts: 1930
  • Country: ca
why I get BAD PACKET ERROR?
« on: October 21, 2023, 12:25:42 pm »
Hi,
I have designed a new PCB for Xilinx Kintex Device (XC7K325T-3FFG900I), Power supplies are ok, and every single rail is in spec like 1.0V , 1.2V , 1.5V, 1.8V, 2.5V & 3.3V, and I have tested each power rail with a constant current load that I have that can sink 3A from each rail, also the powers are sequenced the right way and scope shows the correct sequencing, the programming cable finds the chip correctly, I have written a simple counter that would toggle a led, when I program the device the done would not go high,  the hole board uses around 1.3 wat's of power and every device on the board is at room temperature and seems ok,

The content of status register before programming
Quote
Validating chain...
Boundary-scan chain validated successfully.
1: Device Temperature: Current Reading:   33.15 C, Min. Reading:   30.69 C, Max. Reading:   33.64 C
1: VCCINT Supply: Current Reading:   0.999 V, Min. Reading:   0.996 V, Max. Reading:   0.999 V
1: VCCAUX Supply: Current Reading:   1.799 V, Min. Reading:   1.796 V, Max. Reading:   1.799 V
'1': Reading bootsts register contents...
  • VALID_0 - ERROR OR END OF STARTUP (EOS) DETECTED                       :         0
  • [1] FALLBACK_0 - FALLBACK TRIGGERED RECONFIGURATION                        :         0
    [2] IPROG_0 - INTERNAL WARMBOOT (IPROG) TRIGGERED RECONFIGURATION          :         0
    [3] WTO_ERROR_0 - WATCHDOG TIME OUT ERROR                                  :         0
    [4] ID_ERROR_0 - FPGA DEVICE IDCODE ERROR                                  :         0
    [5] CRC_ERROR_0 - CYCLIC REDUNDANCY CHECK (CRC) ERROR                      :         0
    [6] WRAP_ERROR_0 - BPI FLASH ADDRESS COUNTER WRAP AROUND ERROR             :         0
    [7] HMAC_ERROR_0 - HMAC ERROR                                              :         0
    [8] VALID_1 - ERROR OR END OF STARTUP (EOS) DETECTED                       :         0
    [9] FALLBACK_1 - FALLBACK TRIGGERED RECONFIGURATION                        :         0
    [10] IPROG_1 - INTERNAL WARMBOOT (IPROG) TRIGGERED RECONFIGURATION         :         0
    [11] WTO_ERROR_1 - WATCHDOG TIME OUT ERROR                                 :         0
    [12] ID_ERROR_1 - FPGA DEVICE IDCODE ERROR                                 :         0
    [13] CRC_ERROR_1 - CYCLIC REDUNDANCY CHECK (CRC) ERROR                     :         0
    [14] WRAP_ERROR_1 - BPI FLASH ADDRESS COUNTER WRAP AROUND ERROR            :         0
    [15] HMAC_ERROR_1 - HMAC ERROR                                             :         0
    '1': Reading status register contents...
  • CRC ERROR                                                              :         0
  • [1] DECRYPTOR ENABLE                                                       :         0
    [2] PLL LOCK STATUS                                                        :         1
    [3] DCI MATCH STATUS                                                       :         1
    [4] END OF STARTUP (EOS) STATUS                                            :         0
    [5] GTS_CFG_B STATUS                                                       :         0
    [6] GWE STATUS                                                             :         0
    [7] GHIGH STATUS                                                           :         0
    [8] MODE PIN M[0]                                                          :         1
    [9] MODE PIN M[1]                                                          :         0
    [10] MODE PIN M[2]                                                         :         0
    [11] INIT_B INTERNAL SIGNAL STATUS                                         :         1
    [12] INIT_B PIN                                                            :         1
    [13] DONE INTERNAL SIGNAL STATUS                                           :         0
    [14] DONE PIN                                                              :         0
    [15] IDCODE ERROR                                                          :         0
    [16] SECURITY ERROR                                                        :         0
    [17] SYSTEM MONITOR OVER-TEMP ALARM STATUS                                 :         0
    [18] CFG STARTUP STATE MACHINE PHASE                                       :         0
    [19] CFG STARTUP STATE MACHINE PHASE                                       :         0
    [20] CFG STARTUP STATE MACHINE PHASE                                       :         0
    [21] RESERVED                                                              :         0
    [22] RESERVED                                                              :         0
    [23] RESERVED                                                              :         0
    [24] RESERVED                                                              :         0
    [25] CFG BUS WIDTH DETECTION                                               :         0
    [26] CFG BUS WIDTH DETECTION                                               :         0
    [27] HMAC ERROR                                                            :         0
    [28] PUDC_B PIN                                                            :         1
    [29] BAD PACKET ERROR                                                      :         0
    [30] CFGBVS PIN                                                            :         1
    [31] RESERVED                                                              :         0
The content of status register after programming
Quote
Validating chain...
Boundary-scan chain validated successfully.
1: Device Temperature: Current Reading:   33.64 C, Min. Reading:   33.15 C, Max. Reading:   34.13 C
1: VCCINT Supply: Current Reading:   0.999 V, Min. Reading:   0.996 V, Max. Reading:   0.999 V
1: VCCAUX Supply: Current Reading:   1.796 V, Min. Reading:   1.790 V, Max. Reading:   1.799 V
'1': Reading bootsts register contents...
  • VALID_0 - ERROR OR END OF STARTUP (EOS) DETECTED                       :         0
  • [1] FALLBACK_0 - FALLBACK TRIGGERED RECONFIGURATION                        :         0
    [2] IPROG_0 - INTERNAL WARMBOOT (IPROG) TRIGGERED RECONFIGURATION          :         0
    [3] WTO_ERROR_0 - WATCHDOG TIME OUT ERROR                                  :         0
    [4] ID_ERROR_0 - FPGA DEVICE IDCODE ERROR                                  :         0
    [5] CRC_ERROR_0 - CYCLIC REDUNDANCY CHECK (CRC) ERROR                      :         0
    [6] WRAP_ERROR_0 - BPI FLASH ADDRESS COUNTER WRAP AROUND ERROR             :         0
    [7] HMAC_ERROR_0 - HMAC ERROR                                              :         0
    [8] VALID_1 - ERROR OR END OF STARTUP (EOS) DETECTED                       :         0
    [9] FALLBACK_1 - FALLBACK TRIGGERED RECONFIGURATION                        :         0
    [10] IPROG_1 - INTERNAL WARMBOOT (IPROG) TRIGGERED RECONFIGURATION         :         0
    [11] WTO_ERROR_1 - WATCHDOG TIME OUT ERROR                                 :         0
    [12] ID_ERROR_1 - FPGA DEVICE IDCODE ERROR                                 :         0
    [13] CRC_ERROR_1 - CYCLIC REDUNDANCY CHECK (CRC) ERROR                     :         0
    [14] WRAP_ERROR_1 - BPI FLASH ADDRESS COUNTER WRAP AROUND ERROR            :         0
    [15] HMAC_ERROR_1 - HMAC ERROR                                             :         0
    '1': Reading status register contents...
  • CRC ERROR                                                              :         0
  • [1] DECRYPTOR ENABLE                                                       :         0
    [2] PLL LOCK STATUS                                                        :         1
    [3] DCI MATCH STATUS                                                       :         1
    [4] END OF STARTUP (EOS) STATUS                                            :         0
    [5] GTS_CFG_B STATUS                                                       :         0
    [6] GWE STATUS                                                             :         0
    [7] GHIGH STATUS                                                           :         0
    [8] MODE PIN M[0]                                                          :         1
    [9] MODE PIN M[1]                                                          :         0
    [10] MODE PIN M[2]                                                         :         0
    [11] INIT_B INTERNAL SIGNAL STATUS                                         :         1
    [12] INIT_B PIN                                                            :         1
    [13] DONE INTERNAL SIGNAL STATUS                                           :         0
    [14] DONE PIN                                                              :         0
    [15] IDCODE ERROR                                                          :         0
    [16] SECURITY ERROR                                                        :         0
    [17] SYSTEM MONITOR OVER-TEMP ALARM STATUS                                 :         0
    [18] CFG STARTUP STATE MACHINE PHASE                                       :         0
    [19] CFG STARTUP STATE MACHINE PHASE                                       :         0
    [20] CFG STARTUP STATE MACHINE PHASE                                       :         0
    [21] RESERVED                                                              :         0
    [22] RESERVED                                                              :         0
    [23] RESERVED                                                              :         0
    [24] RESERVED                                                              :         0
    [25] CFG BUS WIDTH DETECTION                                               :         0
    [26] CFG BUS WIDTH DETECTION                                               :         0
    [27] HMAC ERROR                                                            :         0
    [28] PUDC_B PIN                                                            :         1
    [29] BAD PACKET ERROR                                                      :         1
    [30] CFGBVS PIN                                                            :         1
    [31] RESERVED                                                              :         0
The only change is a BAD PACKET ERROR flag? Do you have any Idea what might be wrong or causing the problem?

« Last Edit: October 21, 2023, 01:31:59 pm by ali_asadzadeh »
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline FlyingDutch

  • Regular Contributor
  • *
  • Posts: 147
  • Country: pl
Re: why I get BAD PACKET ERROR?
« Reply #1 on: October 22, 2023, 06:55:58 am »
Hello @ali_asadzadeh,

if you attach a schematics and PCB board design it would be easier to find potential causes of issues.

Best Regards
 

Offline ali_asadzadehTopic starter

  • Super Contributor
  • ***
  • Posts: 1930
  • Country: ca
Re: why I get BAD PACKET ERROR?
« Reply #2 on: October 22, 2023, 10:19:46 am »
I have removed the series resistors (33 ohm) in JTAG line and now it's working
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf