stixchicken / arducam-osd

Automatically exported from code.google.com/p/arducam-osd
0 stars 0 forks source link

EEPROM hex exporter #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I made a small patch that allows exporting EEPROM to intel hex file and 
that flashing it with usbasp programmer. It may be helpfull for those who 
doesn't have FTDI cable or have some problems with bootloader.

Original issue reported on code.google.com by muut...@gmail.com on 21 Apr 2013 at 5:34

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Here is manual how to fix firmware missing without bootloader:

1. Download precompiled OSD configurator with this patch.
2. Run configurator and select File -> Reset EEPROM to Hex (writes all default 
OSD  params to file)
3. Configure params and OSD elements how you like.
4. File -> Save EEPROM to Hex (writes configuration params to file)
5. Download OSD flash 
(https://code.google.com/p/arducam-osd/downloads/detail?name=MinimOSD_20.hex&can
=2&q=)
6. Burn flash
7. Burn default params (from step 2)
8. Burn config (from step 4)

I'm using Khazama AVR Programmer (http://khazama.com/project/programmer/)
Just run it, select valid AVR and use Command -> Write FLASH and Command -> 
Write EEPROM

Original comment by muut...@gmail.com on 17 Jul 2013 at 7:30

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I've done this steps without result!!
I've reset the eeprom
load the hex file
but how can I config the elements I like before saving?
besides: loaded flash file, but how I config the flash params?
before burn flash.

please help me!!!1

Original comment by cesarjul...@gmail.com on 22 Aug 2013 at 7:16

GoogleCodeExporter commented 9 years ago
Burning process using this patch is little harder than using original updater:

1. Burning FLASH.
2. Burning EEPROM default values.
3. Burning EEPROM custom values. (OSD element placement etc.)

Steps 1-2 done only once. Step 3 is repeated after changing something in 
configurator.

===

For the step 1 just download MinimOSD_20.hex and burn it using programmer 
command "write FLASH".

For the step 2 run configurator, select "File -> Reset EEPROM to Hex" and save 
to file default.hex. Than burn it with programmer command "write EEPROM".

For the step 3 run configurator, configure OSD elements how you like, select 
"File -> Save EEPROM to Hex" and save to file myconfig.hex. Than burn it with 
programmer command "write EEPROM". It will overwrite some default parameters.

Original comment by muut...@gmail.com on 23 Aug 2013 at 10:08

GoogleCodeExporter commented 9 years ago
thanks by your help!!!
I've done.

Original comment by cesarjul...@gmail.com on 24 Aug 2013 at 1:42