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.

TMS320VC5509A: USB Bootloader

Part Number: TMS320VC5509A


Hi,

I have a TMS320VC5509A and I want to update a new application code via USB. I created boot table (binary file format) from object output file using hex55 tool "SdrBios.out  --boot  -v5509A  -serial8  -reg_config 0x1C00,0x0211 --binary  --outfile DSP_boottable.bin  --map DSP_boottable.bxp" and setup GPIO[0:3] to enter USB boot mode after reset. Then I converted the boot table to an array stored in a header file format using BinToDSPHex tool and wrote a small code using libusb to transfer the whole array through USB line to the DSP.

However, it just transfered 52800 bytes then issued LIBUSB_ERROR_TIMEOUT (error code -7). Seem like DSP was also disconnected from USB bus after that error. I had to setup GPIO[0:3] again and reset DSP to reconnect to the bus. I have no idea about which problem I am facing. I am a newbie about USB and DSP so I really need your help.

Please help me if you have any information.

Best regards,

Long Hoang