I tried to follow the example given in the Ozone user manual for setting up a multi-image download, but I am having some problems.
The project consists of 3 ELF files: bootloader, flash area used as NVM, and then the main program. I have all 3 as both elf and bin files.
The main program elf is selected as the elf file to load in the new project creator.
Following "6.2.3.1 Writing a Multi-Image Download Routine" in the manual, I added the section to my project file:
And the auto-created project already has this in place:
However, with that setup, Ozone appears to recursively call the TargetDownload() function!
The console shows: "Error executing script function "TargetDownload": maximum call level reached."
If I remove the Debug.Download() from the TargetDownload() implementation, then it seems that the main program ELF is not loaded.
What is the right way to set this up?
The project consists of 3 ELF files: bootloader, flash area used as NVM, and then the main program. I have all 3 as both elf and bin files.
The main program elf is selected as the elf file to load in the new project creator.
Following "6.2.3.1 Writing a Multi-Image Download Routine" in the manual, I added the section to my project file:
And the auto-created project already has this in place:
However, with that setup, Ozone appears to recursively call the TargetDownload() function!
The console shows: "Error executing script function "TargetDownload": maximum call level reached."
If I remove the Debug.Download() from the TargetDownload() implementation, then it seems that the main program ELF is not loaded.
What is the right way to set this up?