Solved

Embedded Dev - HC08 programming

Posted on 2008-10-24
1
766 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
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 for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

777 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