I read i.MX RT1050 RM.
- In chapter 9.9, Is fig 9-18 the handshake process between host and chip?Or does it only happen on the chip side?
- About serial download protocol (SDP), when host communication with chip, is need response to each other when accept report. For example, SDP commands is WRITE_FILE. In my understanding, host send report1 to chip first, and then host send data to chip. If the first step fail, such as chip not receive the report1, what happend? When chip receives report1, will it send a response to the host?
Thank you!
已解决! 转到解答。
Hi @BryceWang
Yes, SDPHOST is meant to be used from host to chip.
We do not provide the source code, but the executable.
You can find the SDPHOST and other related tools in this package Flash loader i.MX RT1060/1040 package
Best regards,
Diego
Hi @BryceWang
I hope that you are doing great!
To my understanding fig 9-18 is the boot flow when the MCU is set to boot in serial downloader. The ROM will wait for any commands from the Host, over LPUART1 or USB1 interfaces. This command could be as simple as the following example.
sdphost -u 0x1FC9,0x0130 -j -- error-status
To which the boot ROM will simply reply as shown in the below figure. The error command works as a simple ping command, that the host sends to discover if the MCU is active.
Below I provide an example, where the command write-file is used. Each command issued from the host receives a response.
If the MCU is not in serial downloader mode, there won't be any responses from the host.
I hope this could help,
Diego
Hi @BryceWang
Yes, SDPHOST is meant to be used from host to chip.
We do not provide the source code, but the executable.
You can find the SDPHOST and other related tools in this package Flash loader i.MX RT1060/1040 package
Best regards,
Diego