Xduino – ARM Compiler and IDE with Arduino-like support
Posts Tagged embedded
Xduino download update
Posted by Ram in Xduino release on April 16, 2013
I would like to inform you that XDUINO-IDE is ready, you can download it from
http://download.xduino.com/files/xduino-ide-v0.91.exe
Note that you are only authorized to download this version of
XDUINO-IDE only if you have the STM32 Uploader software in your
computer.
Username: temporary@xduino.com
Password: y8jgmdn0
Note that the username is all lower-case.
——
Arduino – The embedded platform programming made simple for ATMEGA/AVR platform
ARM – the processor site ARM architecture – information on wikipedia
ST Microelectronics – A maker of ARM processor of the STM32 family including Cortex-M3
Forums:
STM 32 Cortex-M3 forum on ST site
Arduino forum – latest happenings with Arduino
Xduino team is currently out of station so we are positing temporary download instructions here : -)
Kindly signup here first:
ADC, Arduino, ARM, ARM compiler, ARM development tools, ARM programming, C++, Compiler, Cortex-m3, DAC, embedded, Interrupt, PWM, Round-robin, simple programming, ST Microelectronics, STM32
MCU and boards testing
We are currently testing out some additional MCUs some comes with Ethernet so the inclusion of TCPIP stack could be included in the future scope. We also have received some request from Apple/Mac OSX users and as we currently don’t have access to any Apple/Mac OSX system and without any funding we cannot proceed on this. However, information pills if we can get some substantial sponsorship/donation we will proceed on this as well as intensively continue our development.
Apple, Arduino, ARM, ARM compiler, ARM development tools, ARM programming, C++, Compiler, embedded, IDE, Mac, OSX, simple programming, ST Microelectronics, STM32
XDUINO-IDE v0.91 released
Posted by Ram in ARM, compiler, Cortex-M3, development tools, embedded, programming, programming example on September 7, 2009
XDUINO-IDE (v0.91) with integrated uploader tool is finally here. The current release will only be available for those who have bought an XDUINO board from us.
If you have bought a board from us and wants to download the IDE, site please send us a note and we’ll get back to you asap.
XDUINO package with library files has been renamed XDUINO-lib.
There is also a minor upgrade for XDUINO-lib in the just released version 0.33
Happy XDUINOing
Arduino, ARM, ARM compiler, ARM development tools, ARM programming, C++, Compiler, Cortex-m3, embedded, IDE, simple programming
XDUINO board in stock and XDUINO-IDE coming
Posted by Ram in ARM, Cortex-M3, embedded, programming example on September 3, 2009
We have restocked XDuino boards, price please check on our ‘hardware’ page to see what we have.
Yes, sale this is an official : -) announcement that XDUINO-IDE will be coming out within the next few days (not more than 1-2 days)….
Xduino v0.31 released
Posted by Ram in ARM, Cortex-M3, Xduino release on August 6, 2009
Xduino v0.31 has been released. This release include STM32f10x required libraries as well as project example file for Keil RV-MDK and IAR EWARMv5.
Minor change has been done for serial port buffering to make sure that buffering is done seperately for each serial port.
ADC, Arduino, ARM, ARM programming, C++, Cortex-m3, DAC, embedded, Interrupt, Round-robin, simple programming
Xduino 0.3 released
Posted by Ram in ARM, Cortex-M3, programming, Xduino release on August 5, 2009
(So far Xduino v0.3 has only been tested on board with STM32F10ret6 mcu.)
There are a few things to keep in mind when using Xduino v0.3
Major Features:
All Arduino syntax are compatible with Xduino v0.3 (as per Arduino references and Arduino extended references page except for analogReference() command.
Serial ports
There are total of 5 serial ports so Serial1-5 commands can be used.
There is also a special serial port output command ‘printf’ this function can be used like the general C/C++ printf function on the Serial command like
Serial1.printf(“Xduino v%f”, 0.3);
Math library (math.h)
Mathematical functions are included. For full information please check this math.h page.
Standard library (stdlib.h)
Standard library functions are available. For full information please check this stdlib.h page.
Other C or C++ libraries
Other C and C++ libraries can also be included, extending the limitation of functionality.
Analog ports
All Analog input and Analog output channels have 12-bits data. This means that when reading analog channel by using analogRead() command the returned value is between 0 and 4095 and when writing to analog output channel one can write value 0 and 4095.
Analog input channels (ADC)
There are total of 15 analog input channels with the following channel name corresponding to the Pin on the board:
Analog input channel (ADC) | Pin on board |
0 | PA0 |
1 | PA1 |
2 | PA2 |
3 | PA3 |
4 | PA4 |
5 | PA5 |
6 | PA6 |
7 | PA7 |
8 | PB0 |
9 | PB1 |
10 | PC0 |
11 | PC1 |
12 | PC2 |
13 | PC3 |
14 | PC4 |
15 | PC5 |
Analog output channels (DAC)
There are 2 DAC channels and each correspond to a port as follow:
Analog output channel (DAC) | Pin on board |
1 | PA4 |
2 | PA5 |
AnaloglastWrite() function can be used to retrieve the last value written to the analog output (DAC) channel. For example, to get the last value written to analog output channel 2:
int lastvalue;
lastvalue=analogLastwrite(2);
Interrupts
There are total 16 interrupt channels for digital input pins, the interrupt. Each pin ‘number’ can only be assigned an interrupt. This means that interrupt cannot be assigned to PA5 and PB5 at the same time as the pin ‘number’ is the same.
(note: the interrupt handling function must appear before main() directive of the program if not declaring a function prototype)
pause(ms) and pauseMicroseconds(us)
(delay possible within interrupt routine)
Generally the use of delay functions are not possible within the interrupt handling routine and this is where pause(ms) and pauseMicroseconds(us) comes in. Just specify the number of milliseconds/microseconds to pause the program and pause will handle it even within the interrupt. Note that pause only “approximate” the time to delay.
Example: to pause for approximately 10 milliseconds
pause(10);
Important file setup
To get interrupt functions and timing function working properly the following lines must be added to stm32f10x_it.c appropriately:
void SysTickHandler(void) { SysTick_IRQ_Function(); }
void USART1_IRQHandler(void) { USART1_IRQ_Function(); }
void USART2_IRQHandler(void) { USART2_IRQ_Function(); }
void USART3_IRQHandler(void) { USART3_IRQ_Function(); }
void UART4_IRQHandler(void) { UART4_IRQ_Function(); }
void UART5_IRQHandler(void) { UART5_IRQ_Function(); }void EXTI0_IRQHandler(void) { EXTI_ALL_IRQ_Function(); }
void EXTI1_IRQHandler(void) { EXTI_ALL_IRQ_Function(); }
void EXTI2_IRQHandler(void) { EXTI_ALL_IRQ_Function(); }
void EXTI3_IRQHandler(void) { EXTI_ALL_IRQ_Function(); }
void EXTI4_IRQHandler(void) { EXTI_ALL_IRQ_Function(); }
void EXTI9_5_IRQHandler(void) { EXTI_ALL_IRQ_Function(); }
void EXTI15_10_IRQHandler(void){ EXTI_ALL_IRQ_Function(); }
Additional minor features
digitalToggle() command can be used to toggle the digital state of the pin from high to low or from low to high. For example to toggle the state of pin PC2
digitalToggle(PC2);
Finally Xduino version 0.3 has been released. This version has all Arduino platform functions except for analogReference() function.
On top of the the above, Xduino have taken a step further by extending the functionalities above and beyond current scope. For more information please check the Documentation section.
This version also includes Keil RV-MDK project file example.
ADC, Arduino, ARM, ARM development tools, ARM programming, C++, Cortex-m3, DAC, embedded, Interrupt, Round-robin, simple programming
Xduino v0.11 released
Posted by Ram in ARM, Cortex-M3, Xduino release on July 16, 2009
Today Xduino v0.11 has been released. With higher syntax compatibility to Arduino platform.
You can see a simple example and download the latest Xduino release on the ARM Cortex M-3 page.
Arduino, ARM, ARM programming, C++, Cortex-m3, embedded, simple programming
Xduino for ARM Cortex-M3 STM32f10x initial release
Posted by Ram in ARM, Cortex-M3, Xduino release on July 13, 2009
Wanting to run Arduino-like program on ARM boards? Finally something is here : -).
Yes, discount the Xduino for ARM Cortex-M3 STM32F10x is ready for you to download. It’s just the first step. You can download it here:
Xduino-ARM-Cortex-M3-STM32f10x-v0.1.zip download
You can check out the ARM Cortex-M3 section for help and example!.
Let us know what you think……
Arduino, ARM, ARM programming, C++, Cortex-m3, embedded, simple programming
About XDuino
Posted by Ram in ARM, compiler, Cortex-M3, detail, development tools, embedded, programming, programming example on July 12, 2009
Arduino platform has definitely enabled a lot of people including those non-tech savvy ones to enter into the electronics worlds. From the beauty of Arduino, now comes the challenge in making Arduino-like environment accessible across as many hardware platforms as possible. This would enable the simplicity and yet powerful Arduino platform to harvest on more powerful resources provided by different hardware to overcome hardware limitations based on different needs.
This approach will never be fully realized without contributors. So all contributions are welcome. Also, comments/suggestions will be highly appreciated. : -)
Let’s see what wonders we can create together…
Now, a little about me. My name is Ram, I am an independent IT consultant based in Bangkok and really like the Arduino project but it did not fit my needs so I started playing with ARM and manage to understand a bit about it then started this project. Feel free to contact me via the Contact us page : -)
ADC, Arduino, ARM, ARM compiler, ARM development tools, ARM programming, C++, Compiler, Cortex-m3, DAC, embedded, IDE, Interrupt, PWM, Round-robin, simple programming
Arduino-like library for ARM platform
Posted by Ram in ARM, detail, embedded, programming on July 12, 2009
Arduino platform has definitely enabled a lot of people including those non-tech savvy ones to enter into the electronics worlds. From the beauty of Arduino, now comes the challenge in making Arduino-like environment accessible across as many hardware platforms as possible. This would enable the simplicity and yet powerful Arduino platform users to harvest on more powerful resources provided by different hardware to overcome hardware limitations based on different needs.
This approach can never be realized without contributors. So all contributions are welcome. Also, more about comments/suggestions will be highly appreciated. : -)
Let’s see what wonders we can create together…
You can view the list of currently supported platforms on the Platform page
Now, a little about me. My name is Ram, I am an independent IT consultant based in Bangkok and really like the Arduino project but it did not fit my needs so I started playing with ARM and manage to understand a bit about it then started this project. Feel free to contact me via the Contact us page : -)
Arduino-like library for ARM platform
This project has been started for making ARM processor boards (the platform which is much more powerful)Â be easily accessible just like Arduino. Nowadays you can find ARM boards easily.
This idea came about when running into limitation of resources provided by the ATMEGA processor and with short learning curve for Arduino platform.
This starting point focuses on ARM Cortex-M3 processor from STM32F10ret6 platform it runs at 72MHz processor 512KB of flash memory and 64KB of RAM, many several USART communication ports and a lot of GPIO pins.
Library for other boards will be added as the board gets within reach.
See more at Platform page
XDUINO
A project from ThailandXduino project
Now if you can program an Arduino then you can easily program on Xduino on 32-bit platform of ARM Cortex-M3.
Want to use low-cost microcontroller with simple programming language and high performance? You can use Xduino + Arm Cortex-M3 STM board.
Xduino project has been started in order to bring Arduino-like environment to different hardware platforms.
(Note: Xduino supports all Arduino functions except analogReference()).
XDUINO IDE is available, so users will have to download the XDUINO-IDE and start enjoying the world of XDUINO on ARM Cortex-M3)
Blogroll
Copyright
Copyright (c) 2009 Ram Narula Programs are distributed under GNU Lesser General Public License (LGPL)