EmbeddedRelated.com
Forums

HC9S12NE64 and Binary Serial Monitor Question

Started by equaltemperment June 7, 2005
I am evaluating the Softec AK-S12NE64-A Starter Kit with the
Freescale HC9S12NE64 that comes with built in Ethernet and webserver
software (http://softecmicro.com/products.html?typeail&
title=AK-S12NE64-A). The board works great, and with the onboard
motor controller, temperature sensor with A/D converter, LEDs,
pushbuttons, DIP switches, and web page upload utilities (with java
applets to display and control board activity over the web), all
works as advertised.

However, I would like to be able to download code into the board
without having to use Metrowerks Code Warrior, but have discovered
that this board comes with a new Debug monitor program that works
through a binary serial interface. This renders the board
incompatible with the many free and commercial compilers that are on
the market, such as ICC Imagecraft, miniIDE, etc.

Metrowerks is fine for working with advanced professional level
projects, but for simple experimentation, with simple code examples,
it doesn't allow one to really understand what is going on at the
assembly level. This is because there are so many automated files
that are generated whenever one creates and compiles a project.
There are "bean" wizards to create code snippets that will configure
serial ports, A/D conversions, and many other microcontroller
functions. But if I want to create a simple "Hello World" type
application, without using all the bells and whistles in Metrowerks,
there just isn't any easy way to do this, at least not with the
example code that is provided. Anybody have any experience or advice to offer with this new
hardware? It is quite different from the HC12 that I have come to
know and respect.

Thanks,
Nick



Hi Nick.

The Softec on the AK-S12NE64-A board, there is a daughter board called
CM-HCS12NE64 where you can find the NE64 chip.
On this daughter board, there is also a BDM port. You can you any BDM
pod/cable and any software interfacing this BDM pod/cable to download code
and debug an application.

As you noticed, the chip is factory flashed with a Monitor talking via the
Serial/COM port to debugger/software that support the Monitor (HCS12 Serial
Monitor), this to get an immediate debugging support without buying any BDM
pod/cable.
But if you debug via BDM with pod/cable, you can fully erase the chip and
get rid of the Monitor.

Regards,
Gilles At 03:02 AM 6/8/2005, you wrote:
>I am evaluating the Softec AK-S12NE64-A Starter Kit with the
>Freescale HC9S12NE64 that comes with built in Ethernet and webserver
>software (http://softecmicro.com/products.html?typeail&
>title=AK-S12NE64-A). The board works great, and with the onboard
>motor controller, temperature sensor with A/D converter, LEDs,
>pushbuttons, DIP switches, and web page upload utilities (with java
>applets to display and control board activity over the web), all
>works as advertised.
>
>However, I would like to be able to download code into the board
>without having to use Metrowerks Code Warrior, but have discovered
>that this board comes with a new Debug monitor program that works
>through a binary serial interface. This renders the board
>incompatible with the many free and commercial compilers that are on
>the market, such as ICC Imagecraft, miniIDE, etc.
>
>Metrowerks is fine for working with advanced professional level
>projects, but for simple experimentation, with simple code examples,
>it doesn't allow one to really understand what is going on at the
>assembly level. This is because there are so many automated files
>that are generated whenever one creates and compiles a project.
>There are "bean" wizards to create code snippets that will configure
>serial ports, A/D conversions, and many other microcontroller
>functions. But if I want to create a simple "Hello World" type
>application, without using all the bells and whistles in Metrowerks,
>there just isn't any easy way to do this, at least not with the
>example code that is provided. >Anybody have any experience or advice to offer with this new
>hardware? It is quite different from the HC12 that I have come to
>know and respect.
>
>Thanks,
>Nick >
>Yahoo! Groups Links >
>




> Anybody have any experience or advice to offer with this new
> hardware? It is quite different from the HC12 that I have come to
> know and respect.

I wrote this document, you might find it useful and it might not.
Just log in and grab the file.

http://support.technologicalarts.ca/forum/viewtopic.php?t7



Basically uBug12 is a download/debug tool for the binary serial monitor. --- In 68HC12@68HC..., "equaltemperment" <caprice24@y...> wrote:

>
> However, I would like to be able to download code into the board
> without having to use Metrowerks Code Warrior, but have discovered
> that this board comes with a new Debug monitor program that works
> through a binary serial interface. This renders the board
> incompatible with the many free and commercial compilers that are on
> the market, such as ICC Imagecraft, miniIDE, etc.




>I am evaluating the Softec AK-S12NE64-A Starter Kit with the
>Freescale HC9S12NE64 that comes with built in Ethernet and webserver
>...However, I would like to be able to download code into the board
>without having to use Metrowerks Code Warrior, but have discovered
>that this board comes with a new Debug monitor program that works
>through a binary serial interface. This renders the board
>incompatible with the many free and commercial compilers that are on
>the market, such as ICC Imagecraft, miniIDE, etc.

If the monitor is the AN2548 monitor, NoICE can support it directly, for
Flash burning and debugging using the hardware breakpoints. And if you
decide to use a BDM, NoICE supports a bunch of BDM pods as well.

NoICE can load Imagecraft debug files, and has a convertor to extract
symbol and source-level debug information from mini-ide listing files.

Best regards, John Hartman
john@john...
NoICE Debugging Tools
http://www.noicedebugger.com


See link. I wrote a TCP/ip stack in assembler. Requires Codewarrior
to assemble.

http://support.technologicalarts.ca/forum/viewtopic.php?t1

Could be useful for a project. I see that Digikey and Freescale is
haveing contest.
--- In 68HC12@68HC..., "John Hartman (NoICE)" <john@n...> wrote:
>
> >I am evaluating the Softec AK-S12NE64-A Starter Kit with the
> >Freescale HC9S12NE64 that comes with built in Ethernet and webserver
> >...However, I would like to be able to download code into the board
> >without having to use Metrowerks Code Warrior, but have discovered
> >that this board comes with a new Debug monitor program that works
> >through a binary serial interface. This renders the board
> >incompatible with the many free and commercial compilers that are on
> >the market, such as ICC Imagecraft, miniIDE, etc.
>
> If the monitor is the AN2548 monitor, NoICE can support it directly,
for
> Flash burning and debugging using the hardware breakpoints. And if you
> decide to use a BDM, NoICE supports a bunch of BDM pods as well.
>
> NoICE can load Imagecraft debug files, and has a convertor to extract
> symbol and source-level debug information from mini-ide listing files.
>
> Best regards, John Hartman
> john@n...
> NoICE Debugging Tools
> http://www.noicedebugger.com >