EmbeddedRelated.com
Forums

how to download load program on to minidragon MC9S12DP256B board

Started by Shah O Dayan April 4, 2006
Dear friends,

I am new with the minidragon MC9S12DP256B chip. I have my program but
I do not know how to configure the chip with my computer.

I need to know how to download the program that I have written on to
my chip using a serial cable. Somebody please help. Thanks.

SD
Hello Shah,
You have written your program in C or assembly using which compiler? Are you
using MiniIDE (assembly) compiler or are you using ICC12 (C compiler)? Or
are you using something different? Either way, the compiler or IDE you are
using should have an option which is called target options where you specify
MC9S12DP256B and 4K EEPROM or 12K RAM as the program space you are using for
developing your program.

The manual that comes with the chip might not say this, but the
documentation of the IDE should tell you also that these are the default
settings to configure your chip through the serial port (COM X , ex: COM 1)
8 data bits
no parity bits
1 stop bit
1 start bit
baud rate: 9600.

Hope you can elaborate more , I can help you if you are using MiniIDE or
ICC12 as I have no experience with the Code Warrior IDE.

Good luck!

Mohammed El Korek
Computer Engineering student
The American University of Sharjah, UAE
m...@computer.org, m...@ieee.org

On 4/5/06, Shah O Dayan wrote:
>
> Dear friends,
>
> I am new with the minidragon MC9S12DP256B chip. I have my program but
> I do not know how to configure the chip with my computer.
>
> I need to know how to download the program that I have written on to
> my chip using a serial cable. Somebody please help. Thanks.
>
> SD
Brother Korek,
As-salaam-u-alaikum. Thank you so much for taking the time to help me.

I have written my program in C and am using Metrowerks Code Warrior Development studio as my compiler. The Code Warrior also comes with program called "Encirq 3e" which I have installed on my computer. I don't have ICC12. When I learnt HC11 we used that in our labs. But I am not familiar with the Encirq and how to use that to download my program on to the chip. Thanks for your help.

Shah

"I expect to pass through this world but once. Any good thing, therefore, that I can do, or any kindness that I can show to any fellow creature, let me do it now. Let me not defer or neglect it, for I shall not pass this way again." - Anonymous

----- Original Message ----
From: MK
To: 6...
Sent: Wednesday, April 5, 2006 12:21:47 AM
Subject: Re: [68HC12] how to download load program on to minidragon MC9S12DP256B board

Hello Shah,
You have written your program in C or assembly using which compiler? Are you
using MiniIDE (assembly) compiler or are you using ICC12 (C compiler)? Or
are you using something different? Either way, the compiler or IDE you are
using should have an option which is called target options where you specify
MC9S12DP256B and 4K EEPROM or 12K RAM as the program space you are using for
developing your program.

The manual that comes with the chip might not say this, but the
documentation of the IDE should tell you also that these are the default
settings to configure your chip through the serial port (COM X , ex: COM 1)
8 data bits
no parity bits
1 stop bit
1 start bit
baud rate: 9600.

Hope you can elaborate more , I can help you if you are using MiniIDE or
ICC12 as I have no experience with the Code Warrior IDE.

Good luck!

Mohammed El Korek
Computer Engineering student
The American University of Sharjah, UAE
m...@computer.org, m...@ieee.org

On 4/5/06, Shah O Dayan wrote:
>
> Dear friends,
>
> I am new with the minidragon MC9S12DP256B chip. I have my program but
> I do not know how to configure the chip with my computer.
>
> I need to know how to download the program that I have written on to
> my chip using a serial cable. Somebody please help. Thanks.
>
> SD
>
>
>
>
>
>
>
>
--- In 6..., Shah wrote:
>

>
> I have written my program in C and am using Metrowerks Code Warrior
Development studio as my compiler. The Code Warrior also comes with
program called "Encirq 3e" which I have installed on my computer. I
don't have ICC12. When I learnt HC11 we used that in our labs. But I
am not familiar with the Encirq and how to use that to download my
program on to the chip. Thanks for your help.
>

See if these docs of any help.

http://support.technologicalarts.ca/docs/ICC12/
http://support.technologicalarts.ca/docs/ICC12/How%20to%20use%20ICC12%20with%20Adapt9S12DP256%20and%20FLASH%20Loader.pdf
http://support.technologicalarts.ca/docs/CodeWarrior/How%20to%20use%20CodeWarrior%20ASM%20with%20Adapt9S12%20and%20Serial%20Monitor.pdf