element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MicroZed Hardware Design SW1 Glow RED when I connect USB cable
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 13 replies
  • Subscribers 325 subscribers
  • Views 1144 views
  • Users 0 members are here
Related

SW1 Glow RED when I connect USB cable

Former Member
Former Member over 9 years ago

I have seen this strange behavior with my zedboard, when I connect usb as power cable SW1 glows RED and D5-R41 Blue. This behavior is irrespective of boot_mode jumper settings JP1-JP3, I'm unable to boot the board.

Can anyone help?

  • Sign in to reply
  • Cancel
  • bhfletcher
    0 bhfletcher over 9 years ago

    SW1 is a push-button, so it should not be glowing. If it is, you have a much more serious problem.

     

    I suspect you meant D3 on MicroZed which is above SW1. This is an LED under user control. When in JTAG mode or if the board is unconfigured, it is expected that this LED will glow red.

     

    D5 is a green LED that lights when power is good. It is expected that this should light under all normal conditions.

     

    If you are having trouble configuring the board, try the following:

    1.   Use a known good bitstream that matches your MicroZed. Is it a 7010 or 7020?
    2.   Double-check your JTAG connection. Is your cable good? Have you tried using iMPACT to query the board?
    3.   Use JTAG with SDK to connect to your board.
    4.   Follow Tutorials 01 through 04 on the MicroZed Reference Design page.

     

    Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to bhfletcher

    Thanks Bryan.

    Can you point the bitstream and MicroZed Reference Design page links, I have 7010 microzed board.

    Jagan.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Hello Jagan,

     

    Here is the link to the MicroZed Reference Design page: http://zedboard.org/support/design/1519/10

     

    The 7010 versions are clearly marked.

     

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to Former Member

    Thanks Gary for the info.

    I have done the relevant steps and created bitstream.
    Shall I use Xilinx Platform Cable USB II for microzed jtag? http://www.xilinx.com/products/boards-and-kits/hw-usb-ii-g.html

    I couldn't see the status LED glow even after I install the cable drivers?
    Installing cable drivers.
    Script name = ./install_drivers
    HostName = Jubuntu
    Current working dir = /opt/install_drivers
    Kernel version = 4.0.1-040001-generic.
    Arch = x86_64.
    Installer version = 2015
    USB udev file exists and will not be updated.
    --File /etc/udev/rules.d/52-xilinx-pcusb.rules exists.
    --File /etc/udev/rules.d/52-xilinx-pcusb.rules version = 0002
    --File 52-xilinx-pcusb.rules exists.
    --File 52-xilinx-pcusb.rules version = 0002
    --File 52-xilinx-pcusb.rules is already updated.

    Digilent Return code = 0
    Xilinx Return code = 0
    Return code = 0
    Driver installation successful.

    Any help?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bhfletcher
    0 bhfletcher over 9 years ago

    The Platform Cable USB from Xilinx is supported with MicroZed. Are you using a supported operating system? If you are having trouble with the Xilinx tools and cable, you should contact Xilinx support.

    Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to bhfletcher

    Finally I was able connect platform cable.

    I downloaded fsbl and u-boot but nothing comes up on uart can you see below setps.

    xsdb% connect                                                                                                                 
    tcfchan#0
    xsdb% targets                                                                                                                 
      1  APU
         2  ARM Cortex-A9 MPCore #0 (Running)
         3  ARM Cortex-A9 MPCore #1 (Running)
      4  xc7z010
    xsdb% targets 4                                                                                                               
    xsdb% fpga -f /opt/sys.bit                                                                                                    
    100%    1MB   0.4MB/s  00:05                                                                                                  
    xsdb% targets                                                                                                                 
      1  APU
         2  ARM Cortex-A9 MPCore #0 (Running)
         3  ARM Cortex-A9 MPCore #1 (Running)
      4* xc7z010
    xsdb% targets 2                                                                                                               
    xsdb% targets                                                                                                                 
      1  APU
         2* ARM Cortex-A9 MPCore #0 (Running)
         3  ARM Cortex-A9 MPCore #1 (Running)
      4  xc7z010
    xsdb% dow /opt/fsbl.elf                                                                                                       
    Downloading Program -- /opt/fsbl.elf                                                                                          
    tsection, .text: 0x00000000 - 0x0000f76f
    tsection, .handoff: 0x0000f770 - 0x0000f7bb
    tsection, .init: 0x0000f7bc - 0x0000f7d3
    tsection, .fini: 0x0000f7d4 - 0x0000f7eb
    tsection, .rodata: 0x0000f7ec - 0x00010ae3
    tsection, .data: 0x00010ae8 - 0x00013987
    tsection, .eh_frame: 0x00013988 - 0x0001398b
    tsection, .mmu_tbl: 0x00014000 - 0x00017fff
    tsection, .init_array: 0x00018000 - 0x00018007
    tsection, .fini_array: 0x00018008 - 0x0001800b
    tsection, .rsa_ac: 0x0001800c - 0x0001903f
    tsection, .bss: 0x00019040 - 0x0001ae4b
    tsection, .heap: 0x0001ae4c - 0x0001ce4f
    tsection, .stack: 0xffff0000 - 0xffffd3ff
    100%    0MB   0.1MB/s  00:01                                                                                                  
    Setting PC to Program Start Address 0x00000000
    Successfully downloaded /opt/fsbl.elf
    xsdb% Info: ARM Cortex-A9 MPCore #0 (target 2) Stopped at 0xffffff28 (Suspended)
    xsdb% con                                                                                                                     
    Info: ARM Cortex-A9 MPCore #0 (target 2) Running
    xsdb% stop                                                                                                                    
    xsdb% Info: ARM Cortex-A9 MPCore #0 (target 2) Stopped at 0xf790 (Suspended)                                                  
    xsdb% dow /opt/u-boot                                                                                                         
    Downloading Program -- /opt/u-boot
    tsection, .text: 0x04000000 - 0x0403b573
    tsection, .rodata: 0x0403b574 - 0x040499d2
    tsection, .hash: 0x040499d4 - 0x040499ff
    tsection, .dtb.init.rodata: 0x04049a00 - 0x0404ba0f
    tsection, .data: 0x0404ba10 - 0x0404de63
    tsection, .got.plt: 0x0404de64 - 0x0404de6f
    tsection, .u_boot_list: 0x0404de70 - 0x0404ea2b
    tsection, .rel.dyn: 0x0404ea2c - 0x04056dab
    tsection, .bss_start: 0x0404ea2c - 0x0404ea2b
    tsection, .bss: 0x0404ea2c - 0x0408ead7
    tsection, .bss_end: 0x0408ead8 - 0x0408ead7
    100%    0MB   0.1MB/s  00:05                                                                                                  
    Setting PC to Program Start Address 0x04000000
    Successfully downloaded /opt/u-boot
    xsdb% con                                                                                                                     
    Info: ARM Cortex-A9 MPCore #0 (target 2) Running


    Was the steps executed fine? let me know if I missed anything?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to bhfletcher

    Hi Bryan, finally I was able to connect the platform cable and still some issue like I'm unable to get the uart messages please see below steps and let me know if I missed anything.


    xsdb% connect                                                                                                                 
    tcfchan#0
    xsdb% targets                                                                                                                 
      1  APU
         2  ARM Cortex-A9 MPCore #0 (Running)
         3  ARM Cortex-A9 MPCore #1 (Running)
      4  xc7z010
    xsdb% targets 4                                                                                                               
    xsdb% fpga -f /opt/sys.bit                                                                                                    
    100%    1MB   0.4MB/s  00:05                                                                                                  
    xsdb% targets                                                                                                                 
      1  APU
         2  ARM Cortex-A9 MPCore #0 (Running)
         3  ARM Cortex-A9 MPCore #1 (Running)
      4* xc7z010
    xsdb% targets 2                                                                                                               
    xsdb% targets                                                                                                                 
      1  APU
         2* ARM Cortex-A9 MPCore #0 (Running)
         3  ARM Cortex-A9 MPCore #1 (Running)
      4  xc7z010
    xsdb% dow /opt/fsbl.elf                                                                                                       
    Downloading Program -- /opt/fsbl.elf                                                                                          
    tsection, .text: 0x00000000 - 0x0000f76f
    tsection, .handoff: 0x0000f770 - 0x0000f7bb
    tsection, .init: 0x0000f7bc - 0x0000f7d3
    tsection, .fini: 0x0000f7d4 - 0x0000f7eb
    tsection, .rodata: 0x0000f7ec - 0x00010ae3
    tsection, .data: 0x00010ae8 - 0x00013987
    tsection, .eh_frame: 0x00013988 - 0x0001398b
    tsection, .mmu_tbl: 0x00014000 - 0x00017fff
    tsection, .init_array: 0x00018000 - 0x00018007
    tsection, .fini_array: 0x00018008 - 0x0001800b
    tsection, .rsa_ac: 0x0001800c - 0x0001903f
    tsection, .bss: 0x00019040 - 0x0001ae4b
    tsection, .heap: 0x0001ae4c - 0x0001ce4f
    tsection, .stack: 0xffff0000 - 0xffffd3ff
    100%    0MB   0.1MB/s  00:01                                                                                                  
    Setting PC to Program Start Address 0x00000000
    Successfully downloaded /opt/fsbl.elf
    xsdb% Info: ARM Cortex-A9 MPCore #0 (target 2) Stopped at 0xffffff28 (Suspended)
    xsdb% con                                                                                                                     
    Info: ARM Cortex-A9 MPCore #0 (target 2) Running
    xsdb% stop                                                                                                                    
    xsdb% Info: ARM Cortex-A9 MPCore #0 (target 2) Stopped at 0xf790 (Suspended)                                                  
    xsdb% dow /opt/u-boot                                                                                                         
    Downloading Program -- /opt/u-boot
    tsection, .text: 0x04000000 - 0x0403b573
    tsection, .rodata: 0x0403b574 - 0x040499d2
    tsection, .hash: 0x040499d4 - 0x040499ff
    tsection, .dtb.init.rodata: 0x04049a00 - 0x0404ba0f
    tsection, .data: 0x0404ba10 - 0x0404de63
    tsection, .got.plt: 0x0404de64 - 0x0404de6f
    tsection, .u_boot_list: 0x0404de70 - 0x0404ea2b
    tsection, .rel.dyn: 0x0404ea2c - 0x04056dab
    tsection, .bss_start: 0x0404ea2c - 0x0404ea2b
    tsection, .bss: 0x0404ea2c - 0x0408ead7
    tsection, .bss_end: 0x0408ead8 - 0x0408ead7
    100%    0MB   0.1MB/s  00:05                                                                                                  
    Setting PC to Program Start Address 0x04000000
    Successfully downloaded /opt/u-boot
    xsdb% con                                                                                                                     
    Info: ARM Cortex-A9 MPCore #0 (target 2) Running

    thanks.
    Jagan.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to bhfletcher

    Now the Xilinx Platform cables's working fine.

    I have created fsbl, u-boot and tried below steps.
    xsdb% connect                                                                                                                 
    tcfchan#0
    xsdb% targets                                                                                                                 
      1  APU
         2  ARM Cortex-A9 MPCore #0 (Running)
         3  ARM Cortex-A9 MPCore #1 (Running)
      4  xc7z010
    xsdb% targets 2                                                                                                               
    xsdb% dow /opt/fsbl.elf
    xsdb% Info: ARM Cortex-A9 MPCore #0 (target 2) Stopped at 0xffffff28 (Suspended)
    xsdb% con                                                                                                                     
    Info: ARM Cortex-A9 MPCore #0 (target 2) Running

    <<< this step SW1 turned off >>>

    xsdb% stop
    xsdb% dow u-boot.elf
    xsdb% con

    I saw log on console

    DATA_ABORT_HANDLER
    FSBL_Status = 0xA304

    This Boot Mode Doesn't Support Fallback
    In FsblHookFallback function

    Can anyone help, when I reboot the board it's again SW1 still glow RED.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bhfletcher
    0 bhfletcher over 9 years ago

    Have you tried following any of the tutorials rather than the low-level XMD commands?

    Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to bhfletcher

    Fsbl I have created on the tutorial it self

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube