How to test ram.uart_firmware_upgrade?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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

0 Likes
1 Solution
Anonymous
Not applicable

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

View solution in original post

5 Replies
Anonymous
Not applicable

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

Anonymous
Not applicable

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

0 Likes
Anonymous
Not applicable

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.

0 Likes
Anonymous
Not applicable

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

0 Likes

> 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.