Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    How to enable ESP debug output on Pycom modules?

    Scheduled Pinned Locked Moved Firmware
    4 Posts 2 Posters 214 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      achalmers68
      last edited by

      I have an issue with the initial connection to some bluetooth devices from my FiPy, that I am trying to investigate. The issue appears to be in the ESP32 BLE stack.
      How do I enable the ESP trace output to appear on my FiPy serial console?

      I have the pycom-esp-idf repository and I am able to rebuild the esp32 libraries and import to the pycom-micropython-sigfox repository.
      I've tried changing the trace levels with make menuconfig, but I still don't see any trace message.
      What am I missing? Or is it not possible to route the ESP debug to the FiPy serial console.

      Any assistance appreciated.

      1 Reply Last reply Reply Quote 0
      • C Offline
        crumble
        last edited by

        Sorry, I cannot help with this particular problem. Just want to say that a look into the release notes of IDF 3.3 may solve your issue.

        IDF 3.3 concentrated on network issues and was released just before the latest pycom update. So these fixes are not part of the actual firmware. Maybe it is less complicated to upgrade the IDF (network) than to find the cause of your issue.

        A 2 Replies Last reply Reply Quote 0
        • A Offline
          achalmers68 @crumble
          last edited by

          @crumble Thanks for that comment. I have a look into it.
          I did consider upgrading to IDF 3.3 at one stage, but I presumed I might be faced with lots of compatability issues with the pycom micropython code.
          I might have a look at just the BT changes and see if I can merge any of them across to cure my issue
          cheers.

          1 Reply Last reply Reply Quote 0
          • A Offline
            achalmers68 @crumble
            last edited by

            I managed to merge the whole of the Bluetooth component from idf_v3.3 to the v3.2 branch and build the libraries and firmware image.
            Unfortunately this did not solve my issue.
            I then tried to build the firmware using idf_v3.3 entirely. As expected there were many build issues. Almost no compile errors. Mostly linker issues. I suspect for someone with more understand of the IDF it may not be that difficult to update the pycom code to IDF_v3.3.
            I suspect, even if I could update the pycom code , it probably would not fix my issue.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post

            Pycom on Twitter

            Pycom