USB MSD Questions K60?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB MSD Questions K60?

714 Views
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 Kudos
Reply
1 Reply

591 Views
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 Kudos
Reply