Sign in

username:

password:



Not a member?

Search Comp.Arch.Embedded



Search tips

embedded by Keywords

68HC11 | 68HC12 | 8051 | 8052 | ARM | ARM7 | Asic | AT91 | AT91RM9200 | Atmel | AVR | AVRStudio | Bootloader | CFP | CompactFlash | Cygnal | Cypress | Dataflash | DSP | eCos | EEPROM | Embedded Linux | Emulator | Endian | Ethernet | Firewire | FPGA | Freescale | GCC | GNUARM | GSM | H8 | HDLC | I2C | Infineon | Interrupts | Java | JTAG | LCD | LED | LPC2000 | MCU | Microchip | MMC | MPLAB | MSP430 | PC104 | PCB | PCI | PCMCIA | PowerPC | Rabbit | RS232 | RS485 | RTOS | SBC | SDRAM | Sensor | SPI | STK500 | UART | UML | USART | USB | Verilog | VHDL | VxWorks | Xilinx

Ads

Discussion Groups

Discussion Groups | Comp.Arch.Embedded | Re: Using C to program the 8051 family

There are 61 messages in this thread.

You are currently looking at messages 60 to 61.

Re: Using C to program the 8051 family - Bob Stephens - 10:11 09-01-04

On Thu, 08 Jan 2004 21:54:23 -0800, Albert Lee Mitchell wrote:

> On Wed, 07 Jan 2004 21:40:55 +0000, Bob Stephens wrote:
> 
>> On Wed, 07 Jan 2004 11:31:53 -0800, Albert Lee Mitchell wrote:
>> 
>>> [quoted text muted]
>> 
>> I debug C the same way I debug assembler or anything else. By writing debug
>> code. I also like to generate "life noises" like toggling a port bit on
>> entry to an ISR saying " I made it this far", also squirting out diagnostic
>> messages to a serial port.
>> 
>> Bob
> 
> 	That's not unsimilar to our methodology except we use the same code as
> the finished job will, not test code.  Using the serial port for
> diagnostic messages has a major impact on execution speed which I very
> much wish to avoid.
> 
> 	Without running the same code at the same speed you're not really
> exercising the final product.
>  
> -- Regards, Albert
> ----------------------------------------------------------------------
> AM Research, Inc.    			  The Embedded Systems Experts
> http://www.amresearch.com          			  916.780.7623
> ----------------------------------------------------------------------

Yes I agree. I was talking about debugging in the very preliminary stages
where you're not even sure if the oscillator is clocking the chip properly.

Bob



previous | 1 | 2 | 3 | 4 | 5 | 6 | 7