Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | need instructions on how to dowload C program to test on Minidragon MC9S12DP256B

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

need instructions on how to dowload C program to test on Minidragon MC9S12DP256B - Shah O Dayan - Apr 15 13:43:54 2006

Dear friends,
I am in dire need of some help - this might be very simple for most of
you. But I am a newbie and need help.

I have written my program in C. I am trying to download the C program
written with Codewarrior Metrowerks Developer Studio. I am trying to
download and test my program on to a MC9S12DP256B minidragon HCS12 chip.
The software I have (which I don't know how to use) is Encirq3e.
Please help.

Regards

Shah



(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )


Re: need instructions on how to dowload C program to test on Minidragon MC9S12DP256B - blewis999 - Apr 17 21:37:07 2006

Shah,

make sure that the dots beside the 'green' bug in the files window are
on. After that you compile your program by clicking on the third icon
on the top (the pad with a pencil and hand), if you have no errors the
bug with an arrow turns green. Click on this and the True-Time
Simulator and Real-Time Debugger starts. Then look for the green
arrow, click that to run the program. You might want to click on a
line of code at select set break point, then use one of the 4 buttons
to step into, over, outof and/or assembly step the code. Another very
good and intuitive debugger is available from www.NOICEDEBUGGER.com,
but you will have to run the elfnoi.exe conversion against the CW
output before loading the file.

Good luck

Bob Lewis
Shah O Dayan wrote:
> I have written my program in C. I am trying to download the C program
> written with Codewarrior Metrowerks Developer Studio.



(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

chksum error using minidragon on ICC12 - Shah - Apr 22 1:46:45 2006

Friends - as always thanks to all of you who take the time to help us.

I am using ICC12 from imagecraft and am using a MC9S12DP256B minidragon board. I have written my program in C and am having problems downloading the program on to the chip. After the download almost finishes I am getting an error called "chksum error". Does anybody know how to get around this error? Please advise.

Shah
[Non-text portions of this message have been removed]

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: chksum error using minidragon on ICC12 - MK - Apr 22 2:43:51 2006

Dear Shah,

Check the options (configurations) for ICC12 --> it should be set to
MC9S12DP256B 12K RAM mode.. if you are currently using the 4K EEPROM mode
you might get this checksum error.

Please change the settings on the ICC12 program and advise.

Please also make sure that the communication settings are set as follows

9600 baud rate
no parity
1 stop bit
no flow control

Mohammed El Korek
American Univ. of Sharjah
m...@ieee.org
On 4/22/06, Shah wrote:
>
> Friends - as always thanks to all of you who take the time to help us.
>
> I am using ICC12 from imagecraft and am using a MC9S12DP256B minidragon
> board. I have written my program in C and am having problems downloading the
> program on to the chip. After the download almost finishes I am getting an
> error called "chksum error". Does anybody know how to get around this error?
> Please advise.
>
> Shah
> [Non-text portions of this message have been removed]
>

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: chksum error using minidragon on ICC12 - Shah - Apr 26 20:10:48 2006

Dear Mohammed,
Thanks for your advise again. I had the wrong header file. So I changed that - good thing the program successfully downloads on to the chip. But when I am trying to check a specific memory location by using command:

g 1000

it doesn't do anything. I went into the compiler options, under the target tab under device configuration I chose 9S12DP256B 12K RAM Mode but the memory addresses below shows but they cannot be changed and remain inactive. Here's what shows -

Program Memory - 0x1000
Data Memory - blank
Stack Pointer - 0x4000

Any suggestions? Also how do I set the communication settings as you advised. I do not see any options to change that. Please advise.

Shah
----- Original Message ----
From: MK
To: 6...@yahoogroups.com
Sent: Saturday, April 22, 2006 2:43:40 AM
Subject: Re: [68HC12] chksum error using minidragon on ICC12

Dear Shah,

Check the options (configurations) for ICC12 --> it should be set to
MC9S12DP256B 12K RAM mode.. if you are currently using the 4K EEPROM mode
you might get this checksum error.

Please change the settings on the ICC12 program and advise.

Please also make sure that the communication settings are set as follows

9600 baud rate
no parity
1 stop bit
no flow control

Mohammed El Korek
American Univ. of Sharjah
m...@ieee.org

On 4/22/06, Shah wrote:
>
> Friends - as always thanks to all of you who take the time to help us.
>
> I am using ICC12 from imagecraft and am using a MC9S12DP256B minidragon
> board. I have written my program in C and am having problems downloading the
> program on to the chip. After the download almost finishes I am getting an
> error called "chksum error". Does anybody know how to get around this error?
> Please advise.
>
> Shah
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>



(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )