home · products · checkout..
   
  F.A.Q.         

 Shopping cart
0 Product(s) in cart
Total US$0.00
Checkout

 

 

 
Frequently Asked Questions (F.A.Q.)

Does the Emulator POD require the use of the on chip resources of the ADuC to perform Debug operations?

How do I update Data memory Locations within aspire?

Within the Aspire IDE How do I include an Assembly module within a C project ?

How do I add a Library file to an Aspire project

I can compile my source code but it won't download to the target

During debug I stop on a breakpoint and contact between Emulation POD and Target is lost !

Im using Keil Version 5.xx tool set, will they work with Aspire ?

How can I program the on chip FLASH and continue running software on the prototype board when I disconnect the "serial link" / "Emulator POD"?

Why is it necessary to press the reset and debug button on the prototype board?

Is it possible to use the compiler without having the emulator hardware active?

Can we use the Aspire development system (Quick start +) to download a program to the finished product or is a terminal program needed to download hex code?

Does Aspire support Windows 95?

When using a file with the directives #pragma asm/endasm the Error C272 ('asm/endasm' requires src-control to be active) is received.

When downloading a program connected to the RS232 (J1), I get the error message"cannot detect Emulator POD. This program can be downloaded with Emulator POD only. Operation aborted" why?

When using the Keil C compiler, in µvision, it was possible to specify the target chip. How is this implemented for the Keil C compiler in the Aspire IDE?

What is the difference between Debugger and Emulator modes?

what operating systems are supported by the Aspire IDE?

When I try to view the Flash/EE data memory, their values do not automatically update when the program is stopped.

How can I confirm that the target can go into Download/Debug mode?

How can I reset and restart the program in debug mode, without downloading the program each time?

I have timers running, when I do a single step the system halts but the timers time out. Can you explain?

when I do a single step Aspire tells me it can not communicate with the target. Can you explain?

In Symbols/Memory Window after executing code I see that my XData variables do not get updated, why?

 

Q: Does the Emulator POD require the use of the on chip resources of the ADuC to perform Debug operations?

A: No, the Emulator pod provides non intrusive debug, all on chip resources are left free for user application. The Emulation POD communicates withe the ADuC via the "EA" and "Ground" pins.

return to top ...

Q: How do I update Data memory Locations within aspire?

A: From the “View” menu select “Memory Views” , then select the memory type you want to view (in this case) “Internal memory”


a window displating the Internal Memory space will be displayed


From the “View” menu select “All Symbols”

The Aspire symbols Dialog will be displayed.


Notice the symbol “bGotMessage” it is a uByte located at address 19 in idata, with a current value of '0' shown in green,


There are two ways to update this symbol
1.click on the value column in the all symbols and update it directly there or ,
2.click on the address in the Internal memory window and update the location.

On updating the value notice the memory location is highlighted in red


Next click on the Aspire Download Data button

This will update all changes to the ADuC MicroConverter


All values updated will now appear in blue indicating that they have been updated on the ADuC.

 

return to top ...

 

 

Q Within the Aspire IDE How do I include an Assembly module within a C project ?


A: At the time a file is added to a project default properties are assigned to the file dependant on the compiler module associated with the project. For instance, an ASM file added a C project will be marked by default as a text file. (refer to aspire Manual 4:3 Defining file properties)

Initialising File Properties:
1. Right click on the assembler file in the workspace window and select ‘properties’ in the pop up dialog (see Fig 1. below)


Fig 1.

 

2. The file properties window allows the User to specify individual properties for each file in the project. (see Fig 2.)


Fig 2.

The first list defines the file function in the project, in the case of an assembly file in a C project this will have to be changed from "Text" to "Source".
The Path field shows the physical location of the file.
The Parameters button invokes the settings dialog specific to the compiler module used for the project (if any settings are available). You can tune the compiler parameters for this particular file, and the appropriate command line switches for the compiler will appear in the field to the right of the button.
Type your comments for the file into the Description field.
The Style list selects the syntax highlighting scheme for this file, from the list of styles supported by aspire.
Select the compiler/assembler that will be used for this file in the list box to the right of the Settings button, in this case "Accutron 8051 Assembler" is selected.

 

return to top ...

Q: How do I add a Library file to an Aspire project

(based on the Blink project in the “\Examples\Keil\Blink” folder)

1. Ensure your Library is build for release (ie. no debug information)

2. Copy the Library file to the “\obj” directory of your project

3. Add the library file to your project by Right clicking on the source folder in the Workspace window and select “Add Files to Folder” from the context window. A standard windows File Open dialog will be displayed navigate to the “\obj” folder of your project and select the library file you wish to add.

 

Your library file should appear in your workspace as shown below.

 

 

4. Right click on the lib file in the Source folder and select Properties from the context window.


5 .The Aspire “File Properties” dialog will be displayed as below

 

  • from the pull down tab in the top left corner select “Library”.
  • In the settings menu select “Keil C 8051”.
  • the folder menu should display “Source”.

 

 

 


6 . Add the library header file to your project by Right clicking on the header folder in the Workspace window and select “Add Files to Folder” from the context window. A standard windows File Open dialog will be displayed navigate to the folder containing your header file , and select the header file you wish to add.


7 . In your Source file you will need to include the header file.


8 . Select Rebuild project from the builder bar,

 

the build status window should indicate that the project has been built with no warnings or errors

 

 

return to top ...

Q. I can compile my source code but it won't download to the target

1. The most common cause of this problem is that the Target is not in download debug mode, this is achieved by holding down the Debug button and pressing and releasing the Reset button.

2. Another common cause of this problem is that the Aspire IDE is configured in Debugger mode not Emulator Mode, To Place the Aspire IDE in Emulator mode select "ADuC Hardware Emulator Setup" from the "Run" menu. In the Mode Group select the Emulator Radio button,

return to top ...

 

Q. During debug I stop on a breakpoint and contact between Emulation POD and Target is lost !


A. Thie most common problem here is that the Watchdog timer is enabled, when halting on a breakpoint the code stops running but the ADuC core does not, so the Watchdog timer will time out and cause the ADuC to reset. disable the watchdog timer during debug.

 

return to top ...

Im using Keil Version 5.xx tool set, will they work with Aspire ?

Aspire Has not been tested with the Keil V5.xx tool set, therefore we can not claim to support the V5.xx tool set. Aspire currently supports Keil V6.xx and V7.xx tool sets.

return to top ...

 

How can I program the on chip FLASH and continue running software on the prototype board when I disconnect the "serial link" / "Emulator POD"?

Aspire downloads code/Data directly to the ADuC devices on chip FLASH, however it is necessary to do the following to ensure the device will operate correctly out of reset:

1. Build and Download you code to your target as normal.
2. Remove all breakpoints #.
3. Power down your system
4. Disconnect your "Emulation Pod" from your system
5. Connect power to JP1 on the Evaluation Board
6. Press reset on the evaluation board, the evaluation board will then power up and start executing your Code from the reset vector (address 0x00).

# Ensure the “Go till main” Option is not selected,go to Tools->Options->Debugger
Why is it necessary to press the reset and debug button on the prototype board?


A Reset push button switch is provided to allow the MicroConverter to be manually reset. This switch is tied directly to the RESET pin of the MicroConverter. A Debug push button switch is tied directly to the PSEN pin of the MicroConverter. The Debug switch in conjunction with reset switch allows the MicroConvertor to be placed into serial
Download/Debug mode.
 
Pressing reset on its own will release the AduC from Download/Debug mode, the AduC will then try an execute user code from FLASH.

return to top ...

 

Is it possible to use the compiler without having the emulator hardware active?
The spear Emulation POD has two functions firstly as an Emulator and secondly as a Dongle. In order to use the C compiler you will be required to have a spear emulation POD attached to your PC serial port.

return to top ...

 

Can we use the Aspire development system (Quick start +) to download a program to the finished product or is a terminal program needed to download hex code?


When you download using Aspire you are actually downloading the HEX code to the on chip FLASH, however it is necessary to do the following to ensure the device will operate correctly out of reset:

1. Build and Download you code to your target as normal.
2. Remove all breakpoints #.
3. Power down your system
4. Disconnect your "Emulation Pod" from your system
5. Connect power to JP1 on the Evaluation Board
6. Press reset on the evaluation board, the evaluation board will then power up and start executing your Code from the reset vector (address 0x00).

# Ensure the “Go till main” Option is not selected,go to Tools->Options->Debugger

 

return to top ...


Why is it necessary to press the reset and debug button on the prototype board?


A Reset push button switch is provided to allow the MicroConverter to be manually reset. This switch is tied directly to the RESET pin of the MicroConverter. A Debug push button switch is tied directly to the PSEN pin of the MicroConverter. The Debug switch in conjunction with reset switch allows the MicroConvertor to be placed into serial
Download/Debug mode.
 
Pressing reset on its own will release the AduC from Download/Debug mode, the AduC will then try an execute user code from FLASH.

return to top ...

 

Does Aspire support Windows 95?
Win95 is not supported. Aspire supports Win98, WinNT4, Win2000 and WinXP.

return to top ...

 

When using a file with the directives #pragma asm/endasm the Error C272 ('asm/endasm' requires src-control to be active) is received.

Unfortunately there is a problem with PRAGMA ASM which will be fixed in a future Release.

If it is necessary to use PRAGMA ASM (Note, Keil does not recommend this - see "Getting Started with mVision2"),
use the following procedure:

1. For a C file with PRAGMA ASM enable "Generate SRC" option ("File Properties" - "Settings" - "C51");
2. Compile the file, ignoring errors related to PRAGMA ASM.
3. Then include the corresponding .SRC file in your project and set all needed file properties; (source, assembler, etc).
4. Compile the SRC file.
5. Build (not rebuild) your project ignoring warning about non unique module name.

If no other C files are included in the project then it will be necessary to include the Keil C library files (The error message "Unresolved reference" will be received if the files are not included).
To include the library files:
1. Copy the necessary library files from Keil folder to your project/obj subfolder;
2. Include the files in the project.
3. For each library file select file setting "Library" in the File Properties Dialog box.

Note: After making any changes to a C file with PRAGMA ASM always compile the file (using BUILD will not recompile that file).

Also note that you will not be able to set breakpoints or step through a C file with PRAGMA ASM. You can do this with corresponding SRC file only. This is not an Aspire bug; this is Keil feature.

return to top ...

When downloading a program connected to the RS232 (J1), I get the error message"cannot detect Emulator POD. This program can be downloaded with Emulator POD only. Operation aborted" why?
Ensure there is an Emulation POD connected to a serial port on your PC. The Emulation POD also functions as a dongle for Aspire, with the exception of using the metalink assembler. You can also download using the emulation POD by connecting the target cable from you emulation POD to your Analog devices EVB.

return to top ...

 

When using the Keil C compiler, in µvision, it was possible to specify the target chip. How is this implemented for the Keil C compiler in the Aspire IDE?


All that is needed is to include the ADuC8xx header file. These files are stored by default in directory ..C51\INC\ADI

In the Keil uVision ADuC83X projects, Keil include the startup assembley code "START_AD.51" and module "XBANKING.A51". The START_AD.A51 startup file is required to configure the ADuC83x device. This startup file allows you to configure the on-chip XRAM and the extended stack space (refer to your Keil documentation for details). Add these modules to your Aspire project as required. Refer to the "\Keil\C51\Examples\ADI 83X" directory in Keil to see how they configure the C51 compiler for use with ADuC83X.

return to top ...

 

What is the difference between Debugger and Emulator modes?
Downloading through the Emulation POD is performed via the EA and Gnd pins on the ADuC (non-intrusive),
while downloading with the Direct debug mode is via the UART on the ADuC.
 
Direct Debug mode is performed via the TxD and RxD pins, using a serial link directly back to the PC.
To do this you need to make EA and GND available for the Emulation POD during Development, Aspire will take care of the handling of symbolic information, and then make RxD and TxD available on a serial port for direct debug/download for field upgrades.

return to top ...

What Operating Systems are supported by the Aspire IDE ?

The Aspire IDE supports the following Operating Systems:
Win98, WinNT4, WinMe, Win2000, WinXP

return to top ...

 

When I try to view the Flash/EE data memory, their values do not automatically update when the program is stopped.

To view the Flash/EE data memory, verify you have memory uploading enabled. To do this, select from the drop down Run menu "Select uploadable areas/SFR".

Here you may select the flash data memory uploadable areas in pages, along with external memory, RAM, SFRs, extended RAM.

return to top ...

 

 

How can I confirm that the target can go into Download/Debug mode?

With our Prototype board you can check that the board is going into Download /Debug mode by
1.Connecting a serial cable to the J1 (9 pin D-shell)
2.Configuring a HyperTerminal session for 9600 Baud, 8 bit, 1 stop bit, no parity, no handshaking.
3.Power on the board
4.Then hold down the Debug button while pressing and releasing the reset button.
The ADuC version "ADI 8XX VXX.." string will be displayed in the HyperTerminal window when the ADuC goes into Download/Debug mode.

return to top ...

 

How can I reset and restart the program in debug mode, without downloading the program each time?
In some targets, data may be lost due to a reset, so the reloading of the program code is required following reset.

return to top ...

 

I have timers running, when I do a single step the system halts but the timers time out. Can you explain?
Being a non intrusive debugger the CPU clock does not stop when you halt due to a breakpoint, so timers keep going (this would also be the case with for example the watchdog timer).

return to top ...

 

when I do a single step Aspire tells me it can not communicate with the target. Can you explain?

Being a non intrusive debugger the CPU clock does not stop when you halt , so timers etc. keep going (this would also be the case with for example the watchdog timer).

return to top ...

 

In Symbols / Memory Window after executing code I see that my XData variables do not get updated, why ?

In the intrest of efficiency and speed the IDE does not upload all memory contents by default, however you can specify the areas you wish to upload, go to the "Run" menu and choose the option "Select uploadable areas /SFRs", in the Dialog that appears specify the memory areas of interest to you.

 


return to top ...

 

 
 

Virtual Development System For 8052 Microcontrollers
Develop your programming skills & test your 'C' & Assembly code using Virdes52™ virtual hardware layouts on your PC. Read More

 
We accept
Visa & Mastercard
Waste Management Directive WEEE

home