Intel IQ80332 manual Displaying Source Code, Using Breakpoints

Page 63

Intel® IQ80332 I/O Processor

Getting Started and Debugger

B.7.3 Displaying Source Code

1. Launch the CodeLab EDE Debugger and open the “Tester1LED” ELF program.

Note: Use the File/Recent Programs menu for quick access.

2.Select the “Files” view in the lower tab of the WorkSpace window.

3.Bring up “blink.c” and “led.c” source code by double-clicking each filename.

4.Use the “Windows” Menu to arrange the windows, or maximize, minimize, and resize manually as desired.

5.Press the “Mixed” tab at the bottom of the “blink.c” window. Notice that the assembly along with each C statement.

6.Press the “Source” tab to revert back to C code only.

B.7.4 Using Breakpoints

Note the small gray circles on the sidebar beside each line of source code. Single-click any of these gray circles and a red dot appears. The red dot represents a break point. Single-click the red dot to remove it, or click the “Remove all breakpoints” icon.

Place a breakpoint on the following lines of code in “blink.c”:

displayLED(leds[8],leds[0]); /* LED display '80' */

displayLED(leds[0],leds[3]); /* LED display '03' */

displayLED(leds[3],leds[2]); /* LED Display '32' */

displayLED(leds[2],leds[1]); /* LED display '21' */

displayLED(leds[16],leds[16]); /* LED display ' ' */

1.Click the “Go” icon.

The yellow arrow stops at the first break point and the HEX display does not change.

2.Click the “Go” icon again.

The last instruction has now been executed and an “80” is displayed.

3.Continue on in this fashion, watching the lines execute only as they are called, while the yellow arrow shows exactly what line is up next in execution.

4.Click the “Remove all breakpoints” icon.

5.Press “Go” again and notice that the program loop is infinite.

6.Press the “Halt” icon to stop execution.

7.Close the debugger and cycle power to the board.

Evaluation Platform Board Manual

63

Image 63
Contents Evaluation Platform Board Manual Intel IQ80332 I/O ProcessorIntel IQ80332 I/O Processor Evaluation Platform Board Manual Contents 6.3 2.2 Figures Examples Revision History Date Revision Description001 Initial Release Other Related Documents Document Purpose and ScopeComponent Reference Electronic InformationComponent References Electronic InformationTerms and Definitions Terms and DefinitionsDefinition Intel 80332 I/O Processor 231 Feature Definition Summary of FeaturesKit Content Hardware InstallationFirst-Time Installation and Test Power Requirements Supported Tool Buckets Factory SettingsContents of the Flash Development StrategyTarget Monitors RedHat RedBootHost Communications Examples Serial-UART CommunicationJtag Debug Communication Network Communication Example Network CommunicationGNUPro GDB/Insight Communicating with RedBootIntel IQ80332 I/O Processor GDB set remotebaud Connecting with GDBThis Page Left Intentionally Blank Target Market Functional DiagramBoard Form-Factor/Connectivity Form-Factor/Connectivity FeaturesPower Features PowerMemory Subsystem Battery BackupFlash Memory Requirements Flash Memory RequirementsInterrupt Routing External Interrupt Routing to Intel 80332 I/O ProcessorInterrupt System Resource 80332 populates the peripheral bus as depicted by Figure Peripheral Bus FeaturesFlash ROM Flash ROM FeaturesAudio Buzzer Rotary SwitchUart Non-Volatile RAMBattery Status Battery Status Buffer RequirementsRead Name Description Write Console Serial Port Debug InterfaceJtag Debug Jtag PortJtag Port Pin-out Reset Requirements/Schemes Board Reset SchemeSwitch Summary Switches and JumpersSwitch Summary Default Switch Settings of S7A1- VisualConnector Summary Jumper SummaryGeneral Purpose Input/Output Header Switch S8A1 Rotary Detail Descriptions of Switches/JumpersSwitch S1C2 80332 Reset Switch S6A1 BPCI-X ResetS7A1-4 PCI-X Bus B Speed Enable Settings and Operation Mode Switch S7A1-3 Retry Settings and Operation ModeS7A1-8 Operation Mode S7A1-9 Operation ModeS7A1-10 Operation Mode Jumper J7D1 Flash bit-width Jumper J1C1 Jtag ChainJumper J1D2 Uart Control Jumper J7B4 SMBus Header Jumper J9D3 Buzzer Volume ControlComponents on the Peripheral Bus DramSoftware Reference Address Range in Hex Size Data Bus Width Description Peripheral Bus Memory MapIntel 80332 I/O Processor Memory Map Board Support Package BSP ExamplesRedBoot* Intel 80332 I/O Processor Memory Map RedBoot Intel 80332 I/O Processor FilesVirtual Address Physical Address Size Description RedBoot 80332 DDR Memory Initialization Sequence IQ80321 and IQ80332 Comparisons This Page Left Intentionally Blank Purpose IntroductionRelated Web Sites Hardware Setup SetupSoftware Flow Diagram Software SetupCreating a New Project New Project SetupConfiguration Overview Flashing with JtagUsing Flash Programmer Building an Executable File From Example Code Debugging Out of FlashLaunching and Configuring Debugger Running the CodeLab DebuggerManually Loading and Executing an Application Program Displaying Source Code Using BreakpointsStepping Through the Code Setting CodeLab Debug OptionsExploring the CodeLab Debug Windows Registers Window Watch WindowVariables Window Hardware Breakpoints Debugging BasicsHardware and Software Breakpoints Software Breakpoints3 C.9.3 Exceptions/Trapping

IQ80332 specifications

The Intel IQ80332 is a high-performance microprocessor designed primarily for embedded applications, showcasing Intel's commitment to delivering powerful computing solutions for a variety of industries. Launched as part of Intel’s post-Pentium architecture, the IQ80332 is built on a robust architecture that combines efficiency with advanced performance capabilities, making it particularly suitable for industrial, telecommunications, and networking environments.

One of the standout features of the IQ80332 is its support for wireless communication technologies, providing seamless connectivity options for embedded devices. The chip integrates advanced power management features, enabling it to operate efficiently, which is crucial for systems that demand low power consumption without sacrificing performance.

The processor is built on a scalable architecture that supports a wide range of applications, from simple control operations to complex data processing tasks. It has a diverse instruction set, allowing developers to leverage a variety of programming paradigms for optimizing application performance. This versatility makes the IQ80332 a preferred choice for developers looking to build sophisticated embedded systems.

Another key characteristic of the IQ80332 processor is its robust security features. It includes hardware-level security measures that help protect sensitive data and maintain system integrity—an essential requirement in today’s connected environments where cyber threats are prevalent.

Additionally, the Intel IQ80332 supports multiple system interfaces, allowing for easy integration with various peripherals. Its compatibility with industry-standard buses makes it an ideal choice for upgrading existing systems without extensive redesign efforts.

Moreover, the chip is capable of running multiple operating systems, which provides developers with flexibility in choosing the best software platforms for their applications. This multitasking ability contributes to its efficiency, making it a noteworthy contender in the embedded processing market.

In summary, the Intel IQ80332 microprocessor is characterized by high performance, low power consumption, and robust security features. Its versatility, combined with advanced connectivity options and strong support for multiple operating systems, makes it a valuable asset in the development of next-generation embedded systems across a multitude of sectors. As industries continue to evolve, the IQ80332 remains a compelling solution for engineers and developers seeking reliable and efficient computing power.