DragonOSD+ firmware upgrading

Support related stuff, for various products
Post Reply
Daniel Wee
Site Admin
Posts: 2449
Joined: Wed 25 Feb 25 2009 8:00 pm

DragonOSD+ firmware upgrading

Post by Daniel Wee »

The DragonOSD+ has a built-in bootloader that allows firmware upgrades to be performed over a normal TTL-serial connection. In order to do this, you will need a serial -to-TTL converter (usually USB) and hook that up to the OSD board correctly. Additionally, you will need to software to upload the firmware via the bootloader, which also needs to be configured properly. Lastly, you will need the firmware file itself. Note that if you are running this in Windows 7 (and possibly Vista) it may be necessary to run this in Administrator mode if it crashes upon exit in normal mode. Either that of you should install it in a directory other than the Program Files directory.

The uploader software can be downloaded from the following link:-
http://mrmackey.no-ip.org/elektronik/ds ... nloads.php

Get the latest Windows installer (assuming you are using Windows), or the version that suits your operating platform (Linux and Mac also supported). [At the time of this writing, the latest version is 1.3.5 in file ds30_loader_100206.exe] After you have installed it, connect your serial-TTL converter which will show up as a COMx port. Open up the "ds30 Loader GUI", change the "View" to "Advanced Mode", and configure it as follows (using the appropriate COMx port and leaving out the Hex-file entry for the moment):-
ds30Image2.jpg
ds30Image2.jpg (57 KiB) Viewed 40418 times
ds30Image3.jpg
ds30Image3.jpg (56.8 KiB) Viewed 40418 times
ds30Image4.jpg
ds30Image4.jpg (47.77 KiB) Viewed 40418 times
ds30Image5.jpg
ds30Image5.jpg (52.99 KiB) Viewed 40418 times
ds30Image6.jpg
ds30Image6.jpg (46.4 KiB) Viewed 40418 times
ds30Image7.jpg
ds30Image7.jpg (43.06 KiB) Viewed 40418 times
The firmware file is attached. Download that to a directory of your choice and on the Basic tab, point to that firmware file in the "Hex-file" selector.

Note: The baudrates on the RESET and TERMINAL tabs should be 115200 instead of 38400 from version 7.5BETA14 onwards.

Now, you normally want to click on the "Download" button on the top of the dialog window, and then power up the OSD for the upgrade to work. So make sure everything is connected. Click "Download", then power up OSD board. The green progress bar at the top right of the window should indicate how far the upgrade has proceeded. Having said that, if the system is configured and working properly, you should be able to click "Download" anytime after the OSD has booted up properly.

Bear in mind that only one application can make use of a COM port at any one time. So if you have a terminal program open to the COM port in question, the firmware uploader will be unable to use that same port and thus uploading will fail. As such, it is best to close all other terminal programs before firing up the uploader utility.

Daniel

note: For information about suitable serial-TTL converters, see viewtopic.php?f=7&t=63&p=699#p699 under the "Serial Port" post
Attachments
bootloaderV2.zip
Bootloader for DOSD+ V2 boards. Do not use for V1 boards.
(1.23 KiB) Downloaded 2268 times
bootloader.zip
(1.23 KiB) Downloaded 1989 times
DOSD34.zip
(85.44 KiB) Downloaded 2098 times
Daniel Wee
Site Admin
Posts: 2449
Joined: Wed 25 Feb 25 2009 8:00 pm

Re: DragonOSD+ firmware upgrading

Post by Daniel Wee »

1. Some cosmetic changes to get the screen elements right for NTSC
2. Also fixed a font bug in screen style 2

Daniel
Attachments
DOSD36.zip
(85.74 KiB) Downloaded 1971 times
Daniel Wee
Site Admin
Posts: 2449
Joined: Wed 25 Feb 25 2009 8:00 pm

Re: DragonOSD+ firmware upgrading

Post by Daniel Wee »

1. Fixed the current sensor issue (actually just default initialization values)
2. Lowered I2C bus clock rate to 400kHz from 1MHz
3. For those updating to this version, be sure to check that CURROFFSET is set to 0.0 for the SFE current sensor
4. For the SFE current sensor, IMULT should be around 32.5 which would be in the ballpark

Daniel
Attachments
DOSD37.zip
(85.98 KiB) Downloaded 1940 times
John Lee
Posts: 105
Joined: Thu 26 Feb 26 2009 12:24 pm

Re: DragonOSD+ firmware upgrading

Post by John Lee »

Here is the USB to TTL converter that is needed to download the firmware to OSD.
http://cgi.ebay.com.sg/USB-To-TTL-COM-C ... 2ea85fb450
Drivers for this USB to TTL converter found here: http://www.silabs.com/products/mcu/page ... ivers.aspx
Attachments
GND  RX  TX
GND RX TX
P1020745.JPG (60.52 KiB) Viewed 39983 times
Check the position of how it is wired. TX-RX-GND
Check the position of how it is wired. TX-RX-GND
P1020746.JPG (67.21 KiB) Viewed 39983 times
connect to Dragon OSD+<br />DON'T FORGET TO POWER THE OSD BEFORE PROGRAMMING!
connect to Dragon OSD+
DON'T FORGET TO POWER THE OSD BEFORE PROGRAMMING!
P1020747.JPG (64.89 KiB) Viewed 39983 times
!B,PRoqgCGk~$(KGrHgoH-CIEjlLl0nU1BKqnKJJL1Q~~_35.jpg
!B,PRoqgCGk~$(KGrHgoH-CIEjlLl0nU1BKqnKJJL1Q~~_35.jpg (13.24 KiB) Viewed 40371 times
Daniel Wee
Site Admin
Posts: 2449
Joined: Wed 25 Feb 25 2009 8:00 pm

Re: DragonOSD+ firmware upgrading

Post by Daniel Wee »

Version 3.8

Reversed the horizon rendering to match actual horizon

Daniel
Attachments
DOSD38.zip
(85.99 KiB) Downloaded 2011 times
Daniel Wee
Site Admin
Posts: 2449
Joined: Wed 25 Feb 25 2009 8:00 pm

Re: DragonOSD+ firmware upgrading

Post by Daniel Wee »

Version 3.9

1. Serial terminal input had wrong parameter checking that prevented channel-1 from being assigned, and allowed channel-13 to be assigned. This has now been correct to 1 to 12 boundaries inclusive.
2. Added "NONE" option to radiomode setting

Daniel
Attachments
DOSD39.zip
(85.93 KiB) Downloaded 1965 times
Daniel Wee
Site Admin
Posts: 2449
Joined: Wed 25 Feb 25 2009 8:00 pm

Re: DragonOSD+ firmware upgrading

Post by Daniel Wee »

Version 4.0

1. Safezones were not being saved - fixed
2. Metric/Imperial setting was not being saved - fixed
3. Fixed an issue with changed data-structures when updating firmwares
4. Changed radio detect so that channels are not re-assigned except for when auto-detected

If you have previously saved settings to the EEPROM, you may need to reset the settings to default values using the reset function in the main menu AFTER updating. Normally though, this won't be required but the previous settings will automatically be lost. This is because the internal data-structure has been modified.

Known issue: GSV message not being sent in newer LS20033. This has no major impact in performance but will mean that the satellite view will not be displayed correctly. In the process of resolving this issue.

Daniel
Attachments
DOSD40.zip
(85.99 KiB) Downloaded 1953 times
Daniel Wee
Site Admin
Posts: 2449
Joined: Wed 25 Feb 25 2009 8:00 pm

Re: DragonOSD+ firmware upgrading

Post by Daniel Wee »

Version 4.1

1. Added support for the SCP1000 barometric sensor (untested - part out of stock)
2. Added option to calibrate the various voltages

http://store.diydrones.com/product_p/br ... d11-01.htm

Daniel
Attachments
DOSD41.zip
(86.75 KiB) Downloaded 1999 times
Daniel Wee
Site Admin
Posts: 2449
Joined: Wed 25 Feb 25 2009 8:00 pm

Re: DragonOSD+ firmware upgrading

Post by Daniel Wee »

Version 4.2

1. Tweaked the NTSC screen layout a bit more for better centering
2. Added the option to calibrate the internal V3 multiplier for the current sensor as well

Daniel
Attachments
DOSD42.zip
(86.27 KiB) Downloaded 1986 times
Daniel Wee
Site Admin
Posts: 2449
Joined: Wed 25 Feb 25 2009 8:00 pm

Re: DragonOSD+ firmware upgrading

Post by Daniel Wee »

Version 4.3

1. Minor code change to automatically clear the screen and re-draw if video mode changes mid-stream
2. Separate left edge control for PAL and NTSC now so it looks better in NTSC

Daniel
Attachments
DOSD43.zip
(86.35 KiB) Downloaded 2010 times
Post Reply