Does PSoC4 bootloader require an interval when issuing host commands?

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

cross mob
NaMo_1534561
Level 5
Level 5
Distributor - Macnica (Japan)
100 replies posted 100 sign-ins 50 replies posted

Hello,

For the Bootloader Commands, the Host executes the following command immediately after Write, All 0xFF is returned. It seems that it takes time for the Response Packet Status Code to be Success (0x00) and for the Checksum to match. Is Wait time required between Write-Read? If so, is there guidance for an appropriate wait time?

Bootloader_COMMAND_CHECKSUM(0x31u) /* Verify the checksum for the bootloadable project*/

Bootloader_COMMAND_GET_ROW_CHKSUM(0x3Au) /* Compute flash row checksum for verification*/

I referred below application note.

AN86526 PSoC4 I2C Bootloader

https://www.cypress.com/file/137036/download

Appendix C:  Host/Target Communications

C.1 Communication Flow

Best Regards,

Naoaki Morimoto

0 Likes
1 Solution
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi Naoaki Morimoto,

We do not have any documented information on the time taken for each commands to return.

You can toggle an LED at the entry and valid response of each command to understand the approximate time taken to service each command for the specific device and bootloadable application .

Regards

Alakananda

Alakananda

View solution in original post

0 Likes
2 Replies
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi Naoaki Morimoto,

We do not have any documented information on the time taken for each commands to return.

You can toggle an LED at the entry and valid response of each command to understand the approximate time taken to service each command for the specific device and bootloadable application .

Regards

Alakananda

Alakananda
0 Likes
NaMo_1534561
Level 5
Level 5
Distributor - Macnica (Japan)
100 replies posted 100 sign-ins 50 replies posted

Hello Alakananda-san,

Thanks for the reply.

We need to measure the timing of the command response with an actual device.

Best Regards,

Naoaki Morimoto

0 Likes