-------------------------------------------------------------------------------
-----------H----H--X----X-----CCCCC-----22222----0000-----0000-----11----------
----------H----H----X-X-----C--------------2---0----0---0----0---1-1-----------
---------HHHHHH-----X------C----------22222---0----0---0----0-----1------------
--------H----H----X--X----C----------2-------0----0---0----0-----1-------------
-------H----H---X-----X---CCCCC-----22222----0000-----0000----11111------------
-------------------------------------------------------------------------------
-- Contact: hxc2001<at>hxc2001.com ---------------------- http://hxc2001.com --
-------------------------------------------------------------------------------
HxC Floppy Emulator project
(c) 2006-2017 Jean-François DEL NERO / (c) HxC2001
-------------------------------------------------------------------------------

STM32 Based hardware bootloader Downloader and Flasher.

This software allows you to download and program the STM32 HxC bootloader into
a STM32 based floppy emulator hardware. (For example these "Gotek" or the next STM32 HxC Floppy emulator units).

Note : This Flash procedure should be needed only once per device since the STM32 HxC bootloader
       will allows you to update the device with a simple USB stick.


To use it you need :
--------------------

-> A STM32 based floppy emulator hardware to flash.

-> A PC under Windows connected to Internet.

-> Any 3.3V serial connection to connect the Floppy Emulator hardware to the PC.

-> Your account information.
   You can purchase the firmware and get the account on this page :
   http://hxc2001.com/store/


To Flash the device :
---------------------

-> Set the BOOT0 signal to the VCC3V3 on the device. (Add a connection between "J3" and the VCC3V3 pin. See below).

-> Connect your serial adapter to the device and to the PC. (GND,RX,TX,+5V)
   Note 1: To power the device, you can use a external +5V source or the +5V coming from your USB adapter.
   Note 2: Cross connect your serial adapter to the device : TX wire to the RX pin, RX wire to the TX pin.

-> Start the SecSerialBridge software and select the COM port of your serial adapter. Click on the button "Open"

-> Enter the server and your contacts data. Click on the button "Connect".
   If the connection to the server succeed you will get the "Link is UP !" status.

-> Some seconds later you should get the "Device detected." status.
   Note : If you don't get it, try to reset the STM32 by making a short connection of the reset signal (RST) to GND.

-> Once the device is detected, you can press the "Program" button.
   The download and programming process finish with a "Done !" Status. The whole process take some minutes.

Once done, remove all the connections previously done on the programming pins.

The device should now display "Ldr" at power up and wait for a USB flash drive with a UPD file to use.
You can download these files on the HxC website.


-------------------------------------
|       Programming connector       |
-------------------------------------

The Programming connector is near the power input connector. (SFRC922,SFRC526,...)

 ----------------------------
 |
-+--- NC
-+--- GND      O J3 (BOOT0)
-+--- GND      O VCC3V3
-+--- +5V     OO TX
 |        +5V OO RX
 |        GND OO RST
 |--
 |  |
 |  |




04/28/2015

(c) 2006-2017 Jean-François DEL NERO / (c) HxC2001
