Hi,
It's been a while since I've been able to work on any of this and am having some issues getting the 18.2.x stable branch to run on an Uno.
If I revert to stable_16.2.x I can run the demos and everything seems fine, but when I checkout stable_18.2.x, the board seems to program but the led doesn't blink.
Thanks,
Mike
18.2 on an Arduino Uno Topic is solved
-
- Posts: 28
- Joined: Tue Mar 10, 2015 4:49 pm
- Been thanked: 1 time
-
- Posts: 28
- Joined: Tue Mar 10, 2015 4:49 pm
- Been thanked: 1 time
- tfAteba
- Posts: 547
- Joined: Fri Oct 16, 2015 11:03 pm
- Location: Strasbourg, France
- Has thanked: 91 times
- Been thanked: 48 times
Re: 18.2 on an Arduino Uno
Ok Mike,
You can help for the moment just by telling me wich program your are running:
- The RT demo or the NIL demo for the Arduino Uno?
- Did you try to see if the serial message is print on the computer side?
Thanks
You can help for the moment just by telling me wich program your are running:
- The RT demo or the NIL demo for the Arduino Uno?
- Did you try to see if the serial message is print on the computer side?
Thanks
regards,
Theo.
Theo.
- tfAteba
- Posts: 547
- Joined: Fri Oct 16, 2015 11:03 pm
- Location: Strasbourg, France
- Has thanked: 91 times
- Been thanked: 48 times
Re: 18.2 on an Arduino Uno
Hi Mike,
Test made and for me, all is working fine, the LED is blinking and the message is printed to the serial port.
So to help you give me all information that you can, is your hardware fine ?
You can run a quick test whit the arduino IDE for example to see that the led blink fine and retry the chibios demo.
The test was made with Chibios_18_2_1 download from source forge.
Test made and for me, all is working fine, the LED is blinking and the message is printed to the serial port.
So to help you give me all information that you can, is your hardware fine ?
You can run a quick test whit the arduino IDE for example to see that the led blink fine and retry the chibios demo.
The test was made with Chibios_18_2_1 download from source forge.
regards,
Theo.
Theo.
-
- Posts: 28
- Joined: Tue Mar 10, 2015 4:49 pm
- Been thanked: 1 time
Re: 18.2 on an Arduino Uno
I have no reason to believe there's anything wrong with my hardware. I'm using a generic UNO clone and a usbASP clone. They've both worked fine in the past.
I have the same results with both the RT and NIL projects. When I run 'make program' on the stable_16.1.x branch everything works fine, but when I use the stable_17.6.x or stable_18.2.x branches and turn on verification, it ends up giving me some variant of:
The LED is constantly turned on and I don't see anything on the serial port.
I have the same results with both the RT and NIL projects. When I run 'make program' on the stable_16.1.x branch everything works fine, but when I use the stable_17.6.x or stable_18.2.x branches and turn on verification, it ends up giving me some variant of:
Code: Select all
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x04 != 0x44
avrdude: verification error; content mismatch
The LED is constantly turned on and I don't see anything on the serial port.
- tfAteba
- Posts: 547
- Joined: Fri Oct 16, 2015 11:03 pm
- Location: Strasbourg, France
- Has thanked: 91 times
- Been thanked: 48 times
Re: 18.2 on an Arduino Uno
Hello Mike,
Your result shows that the MCU is not correctly programmed.
So in your place, I will comapre the programming process that worked fine and the one that don't.
Comapare the command line used to program the MCU and try to see if there is a difference.
I will also try in my side to see if I can find any reason to your problem.
Thanks
Your result shows that the MCU is not correctly programmed.
So in your place, I will comapre the programming process that worked fine and the one that don't.
Comapare the command line used to program the MCU and try to see if there is a difference.
I will also try in my side to see if I can find any reason to your problem.
Thanks
regards,
Theo.
Theo.
-
- Posts: 28
- Joined: Tue Mar 10, 2015 4:49 pm
- Been thanked: 1 time
Re: 18.2 on an Arduino Uno Topic is solved
Yeah, I saw the verification fail when I was about halfway through that last post.
It looks like the '-D' flag was added to the default avrdude command generated by the Makefile. So the flash was never being erased when I reprogrammed it. If I take that out everything works fine.
Thanks for the help.
It looks like the '-D' flag was added to the default avrdude command generated by the Makefile. So the flash was never being erased when I reprogrammed it. If I take that out everything works fine.
Thanks for the help.
- tfAteba
- Posts: 547
- Joined: Fri Oct 16, 2015 11:03 pm
- Location: Strasbourg, France
- Has thanked: 91 times
- Been thanked: 48 times
Re: 18.2 on an Arduino Uno
Hello Mike,
I have added this flag "-D" to program the board that I have when I rewrite the makefile to support some features.
You are the first one who complies about it, so thank you for your report. For the moment I will leave the makefile like this and see if there is others people having the same trouble.
Thanks
I have added this flag "-D" to program the board that I have when I rewrite the makefile to support some features.
You are the first one who complies about it, so thank you for your report. For the moment I will leave the makefile like this and see if there is others people having the same trouble.
Thanks
regards,
Theo.
Theo.
Who is online
Users browsing this forum: No registered users and 12 guests