Other Parts Discussed in Thread: UNIFLASH
Tool/software:
Hello,
I've got a small multicore LED flashing application. Flashing this together with sbl_ospi, I can flash the .appimage/.appimage_xip files OK and can can run the application from ram or flash with XIP.
When I then flash the same Appl but with sbl_ospi_multicore_elf, and flashing .mcelf/.mcelf_xip files, I seem to be able to run the application OK, but I get an error with UniFlash whilst flashing the .mcelf_xip file.
Uniflash cmd line output:
I've also tried through the Uniflash GUI, this gives a bit more info on a potential error (invalid image format)
As mentioned, it appears the application on core 0 runs as expected, which is a bit odd given this uniflash error.
I started looiking into the .mcelf files in a bit more detail, it appears that all .mcelf_xip files only have a NOTE section generated at the start of the program headers, not at the end. For example:
.mcelf file:
.mcelf_xip file:
Is this something which could be causing the imvalid image error on Uniflash - even though the image still seems to have flashed ok?
If not - what are the other possible reasons for .mcelf_xip files to cause issues for UniFlash?
Additionally - what is the UniFlash error process? For example with this 'invalid image' error - does Uniflash issue a subsequent flash erase command for the chunk it has just tried to write to if an error is detected during flashing?
Thanks,
Rens