[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Simulating with AVR-Studio

From: Scott Pitcher
Subject: [avr-gcc-list] Simulating with AVR-Studio
Date: Mon, 26 Mar 2001 22:32:30 +1000


We are porting a medium size assembler firmware application to the 
avr-gcc environment. The code was written originally for the Atmel 
assembler. I have managed to port the code to the avr-as assembler 
and get it to work.

Our problem is that I can't source level simulate with AVR-Studio. 
When I open the obj file, all I see is the gcrt1.S file. Once I step 
off the end at the 'jmp main' instruction, the simulator goes away. 
The only time it returns is when timer 0 interrupt triggers and it 
moves the cursor to the interrupt vector.

I have tried various combinations of paths in the assembler source 
files - both the includes and in the makefile. Nothing seems to help. 
Before I started binding C code into the application it would not 
even let me load the OBJ file ("Some source files are missing - Error 
in Nordic object file"). Now, I have a C source file in the 
application I can at least load the OBJ file, however, the only file 
that it can "see" is the gcrt1.S file. I can debug the entire program 
if I change the view to disassembly mode, however this makes it a 
little difficult to debug.




Scott Pitcher           address@hidden
Product Engineer        +61-418-368-051
LETECH                  Melbourne, Australia

reply via email to

[Prev in Thread] Current Thread [Next in Thread]