阅读:914回复:0
大家帮看看我的firmware是什么问题?
下面是我在调试firmware的时候,打印出来的信息,没有加断点,直接运行打印出来的信息。
ep0_setup_buf: 400000 1000680 Send first 8 bytes! ep0_setup_buf: 0 10500 Set device address 1 ep0_setup_buf: 120000 1000680 Send first 8 bytes! EP0_STATE_GD_DEV_0 EP0_STATE_GD_DEV_1 ep0_setup_buf: 90000 2000680 Send first config 8 bytes! EP0_STATE_GD_CFG_ONLY_1 ep0_setup_buf: ff0000 2000680 Send first config 8 bytes! EP0_STATE_GD_CFG_1 $$$$$$$$$$$$ ep0_in_buf is ff0200 40919 EP0_STATE_GD_CFG_2 $$$$$$$$$$$$ ep0_in_buf is 200706 5040000 EP0_STATE_GD_CFG_3 $$$$$$$$$$$$ ep0_in_buf is 2002 3050700 EP0_STATE_GD_CFG_4 ep0_setup_buf: ff0000 3000680 Send string descriptor0 4 bytes! ep0_setup_buf: ff0409 3020680 Send string descriptor2 8 bytes! EP0_STATE_GD_STR_I2 ********** desc_str_counter is 8! EP0_STATE_GD_STR_I2 ********** desc_str_counter is 16! EP0_STATE_GD_STR_I2 ********** desc_str_counter is 24! EP0_STATE_GD_STR_I2 ********** desc_str_counter is 32! EP0_STATE_GD_STR_I2 ********** desc_str_counter is 40! ep0_setup_buf: ff0000 3000680 Send string descriptor0 4 bytes! ep0_setup_buf: ff0409 3020680 Send string descriptor2 8 bytes! EP0_STATE_GD_STR_I2 ********** desc_str_counter is 8! EP0_STATE_GD_STR_I2 ********** desc_str_counter is 16! EP0_STATE_GD_STR_I2 ********** desc_str_counter is 24! EP0_STATE_GD_STR_I2 ********** desc_str_counter is 32! EP0_STATE_GD_STR_I2 ********** desc_str_counter is 40! ep0_setup_buf: 120000 1000680 Send first 8 bytes! 最后就停止了。主机不再发包过来了。我也安装了相应的驱动。 |
|