Solved

Embedded Dev - HC08 programming

Posted on 2008-10-24
1
761 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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

743 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

19 Experts available now in Live!

Get 1:1 Help Now