1 2 Previous Next 24 Replies Latest reply on Feb 4, 2016 4:52 AM by ghalibjanjua

    firmware programming through FTDI VCOM 22 to BCM20736S

    ghalibjanjua

      Hi,

       

      I am using a FTDI based virtual UART to program the BCM20736S on my own develop PCB. I am pressing the reset button but the WICED Smart SDK is not detecting my device on this virual Comm port.

      Seek your kind guidance for programming  the firmware in custom design.

       

      Waiting for your kind reply.

      Thanks in advance...

       

      Best Regads,

      Ghalib 

        • 1. Re: firmware programming through FTDI VCOM 22 to BCM20736S
          JacobT_81

          Hi ghalibjanjua

           

          When you connect your custom PCB, are you able to find the COM port in you Windows Device Manager?

           

          If the FTDI is wired to the USB correctly, the COM port will appear whether or not a 20736S chip is connected on the other side. If you can, in fact, find the COM port, we can narrow the problem down to the interface on the 37 chip-side of the FTDI.

           

          Jacob

          • 2. Re: firmware programming through FTDI VCOM 22 to BCM20736S
            ghalibjanjua

            Hi Jacob,

             

            Thanks a million for your reply.

             

            My FTDI is showing COMM port 22 in device manager. I'm mentioning UART=COM22 in make target like "hello_sensor-BCM20736TAG_Q32 download UART=COM22" but when I double click message appears reset BCM20736S and try again.

             

            Seek your guidance in it.

             

            Thanks again.

             

            Kind Regards,

            Ghalib

            • 3. Re: firmware programming through FTDI VCOM 22 to BCM20736S
              JacobT_81

              Hi ghalibjanjua

               

              First, please attempt to recover the chip by booting from ROM, then editing the make target so it overwrites the entire EEPROM.

               

                   1. power cycle while your SDA pin is connected to ground. (this disables i2c communication to EEPROM forcing the system to boot from ROM).

               

                   2. Input the make target "hello_sensor-BCM920737TAG_Q32 recover UART=COM22" and execute the make.

               

               

              If this still doesn't work, is there any way that you could post your schematic or perhaps just the portion that interfaces to the FTDI chip?

               

              Also, please attempt the below make target without specifying COM port:

              "hello_sensor-BCM920736TAG_Q32 download"

              *this is how it appears on my local machine but may have changed in newer SDK versions (notice the chip number slightly varies)

               

              Jacob

              • 4. Re: firmware programming through FTDI VCOM 22 to BCM20736S
                MichaelF_56

                What is the state of the HCI Rx line when you attempt to program the device?

                 

                A pullup on the HCI UART RX line should cause the part to come up in prgramming mode.

                • 5. Re: firmware programming through FTDI VCOM 22 to BCM20736S
                  ghalibjanjua

                  Hi Jacob,

                   

                  Thanks a million for your reply.

                   

                  1-  In my schematic SDA pin is pulled High and I have provided the external ground and tried the "hello_sensor-BCM920737TAG_Q32 recover UART=COM22" and console message says "recovery failed"

                  2- I have tried "hello_sensor-BCM920736TAG_Q32 download" but message console says unable to find the Device.

                  3- I want to mention here that I am adding "UART=COM22" by editing "hello_sensor-BCM920736TAG_Q32 download" . you are right it appears the same "hello_sensor-BCM920736TAG_Q32 download" on my machine as well.

                  4- In my schematic HCI UART RX is pulled low as per your instruction I have provided the external pull-up but results are same "Download Fails"

                  5- My FTDI circuit is as below and I'm using UART at 1.8V and I have tested it its working OK.

                   

                   

                  6- My BCM20736S circuit is as follows & VDD_C=1.8V.

                  Seek your further guidance.

                  Thanks again.

                  Have a nice day!
                  Kind Regards,

                  Ghalib

                  • 6. Re: firmware programming through FTDI VCOM 22 to BCM20736S
                    MichaelF_56

                    Per the Electrical Chars shown here: Re: BCM20736 UART Rx Voltage level

                     

                    The HCI UART/EEPROM is on the VDDM rail, which suggests a lower operating level of 1.62V, below which performance degrades.

                     

                    In fact, if VDDIO is 1.8V, then VIH on HCI UART RX would be 1.35V (VDDO x .75).

                     

                    I believe this is why for most custom boards that use external FTDI programming cables, we require the 3V version of the FTDI cable specified here: Programming the TAG2/TAG3 Board using command line tools

                     

                    The BLE apps team can confirm on Monday when everyone returns to the office.

                    • 7. Re: firmware programming through FTDI VCOM 22 to BCM20736S
                      ghalibjanjua

                      Hi Jacob,

                       

                      Thanks a million for your reply.

                      Is it ok? if I operate BCM20736S at 1.8V and HCI UART at 3.0V . Will I give a try to download the firmware with these voltage levels?

                      Have a nice day!

                       

                       

                      Kind Regards,

                      Ghalib

                      • 8. Re: firmware programming through FTDI VCOM 22 to BCM20736S
                        ghalibjanjua

                        Hi Jacob,

                         

                        Thanks for your valueable guidance. I have tried to operate the FTDI at 3.0V and 3.3V but no success in console when I mention UART=COM22 it display message "Download failed - Press the reset button on the device and retry". I have tried it with pull-up on HCI RX but results are still unsuccessful.

                        Seek your help and guidance.

                        Thanks.

                        Kind Regards,

                        Ghalib

                        • 9. Re: firmware programming through FTDI VCOM 22 to BCM20736S
                          JacobT_81

                          Hi ghalibjanjua,

                           

                          Based on the pinout, it appears that you're using a FT232R. Is this correct?

                           

                          Upon quick analysis of your schematic, it may be that pin 20 is incorrectly wired. What is VDIO powered at? According to the data sheet for FT232R, "The minimum operating voltage VCC must be +4.0V (could use VBUS=+5V) when using the internal clock generator."

                           

                          Also, I want to ensure that you did the recovery process correctly. You can find more detailed instructing in other forum posts. The core of it is to power cycle while SDA is pulled low. Then, release SDA so data can once again flow to EEPROM. Then carry out the firmware recovery process by changing the make target.

                           

                          Jacob

                          • 10. Re: firmware programming through FTDI VCOM 22 to BCM20736S
                            ghalibjanjua

                            Hi Jacob,

                             

                            Thanks a million for your reply. I'm using FTDI232RL and have tested it with Serial Terminal @3.0V and its working fine.

                             

                            I have made the SDA pulled-low and power up the device then release it and made the HCX RX pull-high and ran the recovery "health_thermometer-BCM920737TAG_Q32 recover UART=COM22" but it failed.

                            Mean until I'm unable to recover I can't download code in the core?

                            Looking forward for your kind guidance.

                             

                            Kind Regards,

                            Ghalib

                            • 11. Re: firmware programming through FTDI VCOM 22 to BCM20736S
                              ghalibjanjua

                              Hi Jacob,

                               

                              Kindly  let me know the baud rate of COM port and data that appears on COM. I want to view in serial console.

                               

                              Kind Regards,

                              Ghalib

                              • 12. Re: firmware programming through FTDI VCOM 22 to BCM20736S
                                ghalibjanjua

                                Hi JacobT_81

                                 

                                unfortunately I am still unable to recover or download the firmware in to BCM20736S. I seek your help if you can tell me if there is any way to program the board with BCM92073X_LE_KIT as below:

                                Also let me know do I need to use NODLMINIDRIVER  for FTDI chip, I'm using SDK2.2.2.

                                Thanks in advance.

                                 

                                Waiting for your reply.

                                 

                                Kind Regards,

                                Ghalib

                                • 13. Re: firmware programming through FTDI VCOM 22 to BCM20736S
                                  ghalibjanjua

                                  Hi,

                                   

                                  Need help I'm still unable to download firmware or recover BCM20736S.

                                   

                                  1- On my SDA pin 1.8V is coming, let me know if this behavior is OK or not ?

                                  2- I am able to make USB2UART from CP2015 which two COM ports are appearing, which to use (on hardware I'm using pin 12 & 13 of IC)? I'm using COM13 when it appears COM13 & COM14.

                                  3- Is there any why to check BCM20736S is working or not? mean any test.

                                  Waiting for your reply.

                                   

                                  Thanks in advance.

                                   

                                  Kind Regards,

                                  Ghalib

                                  • 14. Re: firmware programming through FTDI VCOM 22 to BCM20736S
                                    JacobT_81

                                    Apologies for the delay.

                                     

                                    Baud rate should be 115200.

                                     

                                    Were you able to use CP2015 to download to the board?

                                     

                                    1.8v sounds right for your SDA pin.

                                     

                                    There is likely a voltage problem/logic level mismatch somewhere, or a problem in your recovery process. What is VDIO running at on your schematic?

                                     

                                    Try increasing VDD_C, it will go up to 3.3. I've never personally run the chip below 2v.

                                     

                                    You will certainly need to do a recovery before any download will work at this point. 

                                     

                                    Jacob

                                    1 2 Previous Next