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 | Problem running the example

There are 4 messages in this thread.

You are currently looking at messages 0 to 4.

Problem running the example - Frezia - 08:03 02-09-08

Hi,
 
I want to run the example "TimerInt" in the simulator mode, and I should
expect printing the value of the VICVectAddr every 1 second in the Terminal
I/O window, but it will show nothing.

Does anybody have an idea of what can be? 

Thank you






Re: Problem running the example - Rich Webb - 09:15 02-09-08

On Tue, 02 Sep 2008 07:03:25 -0500, "Frezia" <d...@yahoo.ca>
wrote:

>Hi,
> 
>I want to run the example "TimerInt" in the simulator mode, and I should
>expect printing the value of the VICVectAddr every 1 second in the Terminal
>I/O window, but it will show nothing.
>
>Does anybody have an idea of what can be? 

Simulators generally do a very poor job of "simulating" microcontroller
peripherals. They also typically run several orders of magnitude slower
than the real hardware.

If your unspecified simulator for the unspecified microcontroller (I'd
guess LPC2xxx) does a decent job of simulating the unspecified timer at
all, one second in its realm may still be 1000 seconds of wall time.

-- 
Rich Webb     Norfolk, VA

Re: Problem running the example - Boudewijn Dijkstra - 03:49 03-09-08

Op Tue, 02 Sep 2008 14:03:25 +0200 schreef Frezia <d...@yahoo.ca>:
> I want to run the example "TimerInt" in the simulator mode, and I should
> expect printing the value of the VICVectAddr every 1 second in the  
> Terminal
> I/O window, but it will show nothing.
>
> Does anybody have an idea of what can be?

The simulator only simulates an ARM core, not a whole microcontroller.   
(Hint: no ARM core has VICVectAddr)


-- 
Gemaakt met Opera's revolutionaire e-mailprogramma:  
http://www.opera.com/mail/

Re: Problem running the example - Marcus Harnisch - 08:12 03-09-08

"Boudewijn Dijkstra" <b...@indes.com> writes:
> The simulator only simulates an ARM core, not a whole microcontroller.

Depends on your environment. RealView MDK, for instance, simulates
entire MCUs. Even if the OP was using RVISS (formerly known as
"Armulator"), there would be some generic peripheral models, mostly
based on ARM's PrimeCells. However, RVISS doesn't simulate the
PrimeCell VIC, just a very simple non-vectored interrupt controller,
based, perhaps, on the ancient APB interrupt controller from the
"Reference Peripherals".

BTW: There is a plug-in interface for RVISS that allows people to
write their own peripheral models.

Best regards
-- 
Marcus Harnisch
Consultant

                DOULOS - Developing Design Know-how
    VHDL * SystemC * Verilog * SystemVerilog * e * PSL * Perl * Tcl/Tk  
                  ARM Approved Training Centre (ATC)

Doulos Ltd., Central European Office, Garbsener Landstr. 10, 30419 Hannover
Tel: +49 (0)511 2771340                  mailto: m...@doulos.com
Fax: +49 (0)511 2771349                  Web:    http://www.doulos.com

This e-mail and any attachments  are confidential and  Doulos Ltd. reserves
all rights of  privilege in respect thereof.  It is intended for the use of
the addressee only. If you are not the  intended recipient please delete it
from  your system,  any use,  disclosure,  or copying of  this document  is
unauthorised. The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.

Doulos Ltd is registered in England and Wales: Company No. 3723454. 
Registered Office: Brackley Close, Christchurch, Dorset BH23 6SE, UK.
VAT No: GB 730 3456 59
Directors: Rob Hurley, John Aynsley, David Crowder