USB MSC bootloader firmware larger than expected

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

USB MSC bootloader firmware larger than expected

1,674 次查看
cybergibbons
Contributor I

I am working with a LPC54608 which can accept firmware updates using MSC mode.

It shows up as a storage device called CRP DISABLD and a file called firmware.bin is present. 

This file is 516KB in size, not 512KB. 0x0-0x7FFFF is the flash, but then there is a region from 0x80000-0x81000 is a region containing all zeroes.

Any idea what this is?

标签 (1)
0 项奖励
回复
1 回复

1,315 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Andrew,

     Please don't care about this point, that size is the virtual size.

    If you try to use the USB MSC download the code, you will find, even you copy a 10K .bin file to this MSC disc, after reset the chip, the code function works, then you enter in the USB MSC again, you will find the firmware.bin back size 516KB, that's why I say this is the virtual size.

   Customer don't need to care about this point, customer just need to make sure, the app code size is in the LPC flash range, each time you copy your own app.bin to this CRP DISABLD device, please modify the app name to firmware.bin.

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------