We have been informed there is a very simply way to upgrade your FTDI module firmware.
This process is currently undocumented in the FTDI manual. All you do is save a particular file onto your USB drive and insert it into the module! There is no need to open the module or change any jumper settings.
Step by Step:
1) Contact FTDI technical support (support2 AT ftdichip DOT com)
2) Politely request this file by email:
for VDRIVE2 - ftrfb_main_3_55VDPAB.ftd
for VMUSIC2 - ftrfb_main_3_55VMSC1B.ftd
Note these files are not the same as the ROM files on the FTDI website.
3) Rename the appropriate file to ftrfb.ftd and copy onto your thumb drive. The filename must be exactly as shown.
4) Optional - download the program below into the 28X1. This allows you to see the firmware upgrade procedure messages via SERTXD commands as they occur.
5) Power up the system/FTDI module
6) Insert the thumbdrive. The update is then automatically stated when the module finds the ftrfb.ftd file.
7) After update is over, remember to delete the ftrfb.ftd file from your thumb drive
This process will allow any user with one of the modules to easily upgrade without having to build any additional hardware.
Edited by - Technical on 19/07/2007 13:09:34
This process is currently undocumented in the FTDI manual. All you do is save a particular file onto your USB drive and insert it into the module! There is no need to open the module or change any jumper settings.
Step by Step:
1) Contact FTDI technical support (support2 AT ftdichip DOT com)
2) Politely request this file by email:
for VDRIVE2 - ftrfb_main_3_55VDPAB.ftd
for VMUSIC2 - ftrfb_main_3_55VMSC1B.ftd
Note these files are not the same as the ROM files on the FTDI website.
3) Rename the appropriate file to ftrfb.ftd and copy onto your thumb drive. The filename must be exactly as shown.
4) Optional - download the program below into the 28X1. This allows you to see the firmware upgrade procedure messages via SERTXD commands as they occur.
5) Power up the system/FTDI module
6) Insert the thumbdrive. The update is then automatically stated when the module finds the ftrfb.ftd file.
7) After update is over, remember to delete the ftrfb.ftd file from your thumb drive
This process will allow any user with one of the modules to easily upgrade without having to build any additional hardware.
Code:
; VMUSIC2 PICAXE-28X1
; 1 Black GND - 0V
; 2 Brown RTS - not used
; 3 Red V+ - V+
; 4 Orange RXD - HTXD input6 C6
; 5 Yellow TXD - HRXD input7 C7
; 6 Green CTS - 0V
; 7
; 8 Blue RI - not connected
; Note RXD on VMUSIC2 connects to TXD on PICAXE etc.
symbol first_byte = b0
symbol point = b1
symbol temp = b2
symbol loopcounter = b3
; set picaxe type
#picaxe 28x1
; set COM port used for download
;#com 4
; open terminal after download
; This is to view the 'sertxd' debugging comments
#terminal 4800
setup:
; setup serial hardware
; at 9600 with background receive
hsersetup b9600_4,%01
low 0 ; ensure CTS is low
pause 1000
init:
; Send Es until the unit responds correctly
sertxd ("<Sent> E",CR,LF)
hserout 0,("E",CR)
gosub get_response
if first_byte <> "E" then init
main:
; check to see if a drive is actually inserted
; response will start D for yes and N for no
sertxd ("<Sent> Check Drive",CR,LF)
hserout 0,(CR)
gosub get_response
if first_byte <> "D" then main
goto main
; Sub procedure to receive background bytes
get_response:
pause 1000 ; wait a while
sertxd ("<Response>")
point = 0 ; reset local pointer
get point,first_byte ; Save the first reply byte
do
get point,temp ; get returned byte
sertxd (temp) ; transmit it
inc point ; increment pointer
loop while temp <> CR ; if not CR loop
sertxd (LF) ; Add a LF to the received CR
sertxd (CR,LF) ; Do another blank line
hserptr = 0 ; reset the background receive pointer
return
Last edited by a moderator: