Good morning
I have the 2 application notes. Do they present the same thing?
The source code of the USB bootloader is now attached to the SDK as an option. Is it correct?
Just to know
Thank You
Pietro
Solved! Go to Solution.
Hello Pietro,
I am very sorry for my late reply. We have been under a big workload and we have many questions on the queue.
Unfortunately, in in mcu-boot for FRDM-K64F there is no MSD bootloader example. However, I recommend you to check the community document below. This bootloader was implemented for IAR IDE.
https://community.nxp.com/docs/DOC-102629
If you want to learn more about MCUXpresso IDE I recommend you to watch the following videos.
MCUXpresso IDE - Introduction Video
MCUXpresso IDE - Importing SDK Libraries
MCUXpresso IDE - Creating a new SDK Project
MCUXpresso IDE - Importing an SDK Example Project
MCUXpresso IDE - Using LPCOpen Examples
MCUXpresso IDE - Project Settings
Hope it helps!
Best regards,
Felipe
Hello Felipe
Justg give me a signal.
I would like to have a help to understand the way MCUXpresso is doing.
And suggestion to use this application to get a bootloader without digging too much
in USB details.
The Derek solution tris to discriminate the writing to the disk with the sector number, in his case is
FATDataSec0 = 520
I have seen trying to drop a file of 1KB the sector number is 43.
If someone with a qualified exoerience in the USB mass storage in reachable I would like to hear from.
If I can deterministically know what is the sector data number for the data, starting from the initialization of the disk size,
I think I can proceed.
Just a little help
Thank You
Everybody
Pietro
Hello Pietro,
I am very sorry for my late reply. We have been under a big workload and we have many questions on the queue.
Unfortunately, in in mcu-boot for FRDM-K64F there is no MSD bootloader example. However, I recommend you to check the community document below. This bootloader was implemented for IAR IDE.
https://community.nxp.com/docs/DOC-102629
If you want to learn more about MCUXpresso IDE I recommend you to watch the following videos.
MCUXpresso IDE - Introduction Video
MCUXpresso IDE - Importing SDK Libraries
MCUXpresso IDE - Creating a new SDK Project
MCUXpresso IDE - Importing an SDK Example Project
MCUXpresso IDE - Using LPCOpen Examples
MCUXpresso IDE - Project Settings
Hope it helps!
Best regards,
Felipe
Ok Thank You.
I am trying to understand trying and trying,,
It could be useful to have in the SDK a bootloader using the MSD.
Thank You
Pietrp
Hi Felipe
I have imported a project with the KDS from an older SDK version. With the help of the running project on KDS I was able to produce by hand a running project with a MSD. My last goal is to produce a bootloader. I need to know how to intercept the communication for handling the file data to write in the flash. So I need the phisical format the data are vehiculated and a way to hang the host while the data are written in the flash to avoid the loss of data.
If You can inform me how to get these information it would be great.
Still how to import a project with the MCUXpresso is an open question and please help also on that front.
Thank you
Pietro
Hi
I am desperately trying to import a project in MCUXpresso,
Nothing works.
I have not any SDKs installed. If I press the button for importing from the web the request hang forever.
I tried to build the USB_ramdisk by hand importing the files by hand but I do not finalize, without the definitions
properly in place.
Please give me a consistent way to use the importing of a project.
Pietro
Hi Felipe
I have downloaded the SDK
int the directory \SDK_2.7.0_FRDM-K64F\docs\mcu-boot
I see the bootloader is not supported for storage device style.
Simply you need to download with a tool.
in the directory
SDK_2.7.0_FRDM-K64F\middleware\mcu-boot\src\bootloader
I see some sources for the bootloader. So these sources are not supportig the
MSD for bootloading, it is necessary to add the support. Is it correct???
Thank You
Pietro
Hi Felipe
I am trying to follow the suggestions in
USB MSC device bootloader revision for FRDM-KL25Z (IAR)
I think with MCUXpresso I will go nowhere. Too many things are out of place.
I will need to fit for now on the FRDMK64
Is the project ready to run in the mcu-boot ???
Give me a valid suggestion to have something already running...
Thank You
Pietro
Thank You Felipe
I am happy to have these references now.
There is something I need to understand clearly.
1 ) If the board works as a device a PC is necessary to send the code as writing to the disk
2) If the board is a host, when a disk is pluggedn in the USB board it will automathically take the file in without actions.
Is it correct???
Now at a glance I would like to have a starting point for building a bootloader with the MCUXpresso.
Is there a project ready to run? I am trying but I do navigate in the mcu-boot and I not find it. If it is necessary to build by hand it is ok.
Tell me the best documentation to build this project.
Thank You
Very much
Pietro
Does any assistance exists?
I am stryggling to find out where the bootloader is here...
Pietro
Hello Pietro,
I am sorry for the late reply. The main difference between these app notes is that one bootloader works as USB host and the other as device. This means that host will wait for a USB stick to be plugged into the board and the device enumerates as a MSD in the PC.
As you can see, these application notes are really old. The most recent software is located in the below links.
AN4368: https://www.nxp.com/webapp/Download?colCode=AN4368SW
AN4379: USB MSC device bootloader revision for FRDM-KL25Z (IAR)
However, if you like to use the latest bootloader software we have available I highly recommend you to check the examples we have included in the MCUXpresso SDK, this will depend on the MCU you are working on.
You can download the SDK in the following link. Please make sure you add mcu-boot middleware before downloading the SDK package.
Welcome | MCUXpresso SDK Builder
Hope it helps!
Best regards,
Felipe
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored.
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
------------------------------------------------------------------------------
Hello
It is just a simple question.
Hopefully it is coming,,,
Pietro