Wednesday, June 28th 2017, 12:40pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



Date of registration: Mar 1st 2016

Posts: 7


Tuesday, January 3rd 2017, 7:09am

Ozone multi-step multiple elf load

Hi - just getting started using Ozone.

We're targeting an LPC4350. It has external SDRAM attached that needs to be configured prior to using it (i.e. downloading elf code to it). We've been doing this in other debuggers (JtagJet/Chameleon; JLink/GNUARMEclipse) by a two-step process that can be configured in the Chameleon and GNUARMEclipse setup: downloading the SDRAMSetup.elf, which the debugger does the reset, download (to internal ram), then run until main which configures the SDRAM; then download the App.elf (which downloads to internal ram, overwriting SDRAMSetup, and SDRAM), and no reset but start from the initial vector location and break at main.

I've been trying to do this with a custom TargetReset() in the .jdebug but not getting it to work. Could you provide a .jdebug example, or similar, how to go about doing something like this?


Target: LPC4350
OSX 10.11.6
Ozone 2.22j
JLink Ultra+



Date of registration: Mar 1st 2016

Posts: 7


Thursday, January 5th 2017, 12:43am

Ping. Would like to figure out how to get Ozone working with this. I'm using Eclipse (GNU ARM Eclipse) but there are some Eclipse and gdb bugs that are making it a challenge (e.g. single stepping on either core will cause the debugger/gdb to lose communication and display "Ignoring packet error, continuing..." after a few steps).

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 350


Thursday, January 5th 2017, 1:09pm


in general the easiest way to load and run multiple application files is to use the OnProjectLoad to load the first application file and then use the AfterTargetHalt function to load the second application when a certain point, i.e. end of initialisation is reached.
We might add more complex examples to the user manual in the future.

Best regards