- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've tried:
reducing the BUAD on teh UART to 57600
slowing the speed at which data is passed from the host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please mention which PSoC device are you using
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PSoC5LE - CY8C58LP on a custom PCB
Creator 4.0
The WIFI is an XPico Wifi.
Strange thing is that it was working before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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;