LVGL Demo on RT1060

Created at 2022-07-21 05:42:18

Hello All,

I am building the LVGL music demo on Linux and Mac.
In both cases I can run fine the app on QEMU for ARM.

My build for RT1060 generates fine a elf file. But when I try to flash/run I get IMPRECISERR error.

Even a small apps (deselecting LVGL and LCD drivers) I get the same result.

So far I am using MCUxpressoIDE flash loader to transfer the file to the RT1060 board (empty project pointing to the elf file in the Debug profile). The flash loader seems to be doing its job. A potential issue is the elf vs. axf format. Some forums claim they are the same, other otherwise.

Anyways... I would appreciate if someone has built RTT under Linux and successfully flash/run the built App on RT1060. I would appreciate the git commit hash for a successful experience as well as what tool was used for flashing the app.

Thanks in advance,
Varanda

More

Follower
0
Views
180
2 Answers
varanda
varanda 2022-07-21

I forgot to mention that LVGL demos built on MPUxpressoIDE works fine.

varanda
varanda 2022-07-22

I am still working on the Demo but at least now I can flash my code to rt1060 as following (thanks to Fabian Näf):

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Using-J-Link-with-MIMXRT1060-EVKB/ta-p/1452717

Segger J-Link SW tool connects but requires a License. The work around was creating a dummy virtually empty MCUxpressoIDE project and point the executable to be the desired elf file and disable auto build. It flashes my code fine (much faster than LinkServer). Debugger works fine and automatic locates/loads the real source files.

The only drawback is that we need to power the board as the USB power does not work with Segger's firmware installed in the board bootloader.

My conclusion: .axf is not .elf as some forums claims. LinkServer does not load .elf. J-Link does work fine for .elf

Write Your Answer

Log in to publish your answer.,Click here to log in.

Create
Post

Share