To run BASCOM program under JTAG, output file must be loaded into AVR Studio.
First you must download AVR Studio 4 from Atmel website. Then BASCOM must generate output file that is accepted by AVR Studio.
When you execute program step by step, you note that at the beginning of the program yellow arrow is on the first line regardless key press. This is because of BASCOM initialization code. There is no source for this code, so AVR Studio indicates that it executes the first line (it can be a comment line). It is better to set breakpoint on the first line of source code and press F5, this allows you to quickly skip initialization code. Unfortunately BASCOM does not store information about variables in OBJ file. That means you can not watch variables. When you try to add variable to watch window, it displays 'Not in scope'. You can still examine registers, memory and so on. |
|||





