Hello
If you define a variable as
static unsigned long intervalUL = 0x10;
or
unsigned long intervalUL = 0x10;
specifies the variable is modifiable, so it will be allocated in RAM.
Defining the variable as
const unsigned long intervalUL = 0x10;
specifies the variable is a constant and it will be allocated in FLASH.
A Flash programmer will not initialize the variable. Variables allocated in RAM will be initialized in the startup code.Their initial value will be copied from ROM to RAM at Startup.
In order to make sure your variable gets initialized at startup make sure you use the startup code delivered by CodeWarrior.
Also I would recommend you to create your project using the Wizard and using the Internal FLASH build target to create the executable.
CrasyCat