This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EK-TM4C1294XL: connecting to the chip using FTDI cable (from pc USB to the chip's UART0)

Part Number: EK-TM4C1294XL

i'm currently implementing a client side windows application which should update a program on TI chip through UART. I have a few question seems missing from the "Tivaware Boot loader" document:

 

3.1 - packet handling you state:

 

1. Wait for non-zero data to be returned from the device. This is important as the device may

send zero bytes between a sent and received data packet. The first non-zero byte received

will be the size of the packet that is being received.

 

What is the "size"'s size? is this 4 bytes long (should all 4 bytes from the first non zero byte received indicate the data size?)

 

2. Read the next byte which will be the checksum for the packet.

 

What is the size of the checksum (how many bytes should be read here – is it 4 bytes)? The algorithm for its calculation is described:

 

The checksum algorithm is implemented in the CheckSum() function provided and is simply

a sum of the data bytes.

 

3.2.3 UART Transport

Where can I find the usage of UARTSend/UARTReceive for serial update? I cannot find them in the boot_demo examples – shouldn't they be called as part of the boot loader for UART in the boot_demo1/2 examples?

 

3.3 Serial commands

How should serial commands be sent to the boot loader? What is the protocol for sending them – I cannot see any explanation for this. example here would really help.