| View previous topic :: View next topic |
| Author |
Message |
wdautrem
Joined: 26 Sep 2009 Posts: 1
|
Posted: Sat Sep 26, 2009 4:53 am Post subject: Load application with out using I2C |
|
|
Please forgive if this is a dumb question, but is it possible to simply flash the whole application to the controller board? I plan on controlling the servo via I2C, but don't have an USB->I2C adapter handy, and don't see why it would not be possible to just flash the whole firmware to begin with.
Thanks,
-WDv |
|
| Back to top |
|
 |
ginge Site Admin
Joined: 14 Jan 2006 Posts: 1029 Location: Manchester, UK
|
Posted: Sun Sep 27, 2009 12:36 am Post subject: |
|
|
Yes, that should not be a problem. If you wan tto you can flash only the main aplication portion to the OpenServo.
If you want to get fancy, and get the offsets right, you can flash the whole app + bootloader at once. You will need to get the bootloader hex file, and replace the first chunk with the main OS code. _________________ http://www.headfuzz.co.uk/
http://www.robotfuzz.co.uk/ |
|
| Back to top |
|
 |
MosaicDave
Joined: 20 Jul 2010 Posts: 18 Location: Pennsylvania, USA
|
Posted: Wed Aug 25, 2010 4:40 pm Post subject: |
|
|
Well, I'm happy to find this topic here, as I'm about to try this later today, and have been wondering if it is going to work.
If I just build the stock OSV3 main application from within {AVRStudio + WinAVR}, using the AVRStudio project file that I find in CVS along with all the source code files, and then flash it to a virgin ATmega168, will it work correctly just like that? Or do I need to do something else special to get the reset interrupt vector and whatever else pointing to the correct entry point?
I'm planning on doing the flashing with my AVRISPmk2, which I already have here. As I don't need the bootloader here, I'd prefer to just work without it.
Well, I just thought I'd ask here, to see if anyone's aware of any snags that I'm about to run into, in this particular workflow.
Thanks much--
--dave _________________ http://www.mosaicengineering.com/ |
|
| Back to top |
|
 |
ginge Site Admin
Joined: 14 Jan 2006 Posts: 1029 Location: Manchester, UK
|
|
| Back to top |
|
 |
MosaicDave
Joined: 20 Jul 2010 Posts: 18 Location: Pennsylvania, USA
|
|
| Back to top |
|
 |
|