I presume you made the jumper setup as described here below. with MODC ->
+5V.
Also you should use the HC(S)12 Wizard to create a Serial Monitor project.
1-Start CodeWarrior.
2-Goto "File" menu, then choose "New".
3-Choose "HC(S)12 New Project Wizard" and setup your project
path/name.
4-Next tab, choose MC9S12C32 derivative.
5-Next tab, choose source language.
6-Next tab, up to you (Processor Expert).
7-Next tab, up to you (PC-lint).
8-Next tab, up to you (floating point).
9-Next tab, keep "small".
10-Next tab, uncheck "Metrowerks Simulator" if you want, but you must
check
"Motorola Serial Monitor Hardware Debugging".
Then your project is done.
Please find (separate direct email) a demo project for CodeWarrior HC12
V3.1, blinking LED's on the board.
Also from board specs (M68EVB912C32man.pdf):
"Note that if the User Reset vector is programmed, the SW1_EN option jumper
must be installed and SW1 position 6 set to the ON position to enable the
monitor."
Indeed, once an application got flashed, the Monitor detects it from reset
vector programmed. If programmed, the Monitor checks if an external pin is
set to ground or not. If not, the Monitor runs directly the user
application and the board works as if in stand-alone. Otherwise, the
Monitor is started and you can debug the board.
Regards,
Gilles
At 02:55 PM 3/28/2005, you wrote:
>Hi Gilles:
>
>I am trying to download code using the serial monitor (picked GDI as
>target in CodeWarrior) into the AXIOM M68EVB9S12C32 board. I am facing the
>same problems that Adnan here has mentioned. Would appreciate if you could
>help me with it.
>
>thanks
>Shashi
>
> >At 03:54 PM 1/14/2005, you wrote:
> >
> >>Hi,
> >>thanks for your reply, i Did what you told me but still it
doesn't
> >>work!:(. I don't know what i am doing wrong i have been trying
to get it
> >>to work for a whole month now. Are there any other suggestions. it
gives
> >>the same error for all the codes thati try to write.
> >>Secondly if you could suggest any good but lowcosting BDM cable . I
need
> >>to program using Fuzzy logic and that takes up more than 2K of
space so
> i
> >>need the Bdm Cable buti am very short on budget ( Students always
are!)
> >>Thanks again
> >>Zeasth
> >>
> >>Gilles Blanquin <> wrote:
> >>
> >>Hi.
> >>
> >>I guess your problem is the hardware side.
> >>
> >>In case you have an AXIOM M68EVB9S12C32 board:
> >>
> >>Connect the Serial cable between a COM port of your PC and the
COM1
> >>connection of the board.
> >>
> >>AXIOM M68EVB9S12C32 - AXM-0303 Rev. A.
> >>Jumpers starting setup (example):
> >>CTS_EN -> open
> >>RTS_EN -> open
> >>RX_EN -> close
> >>ROM_EN -> GND
> >>TEST -> GND
> >>MODC -> +5V (to debug with HCS12 Serial Monitor via COM1 port,
GND to
> debug
> >>via BDM PORT)
> >>MODB -> GND
> >>MODA -> GND
> >>OSC_SEL2 -> CLOCK
> >>OSC_SEL1 -> CLOCK
> >>SW1_EN -> open
> >>LED_EN -> close
> >>CAN_RXEN -> open
> >>CAN_TXEN -> open
> >>
> >>With CodeWarrior, make New..., then Select the Wizard, then C32
> derivative.
> >>For hardware debugging (wizard panel), choose Serial Monitor.
> >>The wizard creates a basic application to be flashed on board.
> >>Then start debugging.
> >>
> >>You can contact me directly offlist and send me
> >>bitmaps/protocols/comments/etc. in case you still have connection
> problems.
> >>
> >>Regards,
> >>
> >>Gilles
> >>
> >>
> >>
> >>At 03:16 PM 1/9/2005, you wrote:
> >>
> >>
> >> >I have been trying to load my code onto my 68HCS912C32 with
the
> >> >codewarrior. it gives me errors like
> >> >error writing to 4081-4086
> >> >line 3 column 13 does not exist
> >> >
> >> >i have tried a number of programs including examples that came
with
> >> >the codewarrior software but it gives the same error. If any
one
> >> >knows what's going on plzz help me out i am already late
for my
> >> >semester project:(
> >> >thanks
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >Yahoo! Groups Links
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >>---------------------------------
> >>Yahoo! Groups Links
> >>
> >> To
> >>
> >>
> >>
> >>---------------------------------
> >
>
>Yahoo! Groups Links
Reply by shas...@...●March 28, 20052005-03-28
Hi Gilles:
I am trying to download code using the serial monitor (picked GDI as target in
CodeWarrior) into the AXIOM M68EVB9S12C32 board. I am facing the same problems
that Adnan here has mentioned. Would appreciate if you could help me with it.
thanks
Shashi
>At 03:54 PM 1/14/2005, you wrote:
>
>>Hi,
>>thanks for your reply, i Did what you told me but still it doesn't
>>work!:(. I don't know what i am doing wrong i have been trying to
get it
>>to work for a whole month now. Are there any other suggestions. it gives
>>the same error for all the codes thati try to write.
>>Secondly if you could suggest any good but lowcosting BDM cable . I need
>>to program using Fuzzy logic and that takes up more than 2K of space so
i
>>need the Bdm Cable buti am very short on budget ( Students always are!)
>>Thanks again
>>Zeasth
>>
>>Gilles Blanquin <> wrote:
>>
>>Hi.
>>
>>I guess your problem is the hardware side.
>>
>>In case you have an AXIOM M68EVB9S12C32 board:
>>
>>Connect the Serial cable between a COM port of your PC and the COM1
>>connection of the board.
>>
>>AXIOM M68EVB9S12C32 - AXM-0303 Rev. A.
>>Jumpers starting setup (example):
>>CTS_EN -> open
>>RTS_EN -> open
>>RX_EN -> close
>>ROM_EN -> GND
>>TEST -> GND
>>MODC -> +5V (to debug with HCS12 Serial Monitor via COM1 port, GND to
debug
>>via BDM PORT)
>>MODB -> GND
>>MODA -> GND
>>OSC_SEL2 -> CLOCK
>>OSC_SEL1 -> CLOCK
>>SW1_EN -> open
>>LED_EN -> close
>>CAN_RXEN -> open
>>CAN_TXEN -> open
>>
>>With CodeWarrior, make New..., then Select the Wizard, then C32
derivative.
>>For hardware debugging (wizard panel), choose Serial Monitor.
>>The wizard creates a basic application to be flashed on board.
>>Then start debugging.
>>
>>You can contact me directly offlist and send me
>>bitmaps/protocols/comments/etc. in case you still have connection
problems.
>>
>>Regards,
>>
>>Gilles
>>
>>
>>
>>At 03:16 PM 1/9/2005, you wrote:
>>
>>
>> >I have been trying to load my code onto my 68HCS912C32 with the
>> >codewarrior. it gives me errors like
>> >error writing to 4081-4086
>> >line 3 column 13 does not exist
>> >
>> >i have tried a number of programs including examples that came with
>> >the codewarrior software but it gives the same error. If any one
>> >knows what's going on plzz help me out i am already late for
my
>> >semester project:(
>> >thanks
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >Yahoo! Groups Links
>> >
>> >
>> >
>> >
>> >
>>
>>
>>
>>---------------------------------
>>Yahoo! Groups Links
>>
>> To
>>
>>
>>
>>---------------------------------
>>
Reply by Jameel Hussain●January 18, 20052005-01-18
Hi
How big is your resulting s19 file? I have had the same error/problem
with C32 module, the culprit was my code size exceeded the 32k! I
tweaked the code to fit in and the error disappeared.
HTH
Jay
On Sun, 09 Jan 2005 14:16:10 -0000, Adnan <> wrote: >
>
> I have been trying to load my code onto my 68HCS912C32 with the
> codewarrior. it gives me errors like
> error writing to 4081-4086
> line 3 column 13 does not exist
>
> i have tried a number of programs including examples that came with
> the codewarrior software but it gives the same error. If any one
> knows what's going on plzz help me out i am already late for my
> semester project:(
> thanks
> Yahoo! Groups Links
----- Original Message -----
From: "Gilles Blanquin" <>
To: <>
Sent: Tuesday, January 18, 2005 10:13 AM
Subject: Re: [68HC12] downloading code using serial monitor and codewarrior
>
>
> Hi Adnan.
>
> I will contact you offlist about your debugging problem.
>
> About low cost BDM cable: Please repost your email in this list, with a
> new
> subject, like "looking for low cost BDM cable".
>
> Note that if you look into older emails in the list
> (http://groups.yahoo.com/group/68HC12/), you will surely find all
replies
> to this question which was asked many times.
>
> Also pay attention about the debugger you will use, and the entire
"front"
> chain (Compiler/Assembler/Linker). Note that CodeWarrior is compatible
> with
> some BDM cables, but not all!
>
> supported BDM cables:
>
> -P&E Microcomputer Systems: BDM Multilink and Cyclone Pro
> (www.pemicro.com)
> -SofTec Microsystems: inDART-HCS12 (www.softecmicro.com)
>
> Regards,
>
> Gilles
> At 03:54 PM 1/14/2005, you wrote:
>
>>Hi,
>>thanks for your reply, i Did what you told me but still it
doesn't
>>work!:(. I don't know what i am doing wrong i have been trying to
get it
>>to work for a whole month now. Are there any other suggestions. it
gives
>>the same error for all the codes thati try to write.
>>Secondly if you could suggest any good but lowcosting BDM cable . I
need
>>to program using Fuzzy logic and that takes up more than 2K of space so
i
>>need the Bdm Cable buti am very short on budget ( Students always
are!)
>>Thanks again
>>Zeasth
>>
>>Gilles Blanquin <> wrote:
>>
>>Hi.
>>
>>I guess your problem is the hardware side.
>>
>>In case you have an AXIOM M68EVB9S12C32 board:
>>
>>Connect the Serial cable between a COM port of your PC and the COM1
>>connection of the board.
>>
>>AXIOM M68EVB9S12C32 - AXM-0303 Rev. A.
>>Jumpers starting setup (example):
>>CTS_EN -> open
>>RTS_EN -> open
>>RX_EN -> close
>>ROM_EN -> GND
>>TEST -> GND
>>MODC -> +5V (to debug with HCS12 Serial Monitor via COM1 port, GND to
>>debug
>>via BDM PORT)
>>MODB -> GND
>>MODA -> GND
>>OSC_SEL2 -> CLOCK
>>OSC_SEL1 -> CLOCK
>>SW1_EN -> open
>>LED_EN -> close
>>CAN_RXEN -> open
>>CAN_TXEN -> open
>>
>>With CodeWarrior, make New..., then Select the Wizard, then C32
>>derivative.
>>For hardware debugging (wizard panel), choose Serial Monitor.
>>The wizard creates a basic application to be flashed on board.
>>Then start debugging.
>>
>>You can contact me directly offlist and send me
>>bitmaps/protocols/comments/etc. in case you still have connection
>>problems.
>>
>>Regards,
>>
>>Gilles
>>
>>
>>
>>At 03:16 PM 1/9/2005, you wrote:
>>
>>
>> >I have been trying to load my code onto my 68HCS912C32 with the
>> >codewarrior. it gives me errors like
>> >error writing to 4081-4086
>> >line 3 column 13 does not exist
>> >
>> >i have tried a number of programs including examples that came
with
>> >the codewarrior software but it gives the same error. If any one
>> >knows what's going on plzz help me out i am already late for
my
>> >semester project:(
>> >thanks
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >Yahoo! Groups Links
>> >
>> >
>> >
>> >
>> >
>>
>>
>>
>>---------------------------------
>>Yahoo! Groups Links
>>
>> To
>>
>>
>>
>>---------------------------------
>>
>>
>>
>>
>>
>>Yahoo! Groups Links
>>
>>
>>
>
>
>
> Yahoo! Groups Links
>
Reply by Gilles Blanquin●January 18, 20052005-01-18
Hi Adnan.
I will contact you offlist about your debugging problem.
About low cost BDM cable: Please repost your email in this list, with a new
subject, like "looking for low cost BDM cable".
Note that if you look into older emails in the list
(http://groups.yahoo.com/group/68HC12/), you will surely find all replies
to this question which was asked many times.
Also pay attention about the debugger you will use, and the entire
"front"
chain (Compiler/Assembler/Linker). Note that CodeWarrior is compatible with
some BDM cables, but not all!
supported BDM cables:
-P&E Microcomputer Systems: BDM Multilink and Cyclone Pro
(www.pemicro.com)
-SofTec Microsystems: inDART-HCS12 (www.softecmicro.com)
Regards,
Gilles
At 03:54 PM 1/14/2005, you wrote:
>Hi,
>thanks for your reply, i Did what you told me but still it doesn't
>work!:(. I don't know what i am doing wrong i have been trying to get
it
>to work for a whole month now. Are there any other suggestions. it gives
>the same error for all the codes thati try to write.
>Secondly if you could suggest any good but lowcosting BDM cable . I need
>to program using Fuzzy logic and that takes up more than 2K of space so i
>need the Bdm Cable buti am very short on budget ( Students always are!)
>Thanks again
>Zeasth
>
>Gilles Blanquin <> wrote:
>
>Hi.
>
>I guess your problem is the hardware side.
>
>In case you have an AXIOM M68EVB9S12C32 board:
>
>Connect the Serial cable between a COM port of your PC and the COM1
>connection of the board.
>
>AXIOM M68EVB9S12C32 - AXM-0303 Rev. A.
>Jumpers starting setup (example):
>CTS_EN -> open
>RTS_EN -> open
>RX_EN -> close
>ROM_EN -> GND
>TEST -> GND
>MODC -> +5V (to debug with HCS12 Serial Monitor via COM1 port, GND to
debug
>via BDM PORT)
>MODB -> GND
>MODA -> GND
>OSC_SEL2 -> CLOCK
>OSC_SEL1 -> CLOCK
>SW1_EN -> open
>LED_EN -> close
>CAN_RXEN -> open
>CAN_TXEN -> open
>
>With CodeWarrior, make New..., then Select the Wizard, then C32
derivative.
>For hardware debugging (wizard panel), choose Serial Monitor.
>The wizard creates a basic application to be flashed on board.
>Then start debugging.
>
>You can contact me directly offlist and send me
>bitmaps/protocols/comments/etc. in case you still have connection
problems.
>
>Regards,
>
>Gilles
>
>At 03:16 PM 1/9/2005, you wrote:
> >I have been trying to load my code onto my 68HCS912C32 with the
> >codewarrior. it gives me errors like
> >error writing to 4081-4086
> >line 3 column 13 does not exist
> >
> >i have tried a number of programs including examples that came with
> >the codewarrior software but it gives the same error. If any one
> >knows what's going on plzz help me out i am already late for my
> >semester project:(
> >thanks
> >
> >
> >
> >
> >
> >
> >
> >Yahoo! Groups Links
> >
> >
> >
> >
>
>
>---------------------------------
>Yahoo! Groups Links
>
> To
>
>---------------------------------
>Yahoo! Groups Links
>
>
Reply by Zeasth Adnan●January 14, 20052005-01-14
Hi,
thanks for your reply, i Did what you told me but still it doesn't work!:(.
I don't know what i am doing wrong i have been trying to get it to work for
a whole month now. Are there any other suggestions. it gives the same error for
all the codes thati try to write.
Secondly if you could suggest any good but lowcosting BDM cable . I need to
program using Fuzzy logic and that takes up more than 2K of space so i need the
Bdm Cable buti am very short on budget ( Students always are!)
Thanks again
Zeasth
Gilles Blanquin <> wrote:
Hi.
I guess your problem is the hardware side.
In case you have an AXIOM M68EVB9S12C32 board:
Connect the Serial cable between a COM port of your PC and the COM1
connection of the board.
AXIOM M68EVB9S12C32 - AXM-0303 Rev. A.
Jumpers starting setup (example):
CTS_EN -> open
RTS_EN -> open
RX_EN -> close
ROM_EN -> GND
TEST -> GND
MODC -> +5V (to debug with HCS12 Serial Monitor via COM1 port, GND to
debug
via BDM PORT)
MODB -> GND
MODA -> GND
OSC_SEL2 -> CLOCK
OSC_SEL1 -> CLOCK
SW1_EN -> open
LED_EN -> close
CAN_RXEN -> open
CAN_TXEN -> open
With CodeWarrior, make New..., then Select the Wizard, then C32 derivative.
For hardware debugging (wizard panel), choose Serial Monitor.
The wizard creates a basic application to be flashed on board.
Then start debugging.
You can contact me directly offlist and send me
bitmaps/protocols/comments/etc. in case you still have connection problems.
Regards,
Gilles
At 03:16 PM 1/9/2005, you wrote:
>I have been trying to load my code onto my
68HCS912C32 with the
>codewarrior. it gives me errors like
>error writing to 4081-4086
>line 3 column 13 does not exist
>
>i have tried a number of programs including examples that came with
>the codewarrior software but it gives the same error. If any one
>knows what's going on plzz help me out i am already late for my
>semester project:(
>thanks
>
>
>Yahoo! Groups Links
---------------------------------
Yahoo! Groups Links
To
---------------------------------
Reply by Gilles Blanquin●January 11, 20052005-01-11
Hi.
I guess your problem is the hardware side.
In case you have an AXIOM M68EVB9S12C32 board:
Connect the Serial cable between a COM port of your PC and the COM1
connection of the board.
AXIOM M68EVB9S12C32 - AXM-0303 Rev. A.
Jumpers starting setup (example):
CTS_EN -> open
RTS_EN -> open
RX_EN -> close
ROM_EN -> GND
TEST -> GND
MODC -> +5V (to debug with HCS12 Serial Monitor via COM1 port, GND to
debug
via BDM PORT)
MODB -> GND
MODA -> GND
OSC_SEL2 -> CLOCK
OSC_SEL1 -> CLOCK
SW1_EN -> open
LED_EN -> close
CAN_RXEN -> open
CAN_TXEN -> open
With CodeWarrior, make New..., then Select the Wizard, then C32 derivative.
For hardware debugging (wizard panel), choose Serial Monitor.
The wizard creates a basic application to be flashed on board.
Then start debugging.
You can contact me directly offlist and send me
bitmaps/protocols/comments/etc. in case you still have connection problems.
Regards,
Gilles
At 03:16 PM 1/9/2005, you wrote:
>I have been trying to load my code onto my
68HCS912C32 with the
>codewarrior. it gives me errors like
>error writing to 4081-4086
>line 3 column 13 does not exist
>
>i have tried a number of programs including examples that came with
>the codewarrior software but it gives the same error. If any one
>knows what's going on plzz help me out i am already late for my
>semester project:(
>thanks
>
>
>Yahoo! Groups Links
Reply by Adnan●January 9, 20052005-01-09
I have been trying to load my code onto my 68HCS912C32 with the
codewarrior. it gives me errors like
error writing to 4081-4086
line 3 column 13 does not exist
i have tried a number of programs including examples that came with
the codewarrior software but it gives the same error. If any one
knows what's going on plzz help me out i am already late for my
semester project:(
thanks