element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
RoadTest Forum POST 7 I'm really done this time… Red Pitaya STEMlab 125-14 PRO Gen 2 Starter Kit
  • Blogs
  • Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Sub-Groups
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 2752 subscribers
  • Views 27 views
  • Users 0 members are here
  • RoadTest
  • test equipment
  • red pitaya
Related

POST 7 I'm really done this time… Red Pitaya STEMlab 125-14 PRO Gen 2 Starter Kit

colporteur
colporteur 4 hours ago

SPOILER ALERT: The Red Pitaya powers down if the USB-micro connection on the module is used.

On of my troubleshooting attributes that can be either a blessing or a curse depending on the horse, is that I am persistent. In a previous post I used the term beating a dead horse. I did not like the outcome (failed) when I attempted to load the operating system on the QSPI & eMCC module. I figured, I would take up the switch and beat that horse some more.

I was set to look at SDR. That changed after reading a post. I had made a post on the Red Pitaya forum regarding some the issues I have faced, looking for some guidance. The replies left me thinking the problem was between the keyboard and chair.

A cruel step mother convinces their weak father to abandon Hansel and Gretel in the forest during a famine. Hansel uses white pebbles and later breadcrumbs to mark their path back home.

My breadcrumbs for this Red Pitaya fairy tale are the links to two vendor documents. The forum post suggested that Red Pitaya documentation is regularly updated every 30 days. I wanted to stay on the right path so vendor documents it is. The first link describes the full process. The second link deals with how to stop the watchdog timer.

Stopping the board during the U-boot autoboot countdown will cause the QSPI eMMC module to reboot Red Pitaya. At this point in the boot sequence, the Zynq processor has not yet started the Red Pitaya OS, so the watchdog kick signal on the E3 connector is absent. The E3 module firmware treats a missing watchdog signal as a system failure and triggers a power reset. The watchdog must be disabled before attempting to stop autoboot and enter the U-boot console.

My plan is to use USB-A to USB-micro cable for DFU programming details for this are found in the document.

https://redpitaya.readthedocs.io/en/latest/quickStart/E3_board/emmc_flash.html#important-watchdog-behaviour-during-u-boot-autoboot-stop

https://redpitaya.readthedocs.io/en/latest/developerGuide/software/system_development/e3_software/QSPI_eMMC_sw/QSPI_eMMC_software.html#e3-qspi-emmc-module-sw

Here is a summary of the steps:

STEP 1. Prepare an SD card with Red Pitaya OS 2.00 or later. Using version 3.00-57

STEP 2.Establish serial console access to Red Pitaya

STEP 3.Disable watchdog timer.

STEP 4.Boot the board, stop at U-boot autoboot.

STEP 5.From console run ums 0 mmc 0.

STEP 6.Flash the OS image to the eMMC from the PC.

STEP 7.Reboot into the full OS from the SD card.

STEP 8. Write boot.bin to QSPI flash with flashcp /opt/redpitaya/boot.bin /dev/mtd0.

STEP 9. Power off, remove the SD card, enable eMMC boot, and power on.

The procedure failed at STEP 3. When I plugged a USB-A from the Linux computer to USB-micro on the Red Pitaya the device immediately powered down.

In order to restore power to the Red Pitaya, I had to remove the USB-micro cable and remove the power cord to the Red Pitaya. A second attempted at using the USB-micros gave the same results. A different cable, a different combination of plugging cables in and trying it with no cables attached except for the USB-C power all ended with the power turning off on the Red Pitaya. Unless power and micro cable are removed, the board would not reboot.

The horse, that I refer to as loading the OS on the QSPI & eMCC module and not booting from the SD card, is down. I am unable to get it up, on the device I have.

I would ask the other RoadTest members to try plugging a USB-micro to USB-A cable into the module and see if they get the same results. There is nothing special you need to do other than plug the cable in between two devices. If other do not have a problem then the issue is with my board.

I'm moving on to examining SDR.

  • Sign in to reply
  • Cancel
  • beacon_dave
    beacon_dave 3 hours ago

    Can't the QSPI & eMCC module be programmed while unplugged from the main RP board ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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 © 2026 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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube