Hi there,
We are currently developing a product using the I.MX RT106x. We require a second stage bootloader such as the Secure Bootloader (SBL) project and the ability to update firmware via CAN. It is also a requirement to have signed and encrypted firmware for our end product for security purposes. We have already created a bootloader and application that meets these requirements in C using MCUXpresso IDE.
I have a few questions about how we could achieve these requirements while making use of the NXP Model-Based Design Toolbox for i.MX RT 1xxx Series.
Looking for advice from people who have achieve something similar previously and/or are familiar with Simulink Embedded Coder.
Kind regards,
J
Hi Jason,
The actual answer is probably "it depends". The most common workflow is to use SImulink + MBDT or algorithm development and upfront testing on a real processor. However, the code generated using Simulink and MBDT is very good in quality and performance - it can be used for production.
In your case, I think you would use what we call Algorithm Export: you would use SImulink + MBDT for algorithm development and testing, and as you got closer to production, you would only generate code for your algorithm and import that into MCUXpresso for integration and deployment. Simulink is great for algorithm exploration and simulation, but it's probably not the ideal tool for the bootloader integration you mention. My take is that you probably should utilize a hybrid approach - that way you can leverage the various tools and packages where they are strongest.
HTH,
-Brian