Hello to all!
I read a bit about Arduino Uno on this furum section.
But I can't know if this board with the 328p microcontroler is realy supported by ChibiOS.
There is no the board folder on ChibiOS_3.0.2/os/hal/boards/ such as Arduino Mega for example.
If this board is not supported, is there a particular reason? I want to use ChibiOS on this board for a small self-balancing robot
Thanks in advance for your kind responses.
Theo.
Is Aduino Uno is supported? Topic is solved
Re: Is Aduino Uno is supported?
It is supported. Kinda.
Not all the IP blocks are, though. For example I'm trying to merge a patch to enable GPIO interrupts. PWM is also in need of a refresh.
So ymmv depending on which specific functionality you need to use.
Not all the IP blocks are, though. For example I'm trying to merge a patch to enable GPIO interrupts. PWM is also in need of a refresh.
So ymmv depending on which specific functionality you need to use.
- tfAteba
- Posts: 547
- Joined: Fri Oct 16, 2015 11:03 pm
- Location: Strasbourg, France
- Has thanked: 91 times
- Been thanked: 48 times
Re: Is Aduino Uno is supported?
Hi Igor,
I need to use pwm, interruption, i2c and uart.
Are you using the NIL or the RT with arduino uno?
Do I need to patch the Aduino mega folder to use the arduino uno? Because there is not the arduino folder, so for me it is not supported.
I need to use pwm, interruption, i2c and uart.
Are you using the NIL or the RT with arduino uno?
Do I need to patch the Aduino mega folder to use the arduino uno? Because there is not the arduino folder, so for me it is not supported.
- tfAteba
- Posts: 547
- Joined: Fri Oct 16, 2015 11:03 pm
- Location: Strasbourg, France
- Has thanked: 91 times
- Been thanked: 48 times
Re: Is Aduino Uno is supported?
Hi,
During my test, i saw that, the readme file under the RT-ARDUINOUNO folder is written for the atmega1280.
In the main.c file, line 20, the old function to declare the working area is used.
I wonder if it would be better to use the new function instead?
So I join a small patch to improve this remarks if necessary.
Theo.
During my test, i saw that, the readme file under the RT-ARDUINOUNO folder is written for the atmega1280.
In the main.c file, line 20, the old function to declare the working area is used.
I wonder if it would be better to use the new function instead?
So I join a small patch to improve this remarks if necessary.
Theo.
- Attachments
-
- ArduinoUno.patch.zip
- (718 Bytes) Downloaded 217 times
Re: Is Aduino Uno is supported?
I found out the same issue for the testhal programs.
I created https://sourceforge.net/p/chibios/bugs/666/
No, I didn't do it just for the bug number, I noticed it only later
I also proposed a patch to make the tests ATMega2560 only. If they actually can work also on ATMega328, then the readmes need fixing as well.
I created https://sourceforge.net/p/chibios/bugs/666/
No, I didn't do it just for the bug number, I noticed it only later
I also proposed a patch to make the tests ATMega2560 only. If they actually can work also on ATMega328, then the readmes need fixing as well.
Re: Is Aduino Uno is supported?
@Theodore: in case you need interrupts support for EXT/PC,
I have a pending Pr here https://github.com/ChibiOS/ChibiOS/pull/16
I have a pending Pr here https://github.com/ChibiOS/ChibiOS/pull/16
- tfAteba
- Posts: 547
- Joined: Fri Oct 16, 2015 11:03 pm
- Location: Strasbourg, France
- Has thanked: 91 times
- Been thanked: 48 times
Re: Is Aduino Uno is supported?
Hi Igor,
Thanks, it will be very helpful later for me, but for now, i'm dealing with the pprogramming process of the board.
I'm trying to understand how to remove the bootloader before flashing the board.
After that, I willl make a test .
Theo
Thanks, it will be very helpful later for me, but for now, i'm dealing with the pprogramming process of the board.
I'm trying to understand how to remove the bootloader before flashing the board.
After that, I willl make a test .
Theo
-
- Posts: 359
- Joined: Sat Jan 07, 2012 6:22 pm
- Location: Brazil
- Has thanked: 1 time
- Been thanked: 20 times
- Contact:
Re: Is Aduino Uno is supported?
Theodore ATEBA wrote:I'm trying to understand how to remove the bootloader before flashing the board.
You don't need to remove the bootloader. You either program the image directly to flash using an external programmer which will overwrite the bootloader, or write using the Arduino USB port (via bootloader) which can be used on any standard Arduino without modifying the firmware. You only need to configure the correct parameters for avrdude on the Makefile. To write using the bootloader you would need to run like this:
Code: Select all
avrdude -p atmega328p -P <your-com-port> -b 57600 -c arduino -U flash:w:ch.hex
Cheers,
Fabio Utzig
Who is online
Users browsing this forum: No registered users and 18 guests