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 4 I'm done beating a dead horse...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 6 replies
  • Subscribers 2752 subscribers
  • Views 120 views
  • Users 0 members are here
  • RoadTest
  • test equipment
  • red pitaya
Related

POST 4 I'm done beating a dead horse...Red Pitaya STEMlab 125-14 PRO Gen 2 Starter Kit

colporteur
colporteur 1 day ago

My meaning of "beating a dead horse" is wasting time and energy on an task, that cannot be changed.

My objective was to load the operating systems into the QSPI & eMCC module and eliminate the need for an SD card. A procedure to accomplish the task is in the vendors quick start guide. If you follow the rabbit warren, even before you get to the end, you will discover it doesn't work.

After some research and lab work I figured I had exhausted my efforts and followed Red Pitaya's instructions to email tech support. I initially avoided this offering and invested in AI to see if I could expand my knowledge. I then used AI to correlate what I had discovered and help develop specific questions.

I included my questions and supports response. The response doesn't supply sufficient information for me to continue on the operating system objective, that horse is dead. Maybe the response can help others that are on the Red Pitaya RoadTest journey with me.

At this point I've decide to pivot and focus some effort on SDR and maybe reaching the objective I offered in my application.

Vendor Response:
Thank you for the thorough report.
We are looking to update the E3 I2C controller functionality with the next major update. We have not fully confirmed the new code, so it may have some bugs in the feedback reporting.
Even though the changes are not directly reflected in the tool, you should be able to change the watchdog functionality by typing in the following command:
e3_i2c_controller -w 0x01 0xFE

That will toggle the flag.
With the current mode, you can view the HW and SW revisions by checking the error feedback log. This is something we need to fix in the E3 module code.
Alternatively, you can get around this by using the old code and manually changing the "wdt_disable" flag to "true".
Regarding your other concerns, the documentation you were looking at is the correct source of info.
Please let me know if you have any questions.

My Email:
I am working on an E14 Community RoadTest Review community.element14.com/.../engineers-wanted-to-review-the-red-pitaya-stemlab-125-14-pro-gen-2-starter-kit for Red Pitaya STEMlab 125-14 PRO Gen 2 Starter Kit.

I am working with a STEMlab 125-14 PRO Gen 2 and the QSPI/eMMC module that was provided.

The module is labelled:
STEM_ADD-ON1_V1r0(Prototype1)
Serial: 978910260036

The module is operational and reports the following through the E3 I2C controller:
e3_i2c_controller -r
E3AD0102

This identifies the module as HW ID 0x01, currently in PWR_ON.

I am trying to use the documented eMMC flashing procedure. The difficulty is that the module watchdog resets the Red Pitaya after U-Boot is interrupted, preventing sufficient time to perform the required U-Boot work.

I investigated the official RedPitaya/RedPitaya-Examples repository and found the recent E3 firmware development in the dev branch:
github.com/.../E3_source_code

In particular:
- Commit 39a82ae — "Reworked the E3 board code to allow disabling watchdog"
- Commit ee2051f — "QSPI eMMC code updated - added HW and FW revision feedback and option to disable watchdog."
- The resulting firmware is identified as QSPI_eMMC_code_v1r1.ino, with a corresponding .elf.
- The v1.1 source defines HW_ID as 0x01.
- It also implements VERSION_REQ_CMD (0xFD) and TOGGLE_WATCHDOG (0xFE).

I tested the firmware-version request against my module. The command was accepted by the Linux E3 utility, but the module continued to return:
E3AD0102
rather than the v1.1 firmware-version response. This appears consistent with the module running firmware that predates the v1.1 command interface.

Before programming the STM32, could you please confirm the following:
1. Is QSPI_eMMC_code_v1r1 in the dev branch intended and safe for the HW-ID 0x01 STEM_ADD-ON1_V1r0(Prototype1) module supplied with the STEMlab 125-14 PRO Gen 2?
2. If so, is the supplied QSPI_eMMC_code_v1r1.ino.elf the recommended firmware image to program?
3. Is ST-Link/V2 through CN7/SWD the recommended programming method for upgrading this module to v1.1?
4. After upgrading to v1.1, is the intended procedure to use the new 0xFE I2C command to temporarily disable the watchdog before interrupting U-Boot for the eMMC flashing procedure?

I have not erased or programmed the STM32 and have not modified the QSPI/eMMC module firmware.

Documentation/resources
I have also found that some of the published QSPI/eMMC documentation appears to describe earlier firmware/software behavior, while newer functionality is present in the dev branch of the RedPitaya-Examples repository.

To make sure I am working from the correct information for the STEMlab 125-14 PRO Gen 2 and QSPI/eMMC module, could you also advise:

5. Is there a newer or development documentation set specifically applicable to the STEMlab 125-14 PRO Gen 2 and current QSPI/eMMC module?
6. Are there any release notes, application notes, GitHub branches, issues, examples, or other public technical resources for the E3/QSPI-eMMC module that are more current than the published documentation?
7. Is the dev branch of RedPitaya-Examples currently the appropriate source for the latest E3/QSPI-eMMC firmware and utilities, or is there another repository or branch that should be used?
8. Is there an updated version of e3_i2c_controller that implements the new v1.1 hardware/firmware version and watchdog-disable commands by name rather than requiring the raw command values?
9. Is there an updated end-to-end eMMC installation and boot procedure specifically for the STEMlab 125-14 PRO Gen 2 hardware?
The published eMMC flashing procedure instructs the user to execute:
ums 0 mmc 0
in U-Boot and then flash the eMMC from a PC as a USB mass-storage device.
10. On the STEMlab 125-14 PRO Gen 2, what physical USB connection should be used between the Red Pitaya and the PC for this U-Boot UMS operation?
The QSPI/eMMC module CN4 micro-USB connection appears to be documented for STM32 DFU programming, which I understand to be a separate function.
11. If the documented U-Boot UMS procedure does not apply to the Gen 2 hardware, what is the current supported method for initially imaging the eMMC?
If there are newer resources or procedures that supersede the currently published QSPI/eMMC documentation, links to those resources would be very helpful.

(This email has been written with the assistance of AI. AI is over coming my lack of programming knowledge. My objective was to follow the published documentation to make the Pitaya bootable from the supplied module. I have not been successful so far.)

Thank you.

  • Sign in to reply
  • Cancel
Parents
  • obones
    obones 13 hours ago

    I have not dabbled with this eMMC at all, as I'm currently struggling with the SDR part of things (max 60MHz, really?) but I'm wondering about the MicroUSB port on the eMMC module could be the one to use to get it to appear as a drive in Windows

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • colporteur
    colporteur 6 hours ago in reply to obones

    I went down that rabbit warren thinking it was a com port. I can't recall now but I found something that discouraged that idea suggesting it would not support communication to the eMCC.

    I have really poor skills at keeping track of stuff when I am developing. When the drill hole comes up dry I just abandon it and start another. When development drilling is successful i can back out and find the path again. 

    PLEASE don't use the word struggle and SDR in the same sentence. I was hoping for some movement on my application objective in that area. I'm not optimistic based on what I have tried.

    Do you mind if I bounce some questions off you after taking a few of the warren runs. If our total success score is the same, I will walk away from beating that horse also. 

    I have this secret desire that the review committee will indicate the RoadTest review schedule has changed and results are not due until next year. Maybe by then Red Pitaya support will have made some headway.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • colporteur
    colporteur 6 hours ago in reply to obones

    I went down that rabbit warren thinking it was a com port. I can't recall now but I found something that discouraged that idea suggesting it would not support communication to the eMCC.

    I have really poor skills at keeping track of stuff when I am developing. When the drill hole comes up dry I just abandon it and start another. When development drilling is successful i can back out and find the path again. 

    PLEASE don't use the word struggle and SDR in the same sentence. I was hoping for some movement on my application objective in that area. I'm not optimistic based on what I have tried.

    Do you mind if I bounce some questions off you after taking a few of the warren runs. If our total success score is the same, I will walk away from beating that horse also. 

    I have this secret desire that the review committee will indicate the RoadTest review schedule has changed and results are not due until next year. Maybe by then Red Pitaya support will have made some headway.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • obones
    obones 1 hour ago in reply to colporteur

    I don't mind at all, I have scribbled notes along the way, already 4 pages, it'll need polishing before being a proper review, but it may help on some things.

    My current rabbit hole is trying to build the programs that are running on the device itself. Pavel's notes are decent enough, but there are rough edges and I'm yet to have my own code running on it.

    • 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