LuoR 发表于 2016-10-11 09:38
请教一下:This Buffer Descriptor table is represented by the variable "BDT_BASE"defined in file us ...
This Buffer Descriptor table is represented by the variable "BDT_BASE"defined in file usbfs_dev_main.h
这句话你是在那边看到的呢?
KSDK1.2实在太老了,我这边已经没有那个版本的SDK了。
建议你还是参考最新的KSDK2.0,结构也比较简单些。
小恩GG 发表于 2016-10-12 10:22
This Buffer Descriptor table is represented by the variable "BDT_BASE"defined in file usbfs_dev_ma ...
版主,咱们的CDC例程里用到了ping-pong buffer机制了吗?
我看手册里边也只有对ODD的操作,并无EVEN,
例程中代码 CDC_INIT里边也只有ODD的
/*Reset all ODD and Even BDTs to Zero */
usb_hal_khci_set_oddrst(state_ptr->usbRegBase);