Author Topic: Fremont Micro Devices - microcontroller programming  (Read 73888 times)

0 Members and 5 Guests are viewing this topic.

Offline abrasive

  • Newbie
  • Posts: 1
  • Country: au
Re: Fremont Micro Devices - microcontroller programming
« Reply #125 on: January 15, 2026, 04:53:46 am »
DIMM-bl4, would you be so kind as to share the other start sequences? Or I'd be happy to test DCProgrammer - I just have a micro on the bench already wired up to an Arduino, I just can't seem to get it to talk :)

Thank you!
 

Offline DIMM-bl4

  • Contributor
  • Posts: 19
  • Country: ru
Re: Fremont Micro Devices - microcontroller programming
« Reply #126 on: January 16, 2026, 07:15:13 am »
abrasive, check your PM.

share the other start sequences?
There are special start sequences only for some most recent MCUs:
Code: [Select]
  //NEW 16
  78:     //FT62F03x
    begin
      DCProg.Programmer.HWDelayMs(3,200);   //FineDelay(3);
      DCProg.Programmer.PICWriteRead(16,0,0,$5CA3,Data);
      DCProg.Programmer.PICWriteRead(16,0,0,$5CA3,Data);
      DCProg.Programmer.HWDelayMs(80);
    end;
  //NEW 22
  91,94:  // FT6xFDCx
    begin
      DCProg.Programmer.HWDelayMs(3,200);                  //Delay_R0_us_sub_8019BB4((3200 - v0));
      DCProg.Programmer.PICWriteRead(16,0,0,$1CA3,Data);   //Transmit_16b_R0_sub_8009178(0x1CA3);
      DCProg.Programmer.PICWriteRead(8,0,0,$51,Data);      //SEND_dataR0_bitsR1_sub_800FB90(0x51, 8u);
      DCProg.Programmer.PICWriteRead(6,0,0,$E,Data);       //SEND_dataR0_bitsR1_sub_800FB90(0xE, 6u);
      DCProg.Programmer.HWDelayMs(3,200);                  //Delay_R0_us_sub_8019BB4(3200);
      DCProg.Programmer.PICWriteRead(16,0,0,$1CA3,Data);   //Transmit_16b_R0_sub_8009178(0x1CA3);
      DCProg.Programmer.PICWriteRead(8,0,0,$51,Data);      //SEND_dataR0_bitsR1_sub_800FB90(0x51, 8u);
      DCProg.Programmer.PICWriteRead(6,0,0,$E,Data);       //SEND_dataR0_bitsR1_sub_800FB90(0xE, 6u);
      DCProg.Programmer.HWDelayMs(10);                     //Delay_OneMore_R0x1ms_sub_8019B2C(10);
      FMD_op_write($A,$20);                                //SEND_AR0_and100us_sub_80103A0(0x20);
      DCProg.Programmer.HWDelayMs(70);                     //Delay_OneMore_R0x1ms_sub_8019B2C(70);
    end;
  //NEW 24
  92,105:  // FT6xFC1x
    begin
      // ?5us? Delay_R0_us_sub_8019BB4(5);
      DCProg.Programmer.PICWriteRead(16,0,0,$0008,Data);   //Transmit_16b_R0_sub_8009178(8);
      DCProg.Programmer.PICWriteRead(16,0,0,$5CA3,Data);   //Transmit_16b_R0_sub_8009178(0x5CA3);
      DCProg.Programmer.PICWriteRead(16,0,0,$5CA3,Data);   //Transmit_16b_R0_sub_8009178(0x5CA3);
      DCProg.Programmer.HWDelayMs(80);                     //Delay_OneMore_R0x1ms_sub_8019B2C(80);
    end;

For all others (except F-18 series) must be suitable 'classic' 0x1CA3 x2 sequence:
Code: [Select]
    begin
      DCProg.Programmer.HWDelayMs(3,200);   //FineDelay(3);
      DCProg.Programmer.PICWriteRead(16,0,0,$1CA3,Data);
      DCProg.Programmer.HWDelayMs(3,200);   //Finedelay(3);
      DCProg.Programmer.PICWriteRead(16,0,0,$1CA3,Data);
      DCProg.Programmer.HWDelayMs(10);   //Finedelay(10);
      FMD_op_write($A,$20);
      DCProg.Programmer.HWDelayMs(70);   //Finedelay(70);
    end; 

x2 sequence (any) used for MCUs, which have 2 pairs of ISP.
ISP0 answer even to first sequence, but ISP1 need x2.
 

Offline xbmbmx

  • Newbie
  • Posts: 1
  • Country: be
Re: Fremont Micro Devices - microcontroller programming
« Reply #127 on: January 18, 2026, 02:10:23 pm »
DCProgrammer 0.9.5.3

With this hadwer  fx2lp 
DCProgrammer needs different driver.
libusb0 must be installed for both: 'FX2LP No EEPROM Device' and 'FX2LP DCProg Interface' (after FW load)
FW and Zadig are included.

Your screenshot shows an old version. And it's off-topic in this thread.

Hello, is DCProgrammer available? I have been looking into reprogramming one of my Flashlights and it seems there is a good chance I may need software that can help me interface with FMD chips. Where can I get the software?

Thank you!
 

Offline Arti

  • Newbie
  • Posts: 1
  • Country: by
Re: Fremont Micro Devices - microcontroller programming
« Reply #128 on: June 04, 2026, 09:01:46 pm »
Update is finished, F-18 Series support and other improvements:
Code: [Select]
v 0.9.7.2
- [FMD]: fixed bug in UCFG area read for FT61F08x/FT62F08x
- [FMD]: fixed floating MCLRB issue
- [FMD]: changed CLK edge in protocol for all supported HW (MCU sample on rising edge)
- [FMD]: fixed errors for F-18 series MCU (FT62F0Gx tested)
- [FMD]: add parse of FMD IDE hex-file, check MCU type, calculate HW CS (MCSUMEB issue)
- [FT232H]: added value ft100us in settings.xml to fine tune time delays (temporary fix)
- [SPI-NAND]: extend ONFi page detection
- [SPI-NAND]: auto check of Internal ECC use, default mode set to active


Hellow. Can you share a link to the latest version of your software(DCProgrammer)?
« Last Edit: June 04, 2026, 09:21:43 pm by Arti »
 

Offline DIMM-bl4

  • Contributor
  • Posts: 19
  • Country: ru
Re: Fremont Micro Devices - microcontroller programming
« Reply #129 on: June 04, 2026, 09:51:45 pm »
Arti, link in PM.
 

Offline rezaa

  • Newbie
  • Posts: 1
  • Country: it
Re: Fremont Micro Devices - microcontroller programming
« Reply #130 on: June 11, 2026, 06:23:25 pm »
Hi, I'm really interested in this project but I can't seem to find the download link for the software. Could you please share it with me? Thanks!
 

Offline iman

  • Newbie
  • Posts: 1
  • Country: us
Re: Fremont Micro Devices - microcontroller programming
« Reply #131 on: July 08, 2026, 11:10:49 am »
Hi
DIMM-bl4, I would like to try the DCProgrammer, if it is possible.

thanks
 

Offline smartboy2002003

  • Newbie
  • Posts: 1
  • Country: in
    • new power
Re: Fremont Micro Devices - microcontroller programming
« Reply #132 on: July 11, 2026, 10:20:39 am »
My dear friend, could you please explain in detail how to program the FT60E010A microcontroller using this?
 

Offline Anikor

  • Newbie
  • Posts: 1
  • Country: md
Re: Fremont Micro Devices - microcontroller programming
« Reply #133 on: July 18, 2026, 10:52:47 am »
Hey DIMM-bl4, I am researching a device based on the FMD FT61E0A5 MCU. I already have an FX2LP 24 MHz logic analyzer and would like to make a read-only backup of the original PROM, EEPROM and UCFG without erasing the MCU. Could you please share DCProgrammer and the FX2LP VDD adapter schematic? Does the current version support FT61E0A5? Spasib!
 

Offline DIMM-bl4

  • Contributor
  • Posts: 19
  • Country: ru
Re: Fremont Micro Devices - microcontroller programming
« Reply #134 on: July 18, 2026, 03:28:40 pm »
Does the current version support FT61E0A5?
Of course, FT61F0Ax was first tested MCU. FT61E0A5 is almost the same.

Could you please share DCProgrammer
Link in PM.

FX2LP VDD adapter schematic?
VDD adapter is the same, just connected to other programmer HW, according connection table (attach)

Also, FX2LP has more powerful IO pins and can deliver up to 20mA directly.
In some cases it may be enough, if board is small (low consumption), and don't have large caps.
 
The following users thanked this post: Anikor

Offline m.a.a1370

  • Newbie
  • Posts: 1
  • Country: ae
Re: Fremont Micro Devices - microcontroller programming
« Reply #135 on: July 25, 2026, 05:14:25 pm »
Hi DIMM-bl4
Could you please share the link to latest version of your DCProgrammer?
i have an unknown FMD MCU (FT61F023-RB maybe) in my broken coffe grinder i want to repair. picture attached.
and would you please help me with connection diagram to the famous CH341 programmer?
what do you mean by "(RxD high = VDD On)" and "even VDD of MCU can be directly feed from RxD pin, if CH341 fed from 5V"? should i read somewhere?  :D i have not read the full thread, but saw the connection table you sent. should i read this thread fully first?
and i have not yet modified my ch341 programmer to 3v3 logic if it is important.
Regards
« Last Edit: July 25, 2026, 05:26:22 pm by m.a.a1370 »
 

Offline DIMM-bl4

  • Contributor
  • Posts: 19
  • Country: ru
Re: Fremont Micro Devices - microcontroller programming
« Reply #136 on: July 25, 2026, 05:57:45 pm »
Hi DIMM-bl4
Could you please share the link to latest version of your DCProgrammer?
Hello. Link in PM.

and would you please help me with connection diagram to the famous CH341 programmer?
Connection:
CH341      FMD
SCK   ->   ISPCLK
MOSI ->   ISPDAT
GND  ->   VSS
RxD  ->   VDD*

* - RxD controls VDD, make simple scheme, or connect directly if you connect single MCU and CH341A feed from 5V (pin 28)
Options -> MCU -> Invert VDD :
Clear - RxD high = VDD ON;
Set - RxD low = VDD ON;

Also, please take a look at folder ..\Connections\ and FMD_VDD.png file.

what do you mean by "(RxD high = VDD On)" and "even VDD of MCU can be directly feed from RxD pin, if CH341 fed from 5V"?
RxD pin used for control VDD On/Off.
Also, it can be used directly to feed MCU, but it is not recommended. It work mostly with standalone MCU, not on board.


and i have not yet modified my ch341 programmer to 3v3 logic if it is important.
Because of that, I recommend to use VDD adapter variant with two transistors (BJT or FET)

are the transistors used a level shifter?
No, it is just switch for VDD feed. FMD have very strict timings to enter prog mode, so VDD must be feed 'in time'.
 
The following users thanked this post: m.a.a1370

Offline elemental

  • Newbie
  • Posts: 1
  • Country: us
Re: Fremont Micro Devices - microcontroller programming
« Reply #137 on: July 26, 2026, 07:10:24 pm »
Hi there DIMM-bl4...

I am doing some flashlight MCU modding, and I am looking to use DCProgrammer for this project. Would I be able to download that?

Thanks
« Last Edit: July 26, 2026, 07:17:08 pm by elemental »
 

Offline osv178

  • Newbie
  • Posts: 1
  • Country: ru
Re: Fremont Micro Devices - microcontroller programming
« Reply #138 on: August 03, 2026, 12:00:23 am »
Hellow,DIMM-bl4!
Could you please share the link to latest version of your DCProgrammer?
 

Offline rameshd

  • Newbie
  • Posts: 5
  • Country: in
Re: Fremont Micro Devices - microcontroller programming
« Reply #139 on: August 03, 2026, 01:38:41 pm »
@DIMM-bl4  Could you please  share the link for your DC Programmer. Also  V_28 means 2.8V? Since you  mentioned that FX2LP can source 20mA, can we simple use the circuit whose input is V_Any?
 

Offline DIMM-bl4

  • Contributor
  • Posts: 19
  • Country: ru
Re: Fremont Micro Devices - microcontroller programming
« Reply #140 on: August 03, 2026, 03:12:50 pm »
osv178, rameshd - link in PM.
V_28 means 2.8V?
No, it means 'only same voltage as 28 pin'. That scheme was made initially for CH341 and pin 28 is VCC/VIO for it.
For FX2LP that 'V_28' is exactly 3.3V.

Since you  mentioned that FX2LP can source 20mA, can we simple use the circuit whose input is V_Any?
Yes, circuit with two transistors (with V_any) is preferred in any case.
My message 'FX2LP can source 20mA' was about direct feeding programmed MCU from IO port of programmer HW, without any adapter.
 
The following users thanked this post: rameshd

Offline mmyldz1

  • Newbie
  • Posts: 1
  • Country: tr
Re: Fremont Micro Devices - microcontroller programming
« Reply #141 on: August 19, 2026, 01:56:14 pm »
@DIMM-bl4  Could you please  share the link for your DC Programmer.
 

Offline janekivi

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: ee
Re: Fremont Micro Devices - microcontroller programming
« Reply #142 on: August 22, 2026, 09:42:52 pm »
I program for friend some learning remote controls for gate sometimes but got
this time not supported ones.
Not the problem to reprogram them for our needs but there is FT60E211 inside.
Again, not the problem to replace them with PIC12F683 for example but I need
to buy them.
So I downloaded FMD programs from chinese links but I have board with CH341A
already here an like to try DIMM-bl4 solution to reprogram those FT60E211-s.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf