Presentation is loading. Please wait.

Presentation is loading. Please wait.

ARM development environment Modified 13-12-2005 1 Content Philips LPC2106 ARM chip ARM target board PSPad customised development environment Troubleshooting.

Similar presentations


Presentation on theme: "ARM development environment Modified 13-12-2005 1 Content Philips LPC2106 ARM chip ARM target board PSPad customised development environment Troubleshooting."— Presentation transcript:

1 ARM development environment Modified Content Philips LPC2106 ARM chip ARM target board PSPad customised development environment Troubleshooting

2 ARM development environment Modified Philips LPC2106 ARM chip LQFP48 (7 x 7 mm2) package 16/32 bit ARM7TDMI-S processor 64 kB Static RAM, 128 kB Flash Program Memory. In-System Programming (ISP) and In-Application Programming (IAP) via on-chip boot-loader software. Vectored Interrupt Controller, two UARTs (16C550), Fast I²C (400 kbits/s) and SPI™. Two 32-bit timers (7 capture/compare channels), PWM unit (6 outputs), Real Time Clock and Watchdog. Up to thirty-two 5 V tolerant general purpose I/O pins. Dual power supply: CPU 1.8 V, I/O 3.3 V with 5 V tolerant I/O pads.

3 ARM development environment Modified ARM target board

4 ARM development environment Modified ARM target board ARM LPC2106 chip USB connector for power only Parallel JTAG interface (’wiggler’) Serial interface (RS232, can be disconnected) 8 LEDs 16 pushbuttons 16 x 1 or 16x 2 Character LCD Small loudspeaker Reset button Jumpers select JTAG or bootloader Extension connector

5 ARM development environment Modified PSPad customised development environment PSPad editor / user-interface GCC compiler (Assembler, C, C++) Insight debugger MAC_MOT TCP-to-parallel JTAG interface

6 ARM development environment Modified Use - preparation Install the development environment Create an empty project directory  no spaces in the pathname! Unzip a project zip file into that directory Connect the board (USB + parallel) Open the project (.ppr) file to start the environment

7 ARM development environment Modified Use – build Build the project

8 ARM development environment Modified Use – start JTAG debugger Start the debugger

9 ARM development environment Modified Use – configure the debugger interface If this screen appears: enter the settings as shown

10 ARM development environment Modified Use – (debugger) - download Start downloading your code

11 ARM development environment Modified Use – (debugger) - start your program Run your code

12 ARM development environment Modified Use – debugger - stepping Single step, step into functions Single step, step over functions

13 ARM development environment Modified Use – debugger - stepping Run up to end of current function

14 ARM development environment Modified Use – debugger - stop Stop your code, then close the debugger

15 ARM development environment Modified troubleshooting If you see this you must set the MAC_MOT driver to auto-start: control panel > system > hardware > device manager (select view > show hidden devices) > non plug-and-pray devices > MAC_MOT > driver status = started, type = automatic

16 ARM development environment Modified Installing the development environment installs the MAC_MOT driver. If it somehow disappears from your PC you could install the Macraigor OCD commander. troubleshooting

17 ARM development environment Modified If you try to build while the debugger is still active, you will get this error because the debugger has locked the executable file so the compiler can not write to it. troubleshooting

18 ARM development environment Modified If nothing else seems to help: disconnect the PCB, reset your PC, and start all over. Don’t use an unpowered USB HUB between your PC and the ARM board. If possible, connect directly to your PC. troubleshooting


Download ppt "ARM development environment Modified 13-12-2005 1 Content Philips LPC2106 ARM chip ARM target board PSPad customised development environment Troubleshooting."

Similar presentations


Ads by Google