Hi!
I would like to write C code (on a windows environment) and run it on
a 68hc12 CPU.
What are the first steps I should do? Can you refer me to a relevant
manual?
Thanks!
Running C code on a 68hc12
Started by ●June 9, 2014
Reply by ●June 9, 20142014-06-09
Use the GNU compiler. There's information on the web at
www.gnu.org/software/m68hc11/
(The GNU compiler works for both the 68hc11 and 68hc12).
----- Original Message -----
From: "Roee Aharoni r...@gmail.com [68HC12]" <6...>
To: 6...
Sent: Monday, June 9, 2014 3:57:02 PM
Subject: [68HC12] Running C code on a 68hc12
Hi!
I would like to write C code (on a windows environment) and run it on
a 68hc12 CPU.
What are the first steps I should do? Can you refer me to a relevant
manual?
Thanks!
Posted by: "Greco, John F"
(The GNU compiler works for both the 68hc11 and 68hc12).
----- Original Message -----
From: "Roee Aharoni r...@gmail.com [68HC12]" <6...>
To: 6...
Sent: Monday, June 9, 2014 3:57:02 PM
Subject: [68HC12] Running C code on a 68hc12
Hi!
I would like to write C code (on a windows environment) and run it on
a 68hc12 CPU.
What are the first steps I should do? Can you refer me to a relevant
manual?
Thanks!
Posted by: "Greco, John F"
Reply by ●June 9, 20142014-06-09
Our non-commercial compiler is just $99. Give it a shot.
http://imagecraft.com/ click on "CPU12 Compilers" on left. Email me
privately if you have questions.
On Mon, Jun 9, 2014 at 12:57 PM, Roee Aharoni r...@gmail.com
[68HC12] <6...> wrote:
> Hi!
> I would like to write C code (on a windows environment) and run it on
> a 68hc12 CPU.
> What are the first steps I should do? Can you refer me to a relevant
> manual?
> Thanks!
>
>
>
--
// richard m: richard @imagecraft.com
http://imagecraft.com
http://imagecraft.com/ click on "CPU12 Compilers" on left. Email me
privately if you have questions.
On Mon, Jun 9, 2014 at 12:57 PM, Roee Aharoni r...@gmail.com
[68HC12] <6...> wrote:
> Hi!
> I would like to write C code (on a windows environment) and run it on
> a 68hc12 CPU.
> What are the first steps I should do? Can you refer me to a relevant
> manual?
> Thanks!
>
>
>
--
// richard m: richard @imagecraft.com
http://imagecraft.com
Reply by ●June 9, 20142014-06-09
On 2014-June-09, at 1:57 PM, Roee Aharoni r...@gmail.com [68HC12] <6...>
wrote:
> Hi!
> I would like to write C code (on a windows environment) and run it on a 68hc12 CPU.
> What are the first steps I should do? Can you refer me to a relevant manual?
> Thanks!
> .
>
You have to identify a C compiler and purchase it. IAR makes a C compiler for the HC12 that runs on a Windows box.
You can purchase it from www.mouser.com for $3745 (yes three thousand dollars).
It comes with documentation.
A
> Hi!
> I would like to write C code (on a windows environment) and run it on a 68hc12 CPU.
> What are the first steps I should do? Can you refer me to a relevant manual?
> Thanks!
> .
>
You have to identify a C compiler and purchase it. IAR makes a C compiler for the HC12 that runs on a Windows box.
You can purchase it from www.mouser.com for $3745 (yes three thousand dollars).
It comes with documentation.
A
Reply by ●June 10, 20142014-06-10
Hi !
You don't say anothing about what CPU you use.
For me, I design my own CPU boards, including connect for the BDM (link
between my computer and the CPU).
I write many C code on HC12 CPU (9s12xdp512).
I use, in Windows environment :
- for editing C files, I use code::block, very good
- Imagecraft C compiler, which is not expensive, and allows me to do what I
need (project manager...)
- NoIce debugger... very nice, which allows me to download binary file in
the CPU, debug in C file, watch datas...! With NoIce, I use a BDM (P&E
Micro, found at Farnell Component), which is the link between my computer
and the CPU.
Sometimes, I need to debug 2 CPU boards in the same time, so I use a BDM on
a parallel port, and an other one on USB port. Great !
I hope this wille help you.
Best regards
Joel
-----Message d'origine-----
De: 6... [mailto:6...]
Envoy mardi 10 juin 2014 00:04
: 6...
Objet: Re: [68HC12] Running C code on a 68hc12
Use the GNU compiler. There's information on the web at
www.gnu.org/software/m68hc11/
(The GNU compiler works for both the 68hc11 and 68hc12).
----- Original Message -----
From: "Roee Aharoni r...@gmail.com [68HC12]"
<6...>
To: 6...
Sent: Monday, June 9, 2014 3:57:02 PM
Subject: [68HC12] Running C code on a 68hc12
Hi!
I would like to write C code (on a windows environment) and run it on
a 68hc12 CPU.
What are the first steps I should do? Can you refer me to a relevant
manual?
Thanks!
Posted by: "Greco, John F"
You don't say anothing about what CPU you use.
For me, I design my own CPU boards, including connect for the BDM (link
between my computer and the CPU).
I write many C code on HC12 CPU (9s12xdp512).
I use, in Windows environment :
- for editing C files, I use code::block, very good
- Imagecraft C compiler, which is not expensive, and allows me to do what I
need (project manager...)
- NoIce debugger... very nice, which allows me to download binary file in
the CPU, debug in C file, watch datas...! With NoIce, I use a BDM (P&E
Micro, found at Farnell Component), which is the link between my computer
and the CPU.
Sometimes, I need to debug 2 CPU boards in the same time, so I use a BDM on
a parallel port, and an other one on USB port. Great !
I hope this wille help you.
Best regards
Joel
-----Message d'origine-----
De: 6... [mailto:6...]
Envoy mardi 10 juin 2014 00:04
: 6...
Objet: Re: [68HC12] Running C code on a 68hc12
Use the GNU compiler. There's information on the web at
www.gnu.org/software/m68hc11/
(The GNU compiler works for both the 68hc11 and 68hc12).
----- Original Message -----
From: "Roee Aharoni r...@gmail.com [68HC12]"
<6...>
To: 6...
Sent: Monday, June 9, 2014 3:57:02 PM
Subject: [68HC12] Running C code on a 68hc12
Hi!
I would like to write C code (on a windows environment) and run it on
a 68hc12 CPU.
What are the first steps I should do? Can you refer me to a relevant
manual?
Thanks!
Posted by: "Greco, John F"
Reply by ●June 10, 20142014-06-10
We do our development using CodeWarrior from freescale.com. If your app is
small enough, there’s a free special edition version. You can upgrade
after that if you need more code space.
We also use the P&E Micro USB BDM. It’s cheap and generally works.
We did not use the GCC version because it was not very optimized in its code generation (which is important as an HC12 is REALLY, REALLY slow. It also did not support the XGATE.
We did not try ImageCraft, but it seems to only support assembler on the XGATE (if you are using a HC12X processor). We used the XGATE fairly extensively as it was just faster by several times.
From: 6... [mailto:6...]
Sent: Monday, June 09, 2014 5:04 PM
To: 6...
Subject: Re: [68HC12] Running C code on a 68hc12
Use the GNU compiler. There's information on the web at www.gnu.org/software/m68hc11/
(The GNU compiler works for both the 68hc11 and 68hc12).
----- Original Message -----
From: "Roee Aharoni r...@gmail.com [68HC12]" <6...>
To: 6...
Sent: Monday, June 9, 2014 3:57:02 PM
Subject: [68HC12] Running C code on a 68hc12
Hi!
I would like to write C code (on a windows environment) and run it on
a 68hc12 CPU.
What are the first steps I should do? Can you refer me to a relevant
manual?
Thanks!
[Non-text portions of this message have been removed]
Posted by: "Tennies, Joseph C."
We also use the P&E Micro USB BDM. It’s cheap and generally works.
We did not use the GCC version because it was not very optimized in its code generation (which is important as an HC12 is REALLY, REALLY slow. It also did not support the XGATE.
We did not try ImageCraft, but it seems to only support assembler on the XGATE (if you are using a HC12X processor). We used the XGATE fairly extensively as it was just faster by several times.
From: 6... [mailto:6...]
Sent: Monday, June 09, 2014 5:04 PM
To: 6...
Subject: Re: [68HC12] Running C code on a 68hc12
Use the GNU compiler. There's information on the web at www.gnu.org/software/m68hc11/
(The GNU compiler works for both the 68hc11 and 68hc12).
----- Original Message -----
From: "Roee Aharoni r...@gmail.com [68HC12]" <6...>
To: 6...
Sent: Monday, June 9, 2014 3:57:02 PM
Subject: [68HC12] Running C code on a 68hc12
Hi!
I would like to write C code (on a windows environment) and run it on
a 68hc12 CPU.
What are the first steps I should do? Can you refer me to a relevant
manual?
Thanks!
[Non-text portions of this message have been removed]
Posted by: "Tennies, Joseph C."