USB MSD Questions K60?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB MSD Questions K60?

713 次查看
danielchai
Senior Contributor I

Hi All,

I am using the MQX4.0.2, K60F120.

For the msd_disk_twrk60f120 project, in Bulk_Transaction_Callback, there is lba_data_ptr->offset.

What is this offset? What is it related to(Block or pages??)?

I print out the offset when it format the disk. But I am confused about it.

Is there anyone having any ideas about this?

-Thank you.

Offset is 0

Offset is 64

Offset is 128

Offset is 192

Offset is 256

Offset is 320

Offset is 384

Offset is 448

Offset is 30208

Offset is 30272

Offset is 30336

Offset is 30400

Offset is 30464

Offset is 30528

Offset is 30592

Offset is 30656

Offset is 3072

Offset is 3136

Offset is 3200

Offset is 3264

Offset is 3328

Offset is 3392

Offset is 3456

.................

0 项奖励
回复
1 回复

590 次查看
DavidS
NXP Employee
NXP Employee

Hi Daniel,

Looking through the example it seems to me that the lba_data_offset which gets set to 64 is related to the FS USB endpoint being a max 64bytes in size.

Regards,

David

0 项奖励
回复