- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear sirs,
we're trying to building Flashloader SDk Example.
We're using:
MCUXpresso IDE v11.0.0 [Build 2516] [2019-06-05]
- SDK 2.6.2 EVK-MIMXRT1060
- MIMXRT1060-EVK board
According to RT 1020 Firmware update using Flashloader, we imported SDK -> bootloader_examples -> flashloader.
Then we tried both Debug and Release Build, but the result didn't seem to fit into the memory's size.
We've attached Binary's Image Info.
What are the steps required for the correct compilation of the flashloader example?
Our idea is to start from flashloader example in order to design a Secondary Bootloader.
BR,
Daniele
Solved! Go to Solution.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Daniele:
Please disable some features that you don't need it. Then you can get a small size. for example, if you don't need USB HID, disable it.
please edit it in bootloader_config.h.
Regards
Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
your suggestion has solved the size problem.
Is there any documentation regarding the bootloader_config.h options?
It's not clear to us what is the right bootloader config in order to obtain the same ivt_flashloader.bin that you can download from i.MX RT1060 MCU/Applications Crossover Processor | Arm® Cortex®-M7, 1MB SRAM | NXP - Flash loader i.MXRT1060 (Flashloader_RT106x_1.0_GA/Tools/mfgtools-rel/Profiles/MXRT106X/OS Firmware/ivt_flashloader.bin).
Is this executable obtained from the same SDK - Flashloader project?
BR
Daniele


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Doc for MCU boot is located SDK_2.6.2_EVK-MIMXRT1060\middleware\mcu-boot\doc
It is very similar. One is from an older version, you can see the release time.
Regards
Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ‌,
are you referring to older versions of the SDK?
Then, there are two aspects not totally clear to us:
- we guess we should use the elftosb utility to generate the binary file, is it correct? Is it possible to use MCUXpresso to generate the binary file directly?
- It seems that the SDK flashloader project uses a custom linker script (middleware/mcu-boot/MIMXRT1062_ram_flashloader.ld), so is there a particular reason (SDP protocol requires it or something similar)?
BR
Daniele


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Daniele:
I mean an old version of MCU bootloader.
You can generate the binary file with MCUXpresso IDE. Please use the binary utilities.
Regards
Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ‌,
we thank you for the information, but in our developments we expect to use encryption techniques and, if we understand correctly, they are only possible using elftosb.
Is it possible to manage security also by MCUXpresso?
BR
Daniele


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, for secure binary, you need to use elftosb tool.
Regards
Daniel
