Hi,
I am trying to configure a flash-resident bootloader for a custom SoC based on i.MXRT1064. I didn't see the ota_bootloader example in the evkmimxrt1064 SDK, so I'm trying to port the ota_bootloader example from evkmimxrt1060. I have a few questions regarding the operation of the bootloader:
1) I only see a flashloader in the rt1064 examples. Is a flash-resident bootloader (ota_bootloader) in the works for this processor/evk? If not, is porting the ota_bootloader for rt1062 a good way to go about it?
2) I changed the flash address/size and the linker script in the ota_bootloader example for rt1062 to be compatible with rt1064. I was able to build and debug using a jlink debugger. Does this bootloader only support USB operation (I see a comment in bootloader_config.h "i.MX RT Series only supoort HS USB")? Currently, I have UART1 connected to the PC to act as a debug console and was hoping the bootloader operation can be tested with just the UART.
3) I am unable to see any output on the UART console when running the bootloader code. I have enabled required preprocessor directives and can see LPUART1 being initialized and debug_printf() trying to write to LPUART1, when debugging. Am I missing something or is it an issue with bootloader pin muxing? I can see the hello_world example print out to the console.
4) I see that the user application needs to populate a bootloader configuration table. The bootloader looks for it at an offset from APP_VECTOR_TABLE. If it is not populated, does the bootloader simply wait for input on USB/UART?
Thanks,
Niranjan