This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARMwizard, freeware application to setup LPC2xxx registers using graphic interface

Note: This was originally posted on 28th March 2011 at http://forums.arm.com

I thought it would be nice to have an application where all the initialization values for the microcontroller registers could be easily set up using a graphic interface but I wasn't able to find any commercial or free application so I have started my own application available as a freeware.

The application is called ARMwizard and is currently in version 1.3.
I keep adding more settings and I will also add more LPC2xxx series models in future versions, the application can support LPC21xx, LPC23xx, LPC24xx etc.
The current version includes mcu profiles for LPC2101/2/3, LPC2104/5/6, LPC2131/2/4/6/8, LPC2141/2/4/6/8

The application can help set up the registers of Philips (NXP) LPC2xxx ARM7 microcontrollers, it is mainly designed to be used with KEIL uvision but the created code can easily be modified (mainly the interrupt functions) for other compilers because all the register names are the ones used in the datasheet of NPX.

It generates the initialization code with the selected settings, fully commented and including register values and interrupt functions, you just have to copy it in a new project to have a starting point in a few minute, this should make the development of applications much easier and faster.

The settings include:
  • GPIO, select inputs/output direction or any alternative pin function using a convenient graphic interface and also a quick selector which has all the functions in groups.
  • Interrupts, select from a list any of the available interrupts sources and add them to the selected vector, the functions will be created automatically.
  • External Interrupts, set the external interrupt options using combo boxes.
  • A/D converter, set any aspect of the ADC (mode, channels, interrupts etc.) with explanation for every setting and see the calculated clock and sample rate without having to calculate anything.
  • Timers, set any aspect of 16/32 bit timers (mode, MAT, CAP, interrupts etc.) with explanation for every setting and automatic clock calculation.
The application is a Windows executable but is completely compatible with Linux using WINE, it doesn't need any installation, just unzip the downloaded file and run the application. It doesn't write anything to system folders or the registry, to remove the application you just delete the executable file and the include folder.

You can see snapshots of the application and sample of the generated code in
http://alexan.edaboard.eu

Best regards
Alexan Eramian
Parents
  • Note: This was originally posted on 2nd September 2011 at http://forums.arm.com

    ARMwizard updated to version 2.0.2

    What is new

    "¢ Removed: __irq prefix from LPC17xx functions [Phil Young LPC2000 forum]
    "¢ Added: The missing exception interrupts for LPC17xx
    "¢ Added: Bit masking for reserved bits of PCONP, SCS, INTWAKE registers
    "¢ Added: Support for LPC177x/8x having the IOCON register (LPC1774/ 76/ 77/ 78/ 85/ 86/ 87/ 88)
    "¢ Added: In quick selector if a pin of a function group is set then the group is also shown with a checkbox
    "¢ Fixed: when the external match checkbox were enabled in timers the match control register stop and reset bits were disabled.
    "¢ Fixed: The motor PWM input pins were shown in the SD/MMC section of quick selector
    "¢ Fixed: a few pins functions in LPC2470/78 were not commented

    Visit
    http://alexan.edaboard.eu/

    Best regards
    Alex
Reply
  • Note: This was originally posted on 2nd September 2011 at http://forums.arm.com

    ARMwizard updated to version 2.0.2

    What is new

    "¢ Removed: __irq prefix from LPC17xx functions [Phil Young LPC2000 forum]
    "¢ Added: The missing exception interrupts for LPC17xx
    "¢ Added: Bit masking for reserved bits of PCONP, SCS, INTWAKE registers
    "¢ Added: Support for LPC177x/8x having the IOCON register (LPC1774/ 76/ 77/ 78/ 85/ 86/ 87/ 88)
    "¢ Added: In quick selector if a pin of a function group is set then the group is also shown with a checkbox
    "¢ Fixed: when the external match checkbox were enabled in timers the match control register stop and reset bits were disabled.
    "¢ Fixed: The motor PWM input pins were shown in the SD/MMC section of quick selector
    "¢ Fixed: a few pins functions in LPC2470/78 were not commented

    Visit
    http://alexan.edaboard.eu/

    Best regards
    Alex
Children
No data