gil_he

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 65 total)
  • Author
    Posts
  • in reply to: OSD32MP1-RED UART communication #12239
    Gil Hershmangil_he
    Participant

      Hi Neeraj, aedancullen,

      Good call with the TX.
      When we disconnect the TX from the OSD32MP1-RED, the software loads all the way including Linux (the heartbeat is there).
      This happens when using both setups, i.e PC/RPi-RED.
      It seems something is electrically wrong with the RED evb.
      When connecting another RPi to the RED (including the TX) the software load completed fully.

      Another issue is with the data received in the terminal from the RED UART.
      It is garbage. No matter which UART setup we use (different parity bits setup, speeds, etc.).
      Attached a screen shot of that.

      Gil

      Attachments:
      in reply to: OSD32MP1-RED UART communication #12213
      Gil Hershmangil_he
      Participant

        Hi Neeraj,

        Q1:
        YES!!!, The output is as follows:

        CPU: STM32MP157C?? Rev.?
        Model: Octavo OSD32MP1-RED board
        Board: stm32mp1 in trusted mode (octavo,osd32mp1-red)
        DRAM: 512 MiB
        Clocks:
        – MPU : 650 MHz
        – MCU : 187.500 MHz
        – AXI : 266.500 MHz
        – PER : 24 MHz
        – DDR : 533 MHz
        board_check_usb_power: Can’t get adc device(-19)
        NAND: 0 MiB
        MMC: STM32 SDMMC2: 0, STM32 SDMMC2: 1
        Loading Environment from EXT4… OK
        In: serial
        Out: serial
        Err: serial
        invalid MAC address in OTP 00:00:00:00:00:00Net:
        Error: ethernet@5800a000 address not set.
        eth-1: ethernet@5800a000
        Hit any key to stop autoboot: 0
        STM32MP> ??J%NOTICE: CPU: STM32MP157C?? Rev.?
        NOTICE: Model: Octavo OSD32MP1-RED board
        INFO: Reset reason (0x15):
        INFO: Power-on Reset (rst_por)
        INFO: Using SDMMC
        INFO: Instance 1
        INFO: Boot used partition fsbl1
        WARNING: VDD unknownNOTICE: BL2: v2.0-r1.5(debug):v2.0-stm32mp-r1.5
        NOTICE: BL2: Built : 03:23:08, Feb 16 2021
        INFO: BL2: Doing platform setup
        INFO: PMIC version = 0x21
        INFO: RAM: DDR3-DDR3L 16bits 533000Khz
        INFO: Memory size = 0x20000000 (512 MB)
        INFO: BL2 runs SP_MIN setup
        INFO: BL2: Loading image id 4
        INFO: Loading image id=4 at address 0x2fff0000
        INFO: Image id=4 loaded: 0x2fff0000 – 0x30000000
        INFO: BL2: Loading image id 5
        INFO: Loading image id=5 at address 0xc0100000
        INFO: STM32 Image size : 807412
        WARNING: Skip signature check (header option)
        INFO: Image id=5 loaded: 0xc0100000 – 0xc01c51f4
        INFO: read version 0 current version 0
        NOTICE: BL2: Booting BL32
        INFO: Entry point address = 0x2fff0000
        INFO: SPSR = 0x1d3
        INFO: PMIC version = 0x21
        NOTICE: SP_MIN: v2.0-r1.5(debug):v2.0-stm32mp-r1.5
        NOTICE: SP_MIN: Built : 03:23:08, Feb 16 2021
        INFO: ARM GICv2 driver initialized
        INFO: stm32mp HSI (18): Secure only
        INFO: stm32mp HSE (20): Secure only
        INFO: stm32mp PLL2 (27): Secure only
        INFO: stm32mp PLL2_R (30): Secure only
        INFO: SP_MIN: Initializing runtime services
        INFO: SP_MIN: Preparing exit to normal world

        U-Boot 2018.11-stm32mp-r3-dirty (Feb 16 2021 – 04:28:39 +0000)

        CPU: STM32MP157C?? Rev.?
        Model: Octavo OSD32MP1-RED board
        Board: stm32mp1 in trusted mode (octavo,osd32mp1-red)
        DRAM: 512 MiB
        Clocks:
        – MPU : 650 MHz
        – MCU : 187.500 MHz
        – AXI : 266.500 MHz
        – PER : 24 MHz
        – DDR : 533 MHz
        board_check_usb_power: Can’t get adc device(-19)
        NAND: 0 MiB
        MMC: STM32 SDMMC2: 0, STM32 SDMMC2: 1
        Loading Environment from EXT4… OK
        In: serial
        Out: serial
        Err: serial
        invalid MAC address in OTP 00:00:00:00:00:00Net:
        Error: ethernet@5800a000 address not set.
        eth-1: ethernet@5800a000
        Hit any key to stop autoboot: 0
        STM32MP>

        Q2:
        Yes !!!

        Regarding the ‘garbage’ output on UART:
        We are unable to reproduce it.
        As soon as I have it, I will send you.

        thanks
        Gil

        in reply to: SPI bus performance #12209
        Gil Hershmangil_he
        Participant

          Hi Neeraj,

          I will look into the constraints when defining the resources for the SPI interfaces.
          I chose SPI1 and SPI2 for my design (HW pins wise) and intend to operate them in the maximum BW (100MHz clock).
          Any possibility I will not be able to clock them correctly?

          thanks
          Gil

          in reply to: OSD32MP1-RED UART communication #12191
          Gil Hershmangil_he
          Participant

            Hi Neeraj,

            We see output on the RPi; but we only see u-boot prints. There isn’t a single print from the Linux kernel, i.e., the Linux kernel doesn’t load. Also, there is no keyboard input.

            We did use two different UART-USB adapters. Both of them work when connecting them from the PC to the RPi’s UART.

            We are using a USB-C cable currently and it seems to work fine so far.
            But we only get output when the Linux starts loading.
            We would like to see u-boot as well. And enter to the u-boot CLI.

            thanks
            Gil

            in reply to: SPI bus performance #12175
            Gil Hershmangil_he
            Participant

              Hi Neeraj,

              Should that be a consideration when choosing the SPI interface?
              Do other SPI interfaces have less or more clock sources than SPI6 has?
              Is the flexibility, of choosing a clock source, different between SPI interfaces?

              thanks
              Gil

              in reply to: SPI bus performance #12158
              Gil Hershmangil_he
              Participant

                Hi Neeraj,

                SPI2/3 are connected to the MPU via AHB-APB1, but the MPU is not planned to be used in our application.
                As I wrote, the A7 cores will handle the SPI communication (through the driver that will run under Linux).

                so, taking into account that the SPI data should reach the A7 cores and the speeds of the SPI interfaces, which SPI bus should I use?

                Also, you wrote “Please make sure you can set the clock speeds you need using CubeMX clock tree utility”.
                Any reason why it will not be possible to do that using that utility?

                thanks
                Gil

                in reply to: USB high-speed PCB track length matching #12157
                Gil Hershmangil_he
                Participant

                  hello Neeraj,

                  I am sorry, but I do not understand your answer.
                  What do the numbers represent?
                  USB2_N has two numbers. USB2_P has one number.

                  I need the routing length difference, inside the SIP package, between USB_DM2 and USB_DP2.

                  thank you
                  Gil

                  in reply to: OSD32MP1-RED UART communication #12156
                  Gil Hershmangil_he
                  Participant

                    Hi Neeraj,

                    We did use this, https://octavosystems.com/app_notes/osd32mp1-red-getting-started/#UART%20Connection, as a guide.
                    We followed the guidelines regarding HW connections and UART speeds.

                    We used the two images that were mentioned in the above guide:
                    Octavo Systems Debian Linux Distribution | Version: 1.2 | February 22, 2021
                    OpenSTLinux Starter Image Distribution | Version: 1.2 | February 19, 2021

                    Same results with both.

                    thanks
                    Gil

                    in reply to: OSD32MP153C-512M-BAA OSC32_IN #12101
                    Gil Hershmangil_he
                    Participant

                      Got it.
                      Thank you !

                      in reply to: OSD32MP153C-512M-BAA OSC32_IN #12072
                      Gil Hershmangil_he
                      Participant

                        hello Neeraj,

                        As far as I can see, a 32KHz LSI is integrated in the STM32MP153C/F.
                        See stm32mp153c datasheet pages 30,151.

                        Can’t it be used?
                        Why do I need an external 32KHz oscillator? (32KHz LSE).

                        Another question:
                        The LSE is mainly used for RTC/AWU and .If I don’t require RTC support, is this oscillator required?

                        thanks,
                        Gil

                        • This reply was modified 2 years, 9 months ago by Gil Hershmangil_he.
                        • This reply was modified 2 years, 9 months ago by Gil Hershmangil_he.
                        in reply to: OSD32MP157C-512M-BAA AF and IO pins #12056
                        Gil Hershmangil_he
                        Participant

                          ok.
                          Got it.
                          thanks.

                          in reply to: OSD32MP157C-512M-BAA JTAG access and debug #12029
                          Gil Hershmangil_he
                          Participant

                            hello Neeraj,

                            I visited the sites you mentioned.
                            Something is not clear to me:
                            1. What is the usage of STLINK-V3SET? Can it be used to debug the Linux on A7 core (with GDB) or only the M4 core?
                            2. Using GDB to debug/trace the Linux system running on the A7 core: how do I connect the PC to the STM32MP15 SoC to allow the debug?

                            thanks
                            Gil

                            in reply to: OSD32MP157C-512M-BAA JTAG access and debug #12026
                            Gil Hershmangil_he
                            Participant

                              hello Neeraj,

                              How can we debug the Linux kernel?
                              Which hw tools can we use?

                              Can’t JTAG help debug the Linux kernel (running on the dual core A7) using the STLINK-V3SET?

                              thanks
                              Gil

                              in reply to: OSD32MP157C-512M-BAA JTAG access and debug #12021
                              Gil Hershmangil_he
                              Participant

                                hello Neeraj,

                                I am combining here also this thread, https://octavosystems.com/forums/topic/changing-default-buck3-voltage/, so we communicate only through here.
                                The issues are similar.

                                We decided to use eMMC in DDR52 mode only, so PMIC programming is not required (vdd can remain 3.3V).
                                However, I want to verify/confirm with you the following:
                                1. On first power-up, when on-board storage is not programmed, accessing the SiP can ONLY be done from UART or USB.
                                Boot mode pins should define UART/USB.
                                2. STM32CubeProgrammer is running on the host pc and has the FSBL and SSBL which are loaded and run.
                                After they run, we can use the STM32CubeProgrammer to program our image to the eMMC Flash.
                                3. On first power-up, if we choose NoBoot mode, we can connect JTAG but nothing happens (ROM code goes into infinite loop).
                                Can JTAG be used, in that mode, to program the eMMC Flash? (with the STM32CubeProgrammer).
                                4. If we want to debug the platform with JTAG, should we have the NoBoot mode? Or should we normally have eMMC boot mode?

                                thanks
                                Gil

                                in reply to: OSD32MP157C-512M-BAA JTAG access and debug #12004
                                Gil Hershmangil_he
                                Participant

                                  Hello Neeraj,

                                  Part of board bring-up is programing the PMIC NVM.
                                  Please confirm:

                                  Option 1:
                                  Use the M4 core to run baremetal code.
                                  This will be done via JTAG (load/run the code on the M4 core).
                                  STLINK probe will be used.
                                  Boot mode 100.
                                  Will the A7 need to run Linux to support this environment?

                                  Option 2:
                                  Use ST’s Cube Programmer.
                                  This will be done via JTAG (access the STM32MP1 and PMIC).
                                  STLINK probe will be used.
                                  Boot mode 100.
                                  Will the A7 need to run Linux to support this environment?

                                  Are the two options valid to perform PMIC NVM programming?

                                  Are the libraries for the M4 core code provided by the STM32CubeIDE?
                                  Will we use C libraries or assembly code for the baremetal code?

                                  thank you
                                  Gil

                                  • This reply was modified 2 years, 10 months ago by Gil Hershmangil_he.
                                  • This reply was modified 2 years, 10 months ago by Gil Hershmangil_he.
                                Viewing 15 posts - 46 through 60 (of 65 total)