The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 795 errorHandler->error




English  -  Español

Forum


Forums have been closed.
We have not deleted them for historical reasons.

New comments will be in selected pages of Chronojump website.




 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Record Chronopic Firmware

04-15-2009, 09:12 PM (This post was last modified: 12-06-2010 10:32 AM by xavi.)
Post: #1
Brick Record Chronopic Firmware

  1. Software and files
  2. Bootloader
  3. Firmware
  4. Recording Firmware on Linux
  5. Recording Firmware on Windows
  6. Checking


1.- SOFTWARE AND FILES

The Bootloader, Firmware and needed software is here:
http://git.gnome.org/cgit/chronojump/tre...c-firmware

2.- BOOTLOADER

If you are creating Chronopics you need to first record the bootloader, ask to the firm that is creating them that they should record chronopic_bootloader.hex using the configuration word 3F39.

If you bought a Chronopic but you want to change firmware, then do'nt worry about Bootloader, it's recorded and you don't need to touch it.

3.- FIRMWARE

Currently there are two firmwares:
  • chronopic_firmware.hex (original with 50 ms of minimal detecting time)
  • chronopic_firmware_10ms_unvalidated.hex (new, untested yet with 10 ms of minimal detecting time)


4.- RECORDING FIRMWARE ON LINUX

Update (12-6-2010): Since Chronojump version 0.9.2, there's an application included called Chronopic-firmwarecord that allows to record firmware easily. it contains help.


Old instructions:
Use the software PIC_downloader_1.2. This is a modified version of Skypic board PIC_downloader with a clock suitable for Chronopic

  1. Connect Chronopic to PC
  2. Uncompress PIC_downloader_1.2_chronopic.tgz
  3. Go to newly created directory
  4. Do:

    ./PIC_downloader chronopic_firmware.hex -P/dev/ttyUSB1

    (Change /dev/ttyUSB1 for the used USB-serial port, maybe /dev/ttyUSB0)

    You will see this:
    Code:
    $ ./PIC_downloader chronopic_firmware.hex -P/dev/ttyUSB1
    PIC_downloader 1.2. Descarga de programas en la tarjeta Skypic
    Licencia GPL

    Fichero: chronopic_firmware.hex
    Puerto serie: /dev/ttyUSB1

    Esperando conexion: .........
  5. Now the software is waiting to connect with the Bootloader on the Chronopic. Push RESET button on Chronopic and this will appear:
    Code:
    Esperando conexion: ...................................... - OK
    Writing:  - OK
    Activating program... - OK


The duration is the process is 1 second approx. If at first time you don't succeed, just do it again.

If you want to do more tests, you can load a different firmware:
$ ./PIC_downloader ledp.hex -P/dev/ttyUSB1
This makes blink D1 led.


5.- RECORDING FIRMWARE ON WINDOWS

Update (12-6-2010): Since Chronojump version 0.9.2, there's an application included called Chronopic-firmwarecord that allows to record firmware easily. it contains help.


Old instructions:
Use PIC_downloader_1.08_Windows.zip
  1. Execute PIC_downloader.exe
  2. Select the hex file you want, eg. chronopic_firmware.hex
  3. Select the port to use (COM1, COM2, etc..)
  4. Select the speed: 19200 (bauds)
  5. Push botton "Write"
  6. click reset on Chronopic


Firmware will record fast


6.- CHECKING

When it's recorded, remove USB cable and connect again. Then leds D1 and D4 will be permanently on. When you push test button D1 status will change.

Thanks to Juan and Juanfer.
Find all posts by this user


Messages In This Thread
Record Chronopic Firmware - xavi - 04-15-2009 09:12 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

CHRONOJUMP-BOSCOSYSTEM - free software - open hardware - reliable - affordable
^ Back to Top