News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

TE_USB_FIRMWARE and TE API

Started by oro06, August 14, 2013, 10:27:57 AM

Previous topic - Next topic

oro06

Hi

now that ZeroLenPackets are enabled at boot

https://github.com/Trenz-Electronic/TE-USB-Suite/blob/master/TE_USB_FX2.firmware/te_usb_api.ver.3.2/fw.c
line 83..85
EP2FIFOCFG = 0x4C; SYNCDELAY; // was 0x48
EP4FIFOCFG = 0x4C; SYNCDELAY;   // was 0x48
EP6FIFOCFG = 0x4C; SYNCDELAY;   // was 0x48

shouldn't fifo reset via te_api should also updated accordingly ?

https://github.com/Trenz-Electronic/TE-USB-Suite/blob/master/TE_USB_FX2.firmware/te_usb_api.ver.3.2/te_api.c
line 154..173

actually we have :
EP2FIFOCFG = 0x48;
EP4FIFOCFG = 0x48;
EP6FIFOCFG = 0x48;

replaced with
EP2FIFOCFG = 0x4C;
EP4FIFOCFG = 0x4C;
EP6FIFOCFG = 0x4C;

thanks & regards
OR

Oleksandr Kiyenko

Hi oro06,

Thanks for this note. I commit fix to repository.

Best regards