Reply by Andrei Chichak April 14, 20102010-04-14
Or you could call up the people at Tech Arts and order a BDM module for your processor board, or at least discuss with them what you need to do. They even have student bundles.

If you think it is too expensive, think of how expensive it would be to not finish the course.

A

Reply by catsalsa April 14, 20102010-04-14
Hi Edward,
I want to use C and I don't have a BDM.

As you said, assembly seems is possibility. I'm trying to avoid going to assembly level because the data capture and processing will be labourious and probably unachievable in the about 7 days I have left to project completion.
The good news is that this week I finished the final exam for the embedded
-hopefully successfully
so I just have 2 projects: this adaptS12DP256 and the other course I'm taking. And of course my day job.

So the unavailability of a system that could be programmed in C might derail my chances of finalizing this course in time.

Cheers,
Adrian

--- In 6..., "Edward Karpicz" wrote:
>
> BDM doesn't push you to use C. You can use BDM and assembler for example.
>
> Edward
>
> ----- Original Message -----
> From: "catsalsa"
> To: <6...>
> Sent: Wednesday, April 14, 2010 8:27 PM
> Subject: [68HC12] Re: newbie Dragon12 board softwar-hardware question
> >
> > Hi Ioan,
> >
> > Thanks for your tips about doing the debugging with no board. I should
> > have changed the title of this message to make it very clear that the
> > professor switched the board on me and I don;t have a Dragon but
> > adaptS12DP256 board based on the same microprocessor.
> >
> > Of course I went to http://www.evbplus.com/
> > That takes me to a DUMP of obsolete documents and broken links, a
> > testimony of the unprofessional behavior of this company.
> > The most important links for info and downloads refer to Eric Engler who
> > died years ago but nobody bothered to even check.
> >
> > So at this point I have no answer if the adaptS12DP256 board also needs a
> > BDM to use C code. It appears to be so but it's not clear.
> >
> > Cheers,
> > Adrian
> >
> >
> >
> > --- In 6..., Petrescu wrote:
> >>
> >> Hi,
> >> Take a look at http://www.evbplus.com/ - they have some informations
> >> about Dragon board,
> >> including a special page for EmbeddedGNU and an example tutorial.
> >> One word of caution: check the mask set of S12DP256 - since this micro
> >> had some
> >> problems with sci interface, if you need to use that.
> >> Even with EmbeddedGNU you still program in C. Also, if for your homework
> >> you need
> >> some algorithm to develop and this don't make use the peripherals of
> >> your micro, you
> >> can develop/check them on a separate C program developed on PC with
> >> whatever you
> >> know - MingW, Borland, Visual C++ (this has a very good debugger) and
> >> then just cast
> >> your program into the micro (to speed up your project).
> >> Ioan
> >>
> >> catsalsa wrote:
> >> >
> >> > Hi Edward,
> >> >
> >> > The adaptS12DP256 board has not BDM sot it means I'm limited only to
> >> > assembler programming unless I buy another board. It seems to me that
> >> > it makes very little sense to get a board just get another board. Even
> >> > the Dragon12 does not come with a BDM unless there is some kind of
> >> > promotion and anyway I don't have that board.
> >> > So the possibilities are limited...
> >> >
> >> > Cheers,
> >> > Adrian
> >> >
> >> > --- In 6...




















<







'





'
'



































Reply by Edward Karpicz April 14, 20102010-04-14
BDM doesn't push you to use C. You can use BDM and assembler for example.

Edward

----- Original Message -----
From: "catsalsa"
To: <6...>
Sent: Wednesday, April 14, 2010 8:27 PM
Subject: [68HC12] Re: newbie Dragon12 board softwar-hardware question
>
> Hi Ioan,
>
> Thanks for your tips about doing the debugging with no board. I should
> have changed the title of this message to make it very clear that the
> professor switched the board on me and I don;t have a Dragon but
> adaptS12DP256 board based on the same microprocessor.
>
> Of course I went to http://www.evbplus.com/
> That takes me to a DUMP of obsolete documents and broken links, a
> testimony of the unprofessional behavior of this company.
> The most important links for info and downloads refer to Eric Engler who
> died years ago but nobody bothered to even check.
>
> So at this point I have no answer if the adaptS12DP256 board also needs a
> BDM to use C code. It appears to be so but it's not clear.
>
> Cheers,
> Adrian
>
> --- In 6..., Petrescu wrote:
>>
>> Hi,
>> Take a look at http://www.evbplus.com/ - they have some informations
>> about Dragon board,
>> including a special page for EmbeddedGNU and an example tutorial.
>> One word of caution: check the mask set of S12DP256 - since this micro
>> had some
>> problems with sci interface, if you need to use that.
>> Even with EmbeddedGNU you still program in C. Also, if for your homework
>> you need
>> some algorithm to develop and this don't make use the peripherals of
>> your micro, you
>> can develop/check them on a separate C program developed on PC with
>> whatever you
>> know - MingW, Borland, Visual C++ (this has a very good debugger) and
>> then just cast
>> your program into the micro (to speed up your project).
>> Ioan
>>
>> catsalsa wrote:
>> >
>> > Hi Edward,
>> >
>> > The adaptS12DP256 board has not BDM sot it means I'm limited only to
>> > assembler programming unless I buy another board. It seems to me that
>> > it makes very little sense to get a board just get another board. Even
>> > the Dragon12 does not come with a BDM unless there is some kind of
>> > promotion and anyway I don't have that board.
>> > So the possibilities are limited...
>> >
>> > Cheers,
>> > Adrian
>> >
>> > --- In 6...




















<







'





'
'



































Reply by catsalsa April 14, 20102010-04-14
Hi Ioan,

Thanks for your tips about doing the debugging with no board. I should have changed the title of this message to make it very clear that the professor switched the board on me and I don;t have a Dragon but adaptS12DP256 board based on the same microprocessor.

Of course I went to http://www.evbplus.com/
That takes me to a DUMP of obsolete documents and broken links, a testimony of the unprofessional behavior of this company.
The most important links for info and downloads refer to Eric Engler who died years ago but nobody bothered to even check.

So at this point I have no answer if the adaptS12DP256 board also needs a BDM to use C code. It appears to be so but it's not clear.

Cheers,
Adrian

--- In 6..., Petrescu wrote:
>
> Hi,
> Take a look at http://www.evbplus.com/ - they have some informations
> about Dragon board,
> including a special page for EmbeddedGNU and an example tutorial.
> One word of caution: check the mask set of S12DP256 - since this micro
> had some
> problems with sci interface, if you need to use that.
> Even with EmbeddedGNU you still program in C. Also, if for your homework
> you need
> some algorithm to develop and this don't make use the peripherals of
> your micro, you
> can develop/check them on a separate C program developed on PC with
> whatever you
> know - MingW, Borland, Visual C++ (this has a very good debugger) and
> then just cast
> your program into the micro (to speed up your project).
> Ioan
>
> catsalsa wrote:
> >
> > Hi Edward,
> >
> > The adaptS12DP256 board has not BDM sot it means I'm limited only to
> > assembler programming unless I buy another board. It seems to me that
> > it makes very little sense to get a board just get another board. Even
> > the Dragon12 does not come with a BDM unless there is some kind of
> > promotion and anyway I don't have that board.
> > So the possibilities are limited...
> >
> > Cheers,
> > Adrian
> >
> > --- In 6...



















<







'





'
'



































Reply by Petrescu April 8, 20102010-04-08
Hi,
Take a look at http://www.evbplus.com/ - they have some informations
about Dragon board,
including a special page for EmbeddedGNU and an example tutorial.
One word of caution: check the mask set of S12DP256 - since this micro
had some
problems with sci interface, if you need to use that.
Even with EmbeddedGNU you still program in C. Also, if for your homework
you need
some algorithm to develop and this don't make use the peripherals of
your micro, you
can develop/check them on a separate C program developed on PC with
whatever you
know - MingW, Borland, Visual C++ (this has a very good debugger) and
then just cast
your program into the micro (to speed up your project).
Ioan

catsalsa wrote:
>
> Hi Edward,
>
> The adaptS12DP256 board has not BDM sot it means I'm limited only to
> assembler programming unless I buy another board. It seems to me that
> it makes very little sense to get a board just get another board. Even
> the Dragon12 does not come with a BDM unless there is some kind of
> promotion and anyway I don't have that board.
> So the possibilities are limited...
>
> Cheers,
> Adrian
>
> --- In 6...



















<







'





'
'



































Reply by Edward Karpicz April 8, 20102010-04-08
No BDM doesn't mean no C.

Edward

----- Original Message -----
From: "catsalsa"
To: <6...>
Sent: Wednesday, April 07, 2010 11:50 PM
Subject: [68HC12] Re: newbie Dragon12 board softwar-hardware question
> Hi Edward,
>
> The adaptS12DP256 board has not BDM sot it means I'm limited only to
> assembler programming unless I buy another board. It seems to me that it
> makes very little sense to get a board just get another board. Even the
> Dragon12 does not come with a BDM unless there is some kind of promotion
> and anyway I don't have that board.
> So the possibilities are limited...
> Cheers,
> Adrian
>
> --- In 6..., "Edward Karpicz" wrote:
>>
>> It is up to you to program in C or in Assembler. You still have to choose
>> debugging interface, maybe BDM, maybe serial monitor, maybe something
>> else.
>>
>> Freescale demo and evaluation boards usually come with BDM on the board
>> or
>> some bootloader (or serial monitor). Check documentation of your board.
>> Google gives this
>> http://www.evbplus.com/dragon12_hc12_68hc12_9s12_hcs12.html.
>>
>> Edward
>> ----- Original Message -----
>> From: "catsalsa"
>> To: <6...>
>> Sent: Wednesday, April 07, 2010 10:37 PM
>> Subject: [68HC12] Re: newbie Dragon12 board softwar-hardware question
>> Hi Guys,
>> I'm very thankful for your answers.
>> There have been some new developments in my project and my professor
>> swapped
>> the Dragon 12 board for the same processor MC9S12DP256 board. It seems to
>> be
>> quite similar but of course the same questions remain.
>> This is a term project I need to finalize this month so I don't think
>> I'll
>> invest in a BDM.
>> It does not seem to make sense for Freescale to send the boards with ASM
>> support but not with C support as I have to assume that C is more
>> popular.
>> The Question 2 for still remains:
>> Question 2:
>> Does EmbeddedeGNU need a serial monitor software for C programming . If
>> not
>> where would be a goodplace to find instructions for hardware
>> configuration
>> for executing a Hello World program?
>>
>> If I can not find anyway to execute C without buying a BDM I guess I have
>> to
>> go back in time and do assembly. Considering I have only about 20 days
>> for
>> doing all this I can conclude that "it sucks to be me" LOL. That of
>> course
>> is valid only for this month :)
>>
>> Freescale should provide boards with serial monitor installed by default
>> and
>> that would alleviate major pain for their clients. That would also boost
>> the
>> sales of CodeWarrior software :)
>>
>> Cheers and thanks again for your comments
>>
>>
Reply by catsalsa April 7, 20102010-04-07
Hi Edward,

The adaptS12DP256 board has not BDM sot it means I'm limited only to assembler programming unless I buy another board. It seems to me that it makes very little sense to get a board just get another board. Even the Dragon12 does not come with a BDM unless there is some kind of promotion and anyway I don't have that board.
So the possibilities are limited...
Cheers,
Adrian

--- In 6..., "Edward Karpicz" wrote:
>
> It is up to you to program in C or in Assembler. You still have to choose
> debugging interface, maybe BDM, maybe serial monitor, maybe something else.
>
> Freescale demo and evaluation boards usually come with BDM on the board or
> some bootloader (or serial monitor). Check documentation of your board.
> Google gives this
> http://www.evbplus.com/dragon12_hc12_68hc12_9s12_hcs12.html.
>
> Edward
> ----- Original Message -----
> From: "catsalsa"
> To: <6...>
> Sent: Wednesday, April 07, 2010 10:37 PM
> Subject: [68HC12] Re: newbie Dragon12 board softwar-hardware question
> Hi Guys,
> I'm very thankful for your answers.
> There have been some new developments in my project and my professor swapped
> the Dragon 12 board for the same processor MC9S12DP256 board. It seems to be
> quite similar but of course the same questions remain.
> This is a term project I need to finalize this month so I don't think I'll
> invest in a BDM.
> It does not seem to make sense for Freescale to send the boards with ASM
> support but not with C support as I have to assume that C is more popular.
> The Question 2 for still remains:
> Question 2:
> Does EmbeddedeGNU need a serial monitor software for C programming . If not
> where would be a goodplace to find instructions for hardware configuration
> for executing a Hello World program?
>
> If I can not find anyway to execute C without buying a BDM I guess I have to
> go back in time and do assembly. Considering I have only about 20 days for
> doing all this I can conclude that "it sucks to be me" LOL. That of course
> is valid only for this month :)
>
> Freescale should provide boards with serial monitor installed by default and
> that would alleviate major pain for their clients. That would also boost the
> sales of CodeWarrior software :)
>
> Cheers and thanks again for your comments
>
>
Reply by Edward Karpicz April 7, 20102010-04-07
It is up to you to program in C or in Assembler. You still have to choose
debugging interface, maybe BDM, maybe serial monitor, maybe something else.

Freescale demo and evaluation boards usually come with BDM on the board or
some bootloader (or serial monitor). Check documentation of your board.
Google gives this
http://www.evbplus.com/dragon12_hc12_68hc12_9s12_hcs12.html.

Edward
----- Original Message -----
From: "catsalsa"
To: <6...>
Sent: Wednesday, April 07, 2010 10:37 PM
Subject: [68HC12] Re: newbie Dragon12 board softwar-hardware question
Hi Guys,
I'm very thankful for your answers.
There have been some new developments in my project and my professor swapped
the Dragon 12 board for the same processor MC9S12DP256 board. It seems to be
quite similar but of course the same questions remain.
This is a term project I need to finalize this month so I don't think I'll
invest in a BDM.
It does not seem to make sense for Freescale to send the boards with ASM
support but not with C support as I have to assume that C is more popular.
The Question 2 for still remains:
Question 2:
Does EmbeddedeGNU need a serial monitor software for C programming . If not
where would be a goodplace to find instructions for hardware configuration
for executing a Hello World program?

If I can not find anyway to execute C without buying a BDM I guess I have to
go back in time and do assembly. Considering I have only about 20 days for
doing all this I can conclude that "it sucks to be me" LOL. That of course
is valid only for this month :)

Freescale should provide boards with serial monitor installed by default and
that would alleviate major pain for their clients. That would also boost the
sales of CodeWarrior software :)

Cheers and thanks again for your comments

Reply by catsalsa April 7, 20102010-04-07
--- In 6..., "Ruben Jsson" wrote:
>
> > A1. If MCU on your board doesn't have serial monitor programmed into MCU
> > flash memory, then you need BDM to program serial monitor to MCU flash.
> >
> > Freescale post is about purpose of serial monitor. BDM is the best for
> > debugging. If BDM tool is too expensive, then you may try to borrow it
> > somewhere to flash your MCU with serial monitor. Serial monitor allows
> > debugging, but serial monitor uses one of SCI channels to communicate with
> > debugger. This used SCI channel is not available for you, or usage is
> > restricted.
>
> When using a serial monitor, isn't debugging also restricted to RAM? Meaning
> that you must develop your software in RAM on the target CPU.
>
> In any case, you should really use at least a BDM to develop and debug on the
> HCS12/9S12.
>
> /Ruben
>
>
Reply by April 7, 20102010-04-07
> A1. If MCU on your board doesn't have serial monitor programmed into MCU
> flash memory, then you need BDM to program serial monitor to MCU flash.
>
> Freescale post is about purpose of serial monitor. BDM is the best for
> debugging. If BDM tool is too expensive, then you may try to borrow it
> somewhere to flash your MCU with serial monitor. Serial monitor allows
> debugging, but serial monitor uses one of SCI channels to communicate with
> debugger. This used SCI channel is not available for you, or usage is
> restricted.

When using a serial monitor, isn't debugging also restricted to RAM? Meaning
that you must develop your software in RAM on the target CPU.

In any case, you should really use at least a BDM to develop and debug on the
HCS12/9S12.

/Ruben

=============================Ruben Jsson
AB Liros Electronic
Box 9124, 200 39 Malm Sweden
TEL INT +46 40142078
FAX INT +46 40947388
r...@pp.sbbs.se
=============================