Author Topic: TE_USB_FIRMWARE and TE API  (Read 2849 times)

oro06

  • Active Member
  • *
  • Posts: 12
TE_USB_FIRMWARE and TE API
« on: August 14, 2013, 10:27:57 AM »
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

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
Re: TE_USB_FIRMWARE and TE API
« Reply #1 on: August 14, 2013, 11:16:53 AM »
Hi oro06,

Thanks for this note. I commit fix to repository.

Best regards