CW6.0 HC908JB8 - i have a problem with the debug

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CW6.0 HC908JB8 - i have a problem with the debug

2,982 Views
effrit
Contributor I
hi, i try to debug an example code but when i push start the command window said me :
Windows NT detected.
Simulated device is HC908JB8
Warning - Reset Vector not initialized.
Device is HC908JB8.
Mode is Full Chip Simulation.
IO registers loaded for MC68HC908JB8 from C:\Archivos de programa\Freescale\CodeWarrior for Microcontrollers V6.0\prog\REG\HC908JB8.REG
Startup command file does not exist.
Preload command file does not exist.
Postload command file does not exist.
Target Ready
RESET
A power-on Reset has occured.
STARTED
RUNNING

I do not understand the failure because all the files are loaded correctly and none is absent.what can i do??? thanks

--
Alban Edit: FSL Part Number + CW version must figure in Message Subject line.



Message Edited by Alban on 2007-07-23 11:46 AM
Labels (1)
Tags (1)
0 Kudos
Reply
4 Replies

1,266 Views
CompilerGuru
NXP Employee
NXP Employee
I would fix the
>Warning - Reset Vector not initialized.
warning, basically the reset vector is how the application will start if there is no debugger, so that's important :smileyhappy:

About the reset of the messages, well looks like the debugger is a bit noisy. But those messages do not mean anything in particular is wrong.
That you do not have those command files is not a problem, I would say it's more the normal setup these days than to actually have those command files.

Daniel

1,266 Views
effrit
Contributor I
thanks daniel for reply me,i sorry because my english is not very good,i´m from spain.
i can make another question.how i can initialezed the vectors? i try to explain i am compile a code for usb hc08 and all code are make but i have to debug for simulate the board,the code i download to http://elmicro.com/hc08web/usb08/index.html.i will been very grateful with that someone was helping. THANKS
0 Kudos
Reply

1,266 Views
CompilerGuru
NXP Employee
NXP Employee
Hi effrit,

on the link you copied the firmware is defininig the reset vector:
out of VECJB8.C:
Code:
extern void isrDummy(void);extern void isrUSB(void);extern void isrKey(void);extern void _Startup(void);//-- Interrupt Vector Table --------------------------------------------------void (* const _vectab[])(void) @0xFFF0 = {    isrKey,                    /* Keypad             */    isrDummy,                /* TIMER overflow    */    isrDummy,                /* TIMER channel 1    */    isrDummy,                /* TIMER channel 0    */    isrDummy,                /* IRQ1              */    isrUSB,                    /* USB                */    isrDummy,                /* SWI                 */    _Startup            /* RESET            */    };

So that should do it. Which version of the code did you start with? A zip supporting CW?

Well, anyway, in the end I know the tools but I did never use (or even try to use) this USB chip, so I cannot really help for specific questions.
I wonder also what is the problem you try to solve?

Daniel

1,266 Views
effrit
Contributor I
hi daniel,thanks for help me.i try to run the version USB08 Firmware V1.01 for Metrowerks Codewarrior i have to run this project only but the project failed and i don´t know when he failed.if you can try to run the project and see if he run good or he failed.1º i unzip the files and after i open the file HC08 USB.mcp and CW start,after i click debug and i choice hc08 full simulation and the chip is hc908jb8.and when i click start in the command windows i can see failed.Daniel and the other version of fireware failed to.
Thanks very much Daniel because the fireware it´s turning me crazy
0 Kudos
Reply