Show Posts
Pages: [1]
1  Products / Arduino Due / Re: [Q]: Tailoring the Due to Eclipse.. on: January 08, 2013, 05:35:33 am
Hi Nassa!

Bossac doesn't work?! It happened to me, too. Are you using a USB 3 port? This could be the problem.
To fix it, just program the Arduino by using a USB 2 port or, if you don't have it, through a USB 2.0 Hub!
2  Products / Arduino Due / Re: ChibiOS/RT RTOS for Due on: January 05, 2013, 01:56:46 pm
Hi fat16, thank you very much for this great tool!
I've tried both freeRTOS and ChibiOS and they worked out of the box on the DUE with your libraries (of course, after having applied the patch).

In the examples you provided, there is no chBlinkPrint for ARM, so I've edited the chBlinkPrint for AVR, changed the #include command, removed the F() in the println commands (by the way, what was it for?).
I was impressed to observe that the ChibiOS version has a smaller footprint and that it runs faster (at least, comparing the numbers provided in the two BlinkPrint examples).

In your opinion, since you tried both the RTOSes, which one is the best? I know it's not easy to give an absolute answer. And probably there's no absolute answer. However, in terms of responsiveness and easiness of learning/use, which one do you suggest?
3  Products / Arduino Due / Re: [Q]: Tailoring the Due to Eclipse.. on: January 05, 2013, 01:14:21 pm
Oh, and by the way, I forgot to mention the most important thing:
for the main.cpp you posted, I was expecting something like a blinking LED on pin13.

However, after uploading the heavy hex, no blinking LED is present! Any idea?!?
4  Using Arduino / Installation & Troubleshooting / Re: The Linux ttyACM0 drama - more details after a lot of experimenting on: January 05, 2013, 12:23:49 pm
Yeah! Moving from USB3 to USB2 fixed the problem to me, too!
Thanks for pointing it out!
5  Products / Arduino Due / Re: [Q]: Tailoring the Due to Eclipse.. on: January 05, 2013, 11:50:02 am
Hi Nassa ,

thank you very much for this guide. Maybe, you should create a specific page in a "tutorial" form, in order to be easier to read and follow.
However, I've tried it on my Ubuntu machine and I've encountered some problem:

- I had to install TM-trminal as explained in this guide (via "Install new software" feature) because I couldn't locate the proper "dropin" folder
- in #5 and #7, I think you mean "Same setting for “ARM Sourcery Windows GCC C++ Compiler/Preprocessor” and “ARM Sourcery Windows GCC C++ Compiler/Directories”" (just a typo probably)
- in #8 I had to modify the working directory in ${project_loc}/Release/ and set the bossac parameter parameter as “--port=ttyACM0 -U false -e -w -v -b ${project_name}.hex -R”. In particular, pay attention to the ${project_loc} variable, as opposed to ${project_path} which is just relative and didn't work for me
- the hex file is quite large: ~150kB for your "blinking" main.c example, whereas the ArduinoIDE's blink example is just ~10kB when compiled.

The last problem is particularly annoying. Can you give me some more insight?
Thank you very much for your effort!!
Pages: [1]