Show Posts
Pages: [1] 2 3 ... 16
1  Development / Other Software Development / Re: ARM announces Device Platform and Free OS for Cortex-M based MCUs (mbed 3.0 IoT) on: Today at 12:10:37 am
Hmm, "mbed Device Server: a licensable software product that", so not that free then.

I kinda of expect nowadays marketing material to say the opposite of reality.
2  Using Arduino / Microcontrollers / Re: What's this I found on eBay? on: October 01, 2014, 11:53:05 pm
I ordered some Maple Minis but not received yet, but I did get an IteadMaple which I think has the same chip.

It seems that Leaflabs are pursuing other interests nowadays and their IDE is not actively supported. I am looking at creating a Maple package for the 1.5.x IDE, it should be straightforward.
3  Community / Bar Sport / Re: ARM Cortex-M7 on: September 30, 2014, 06:04:24 pm
I've always been puzzled why there is so little RAM on micro-controllers, I suppose there is a technical reason rather than just marketing.

It's fairly easy to add support to the Arduino IDE for ARM dev boards, especially since 1.5.x, provided that the target chip has a built-in bootloader. Most of the NXP and STM32 chips do, which is good because they are widely available.
Of course, you don't get real-time debug, and the Arduino API is only just enough to get you going, but you can still write code to directly access all the extra features in these chips.

I see a lot of cheap and powerful boards in an Arduino form factor, and wish they were supported by the Arduino IDE. So prompted by ChrisMicro, I have put his LPC810 code into an Arduino package, and am working on support for LPC11xx chips. Ultimately I would like to get support for some of the Cortex M4F chips. If anyone is interested, the repo is at

It seems that most of the manufacturers are heading towards mBed, not sure whether it is seen as more professional or if Arduino is seen as Atmel territory, perhaps a bit of both.
4  Using Arduino / Project Guidance / Re: Is Teensy the answer for video processing ? on: September 30, 2014, 01:38:29 pm
The key question is, how many tons of RAM do you need? Microcontrollers might have up to 512KB on board, above that you need external RAM. SRAM gets you into low MB range, for GB you need DDR of some type. Many micros have external memory bus so adding SRAM is relatively easy. DDR tends to be more on application class chips.

Generally the dev boards with a lot of RAM are Linux based, some may be used in bare metal mode. There are few MCU boards with external RAM, e.g. STM32F429 Discovery has 2MB. There are none I know of that are supported by the Arduino IDE, I'd be happy to hear otherwise.

I would look at the CMUcam and OpenMV projects, they are doing something similar with small micros.
5  Using Arduino / Project Guidance / Re: How to build it own Arduino Due? on: September 28, 2014, 11:47:19 am
I have also think to change the ATMEGA16U2-MU by an FTDI 232. But with this solution, we can't have RESET_CMD and ERASE_CMD.
Is that really important ?

Do you have some solution for me?

The "standard" FTDI programming cable has DTR which can be used to toggle reset, you could have a "boot" button on the board which the user is required to press before programming.

I am looking into creating a programming cable which can control both reset and boot/erase lines, but that requires an FTDI breakout with more lines, or using a Pro Micro. In either case it requires new versions of software to toggle both lines.
6  Using Arduino / Installation & Troubleshooting / Re: Arduino Pro mini 3.3V/5V adjustable? on: September 28, 2014, 10:55:56 am
Firstly, S4 is a diode, not a switch!

There are many variations of the Pro Mini, I think the one you have is not adjustable. In the original Sparkfun design, although the chip will run with VCC = 3.3V or 5V, the onboard regulator is 3.3V if you run from the RAW input.

I've found the third-party sellers can be quite vague about the version they are selling, and never found schematics for them.
7  Using Arduino / Motors, Mechanics, and Power / Re: Nxt style drag and drop program for ardunio (other than on: September 28, 2014, 07:39:07 am
i would like a Nxt style drag and drop programing application for ardunio (other than, i compete in sumobot 3kg compatitions and need an easy way to program

I guess that you are looking for a free program, as well as easy to use. Here are a few Open Source ones I have found :

ArduBlock   Open Source (GPL3)

miniBloq      Open Source

Scratch for Arduino      Open Source (MIT)
8  Using Arduino / Microcontrollers / Re: LPC810 mini ARM Prozessor in 8 pin dip package on: September 25, 2014, 03:07:41 pm
Great. I'm curious what nice little Arduino programs you are making with it.
It's a bit small for my usual projects, but I would like to port the OpenBlink firmware to it.

Oh, that's a pity. The advantage of "" is, that you can alter the code.
I had to do it for my Arduino programmer:
This programmer works very comfortable because it automatically resets the LPC810 and pulls the ISP-line at the start of programming and when it finishes, it reset the LPC810 again to start the program. The development flow is exactly the same as with an Arduino Uno: just press the button than the program compiles, downloads and starts. All in all very comfortable.

I didn't spend much time debugging flushmagic, but I never got past the initial synchronize.

Of course, lpc21isp can be modified too, it's an open source project

A big disadvantage of a python script is that it creates an additional dependency on python being installed (and then pyserial) most users will not have it. It also awkward to call the python script file via a batch file, a native program is much better. We can also use lpc21isp for other NXP chips.

I think if there is a need for script type operations then it would be best to write them in Java, as that must be there to run Arduino IDE.
9  Using Arduino / Microcontrollers / Re: SAMA5D3 based board from Atmel - supported by IDE 1.5.x? on: September 25, 2014, 01:40:20 pm
I have had done of those boards for a while, it's on my list of things to do smiley Fully exploiting this board would be a large task, but even basic operation would be fun. I haven't really looked into whether there is a bootloader that is easy to use, or whether it needs a JTAG connection.
10  Using Arduino / Project Guidance / Re: Compile code on the arduino on: September 24, 2014, 06:44:42 pm
Remember that thirty years ago, a 8-bit CPU could already run a computer with C compiler, text editor, text-mode HMI and communication system (at the same time), despite less computing power and less memory (RAM/ROM) than with the Arduino Mega 2560 today.

Wow, you are right! I had forgotten about Small-C, that was around 1980. There were C compilers for Apple II and BBC Micro. 8KB is possibly a little on the small side, ISTR those computers had up to 64KB.

One of my first programming jobs was on an IBM PC, 512KB and massive 5MB hard disk! That was around 1986 though smiley

Of course it helped that they were von Neumann architecture so complied code could be run in RAM, unlike AVR with separate Program and Data buses (Harvard).

So, I think a tiny-C for Arduino is definitely on the cards smiley Heck, someone was running Unix on a PIC, so a C compiler should  be easy!
11  Using Arduino / Microcontrollers / Re: LPC810 mini ARM Prozessor in 8 pin dip package on: September 24, 2014, 06:16:30 pm
I gather lpc21isp is software, what actually does the programming? Or is it just for dev boards that already have programming hardware in place?

Most (maybe all?) of the NXP ARM chips have a bootloader in ROM which runs an ASCII protocol over UART, so the great thing is you don't need any programming hardware apart from a USB-TTL adapter.

The ASCII protocol is dead simple, you could almost drive it with a terminal emulator. Basically all lpc21isp does is read the bin file and send data formatted as ASCII hex to the chip, and the chip programs itself.

I've now got blinky running on a breadboard with 3 components: led, resistor and LPC810, programmed through Arduino IDE. It's really a great chip for hobbyists - hopefully NXP will continue making it!

NXP had the LPC1114 DIP package down for end-of-life which they have rescinded, not sure whether that was a mistake or if the DIP packages are not selling much.

In principle, any ARM chip that has a built-in bootloader accessible over serial should be easy to incorporate into Arduino IDE.
12  Using Arduino / Microcontrollers / Re: Arduino 1.5: CC430 upload code using TI MSP-FET. Is it possible? how to do it? on: September 24, 2014, 04:27:17 pm
If you have a programming tool (perhaps MSP-FET) that can be called as a command line program then calling it from the Arduino IDE is relatively easy. I had a quick look at some MSP-FET documents but am none the wiser. If you can find such a command line tool, then I can advise how to add to the Arduino IDE.

Custom bootloaders are great if you buy the pre-programmed boards, but unless you have the source code and a build system setup they are somewhat useless when it comes to rolling your own hardware.

ETA: quick search came up with this - looks like it might work.
13  Using Arduino / Microcontrollers / Re: LPC810 mini ARM Prozessor in 8 pin dip package on: September 24, 2014, 04:17:33 pm
Yay! Finally an LPC810 arrived in the post.

Unfortunately, I have been unable to get to work on Windows. However, lpc21isp works fine, and as that is generally a better solution for Windows, I propose to use lpc21isp instead.

It might be better to use it on Unix too, what do you think?

14  Using Arduino / Project Guidance / Re: Compile code on the arduino on: September 24, 2014, 02:35:10 pm
Is it somehow possible to compile new code on a Arduino Mega? Meaning that there are not cable connected to it, and you're communicating with it via e.g. an ethernet board, is it possible to have a compiler on the Arduino?

Depends on what you mean by "compile code".  If you mean compile Arduino sketches to native AVR, then no, mainly because the Mega has too little memory and CPU for that.

But if you had a sufficiently small language you could compile programs on the Mega, but it would have to be quite a primitive language You would also need a bootloader to write the new code into flash.

A more practical way would be to use an interpreted language, this could be more flexible but slower to execute.

If you want to compile and download sketches remotely, you might be able to do this with a Raspberry Pi or similar. Although in that case you could just skip the Arduino and run scripts on the Pi/Beaglebone etc.

ETA: Some info from the playground
15  Using Arduino / Microcontrollers / Re: LPC810 mini ARM Prozessor in 8 pin dip package on: September 23, 2014, 02:57:39 pm
In the current version of your repo is a problem for the LPC8: it runs only half speed. This is bad because the serial port is not working as expected.
Somewhere in the initialization must be an error.
In my repo it is running with the desired speed:

It looks like SystemInit was not being called! Due to missing compiler flag. There may be some other flags I missed.
I also added in some changes from your LPC810CodeBase repo, and moved the tone.cpp files to the cores/lpc810, I didn't realise they are standard Arduino functions.

I have pushed the changes to my OpenLasp repo.

In your LPC810CodeBase you have a makefile and an eclipse project, they seem to be slightly different. I was working from the makefile verson, but I think that does not support C++. I suspect that we will need to use cr_startup_lpc8xx instead of gcc_startup_lpc8xx to get C++ initializers called. I'm not sure why there are two different startup files.
Pages: [1] 2 3 ... 16