5 Replies Latest reply on Jul 11, 2014 1:48 PM by ArvindS_76

    How to test ram.uart_firmware_upgrade?

      Hi~

      I am testing uart-firmware-download in BCM20732S and I'm wondering how to test ram.uart_firmware_upgrade?

      I have to download firmware through uart. (Wiced wifi-> uart -> Wiced smart bt )

      I has read readme.txt file(WICED-Smart-SDK-1.1.0\WICED-Smart-SDK\Apps\RAM\uart_firmware_upgrade\WsUartUpgrade\Windows\readme.txt) but thers isn't file information which i will choice.

       

      Usage:

      WsUartFu <image.bin> <COMx>

       

      Which will i choice file <image.bin>?

       

      Thanks,

      Sean

        • 1. Re: How to test ram.uart_firmware_upgrade?

          Bin file is created into build/your_target_name/ as your_target_name.ota.bin

          1 of 1 people found this helpful
          • 2. Re: How to test ram.uart_firmware_upgrade?

            hi dmiya,

             

            Thanks for your reply.

            1.Could you try testing ram.uart_firmware_upgrade? or ram.ota_firmware_upgrade?

            I tried testing ram.uart_firmware_upgrade however It's not working

            D:\prj\bluetooth\broadcom\WICED\WICED-Smart-SDK-1.1.0\WICED-Smart-SDK\Apps\RAM\

            art_firmware_upgrade\WsUartUpgrade\Windows>wsuartfu fota.ota.bin com26

            WsUartFu: failed to start

            D:\prj\bluetooth\broadcom\WICED\WICED-Smart-SDK-1.1.0\WICED-Smart-SDK\Apps\RAM\u

            art_firmware_upgrade\WsUartUpgrade\Windows>wsuartfu fota.ota.bin com26

            WsUartFu: Read timeout

            WsUartFu: failed to start

             

            2. I am working FOTA from WICED WiFi to WICED Smart over UART

            ws_upgrade_verify() funcition has returned true after new bt image download to EEPROM through UART but bt is not working

             

            Plz let me know how to check uart_firmware_upgrade

             

            Thanks,

            Sean

            • 3. Re: How to test ram.uart_firmware_upgrade?

              It looks WsUartFu app can't communicate with 20732S through UART.

              UART upgrade uses peripheral UART. (not HCI UART.)

              So please check whether correct pins are connected to the PC.

              P32 and P33 are used as default.

              And also make sure bleapp_trace_enable is not BLE_TRACE_UART_PERIPHERAL.

              • 4. Re: How to test ram.uart_firmware_upgrade?

                Thanks for your reply.

                1. I has checked your check pointer however these are assigned well( P32,P33 pin/ Peripheral UART, bleapp_trace_enable is BLE_TRACE_UART_NONE)

                I will look for a problem which it can't communicate with 20732S

                 

                2. Have you ever downloaded a firmware using WsUartFu app?

                    I've had a SmartTag, Do you know how to check uart_firmware_upgrade?

                 

                3. I think, firmware upgrade shoud have suceeded if ws_upgrade_verify() return value is true.

                 

                Thanks,

                Sean

                • 5. Re: How to test ram.uart_firmware_upgrade?
                  ArvindS_76

                  > I think, firmware upgrade shoud have suceeded if ws_upgrade_verify() return value is true.

                  Yes, this is true, but...

                   

                  > I've had a SmartTag, Do you know how to check uart_firmware_upgrade?

                  The 20732 tag boards have a 32 Kbyte EEPROM which is not sufficient for upgrade. You have to replace the EEPROM with a 64 KByte one. This is a known issue with the 20732 based tags. The 20736/7 based tag boards (the ones that work with SDK 2.0.1 and above) already come with a 64KByte EEPROM on them.