Solved

Embedded Dev - HC08 programming

Posted on 2008-10-24
1
763 Views
Last Modified: 2008-10-27
Hi there everyone,

I'm planning to purchase some HC08 chips(www.freescale.com)  that I plan to use to generate and output 4-bit addresses to an analog chip that controls a circuitboard I've built. I basically need to interface a special circuit with an ADC and a DAC so that a PC with a serial port can control this circuit and use it for data acquisition.

I haven't done any embedded development in a good while, and plan to do a fair bit (as a hobby and for research) and needed to know the following:

1) What physical device would I need in order to transfer my c or assembler program to the HC08? I recall using Metrowerks CodeWarrior for Microcontrollers, but I prefer to use a linux machine, and I don't see anything on the Metrowerks.de website that indicates that the microcontroller edition of their software works on Linux.

2) Is there any mainstream software (preferably Linux compatible) that can simluate the HC08 so that I can test my code thoroughly before loading it into the chip's RAM? I recall using something like HC12SIM way back when, and it would allow me to upload assembly code I compiled with mini-ide (http://www.mgtek.com/miniide/) and view things like register/ram contents, PSW, etc)

3) More importantly, does anyone have any suggestions on a good resource that would essentially allow me to get started on purchasing a few low-cost chips, programming them, and designing my own hardware from scratch? I'm doing a lot of this sort of thing in school, but so much of the ground work is already done in advance, or we're simply provided with demo-boards that already have most of the code/monitor apps installed in FLASH ROM already. I'd like to be able to do the whole thing from scratch.

Thank you very much.
0
Comment
Question by:dogbertius
1 Comment
 
LVL 6

Accepted Solution

by:
Mc7400 earned 500 total points
ID: 22803263
Hello,
To do the whole thing from scratch for digital only then use CPLD/FPGA technologies, there are several companies who provide them like Altera, Xilinx etc.., usually they provide free tools for several platforms.
But you have to use (VHDL or Verilog) HDLs(Hardware Description Languages), you may also need to use CPU core to embed it in your chips, of course it depends on the required application. Easy
For analog or mixed signal you have to go for ASIC technologies, but no chips to get them off the shelf, you have to prepare the design  in Spice language and one of the mentioned above languages, then send them to a fabricator; Not easy.
 
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now