Bootloader time out

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

cross mob
Anonymous
Not applicable

I'm having a problem with bootloading via a UART connected to wifi.

   

 

   

Everything was previously working, now with no change to the coms set up I am getting a consistent time out message in the host app when I attempt to upload new firmware.

   

The first command works fine.

   

The second command sent by the host is a request for the size of flash. The fist byte of the reply is returned and then nothing further.

   

 

   

We have made hardware decision based on being able to flash over wifi and its urgent we get it working again (have raised a ticket, they suggested opening a question here)

0 Likes
5 Replies
Anonymous
Not applicable

I've tried:

   

reducing the BUAD on teh UART to 57600

   

slowing the speed at which data is passed from the host

0 Likes
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Can you please mention which PSoC device are you using

0 Likes
Anonymous
Not applicable

PSoC5LE - CY8C58LP on a custom PCB

   

Creator 4.0

   

The WIFI is an XPico Wifi.

   

Strange thing is that it was working before.

0 Likes
Anonymous
Not applicable

Host log:

   

--------------- d10 update --------------
C:\Users\ric\Desktop\RGOS.cydsn\CortexM3\ARM_GCC_493\Debug\RGOS.cyacd
MSG 105: Update started at:07:33:42
Data sent 7
01 38 00 00 C7 FF 17
Data received 15
01 00 08 00 69 30 12 2E 00 32 01 01 EA FE 17
Data sent 8
01 32 01 00 00 CC FF 17
Error: Timeout occured while reading data
Error: Data read 2 of 11
Data received 11
01 00 00 00 00 00 00 00 00 00 00
Data sent 8
01 3B 01 00 00 C3 FF 17
MSG 300: Update ended at 07:33:43
ERR 304: Update failed with error code: 0x02000

0 Likes
Anonymous
Not applicable

Host read data set up

   

int delayTime = 10; // Delay in milliseconds between successive reading until the 'size' number of bytes are read or timeout occurs
            int totalDelay = 1000;

0 Likes