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

0 Members and 7 Guests are viewing this topic.

Offline sebastian13

  • Newbie
  • Posts: 2
  • Country: ar
Re: Fremont Micro Devices - microcontroller programming
« Reply #150 on: October 04, 2026, 04:06:05 am »
Hola DIMM-bl4
¿Podrías compartirme el enlace a la última versión de tu DCProgrammer? quiero programar un FT60E123 y me crucé contigo por internet. si lo puedes compartir para usar el programador ch341a (el programador USB) o no sé si exista la posibilidad de usar un arduino u otro MCU (tengo el esp32 c3 super mini, arduino nano, arduino pro micro y esp32 s3 super mini). desde ya muchas gracias <3
 

Offline DIMM-bl4

  • Contributor
  • Posts: 25
  • Country: ru
Re: Fremont Micro Devices - microcontroller programming
« Reply #151 on: October 04, 2026, 09:51:02 am »
@sebastian13, link in PM.
From your list Arduino Nano is also supported, sketch in '\FW\asprog', connection in '\Connections'
But it is very dependant of USB-UART bridge quality.
Also, Arduino can feed VDD directly in most cases, without adapter (program single MCU without board).
 
The following users thanked this post: sebastian13

Offline sebastian13

  • Newbie
  • Posts: 2
  • Country: ar
Re: Fremont Micro Devices - microcontroller programming
« Reply #152 on: October 05, 2026, 12:00:07 am »
Muchas muchas gracias dim, espero volver a encontrarme acá con vos <3
 

Offline Urilove

  • Newbie
  • Posts: 1
  • Country: tr
Re: Fremont Micro Devices - microcontroller programming
« Reply #153 on: October 14, 2026, 03:29:38 pm »
Hello @DIMM-bl4 could you please send the programmer link. I'm working on the project for the programming the FT60E021 chip. Thanks a lot.
 

Offline moja

  • Newbie
  • Posts: 1
  • Country: ir
Re: Fremont Micro Devices - microcontroller programming
« Reply #154 on: October 30, 2026, 06:34:26 pm »
Hello, please send me the link for the DC Programmer software. Many thanks.
 

Offline Eternal_Witness

  • Newbie
  • Posts: 1
  • Country: au
Re: Fremont Micro Devices - microcontroller programming
« Reply #155 on: October 31, 2026, 06:01:19 am »
Could I please have the programming link?

I am working on a mod, would be super grateful
 

Offline McJ

  • Newbie
  • Posts: 3
  • Country: au
Re: Fremont Micro Devices - microcontroller programming
« Reply #156 on: November 10, 2026, 01:15:23 pm »
Hi @DIMM-bl4 I would appreciate if you could share DCProgrammer with me, I have a number of FT61E0A5 I would like to dump and reprogram (Tuya PS10 Presence Sensor) as I'm also working on an ESPHome tuya_mcu DFU platform and would like to include support for the bootloader on these devices.
 

Offline AEON1380

  • Newbie
  • Posts: 3
  • Country: ir
Re: Fremont Micro Devices - microcontroller programming
« Reply #157 on: November 10, 2026, 03:36:59 pm »
Hi @DIMM-bl4,

I came across your post about reverse-engineering the FMD programming protocol and implementing it using the CH341.

I'm currently working on developing a low-cost, standalone programmer for FMD microcontrollers, supporting Program, Erase, and Verify operations.

Your work on both the Standard and Enhanced protocols is extremely interesting to me.

Would you be willing to share your source code, protocol documentation, or any relevant files from your project?

Even partial code or technical notes would be incredibly helpful. I would, of course, respect any licensing or attribution requirements.

Thank you for your time and for sharing your research with the community!

Best regards
« Last Edit: November 10, 2026, 03:56:05 pm by AEON1380 »
 

Offline AEON1380

  • Newbie
  • Posts: 3
  • Country: ir
Re: Fremont Micro Devices - microcontroller programming
« Reply #158 on: November 10, 2026, 03:58:10 pm »
 

Offline DIMM-bl4

  • Contributor
  • Posts: 25
  • Country: ru
Re: Fremont Micro Devices - microcontroller programming
« Reply #159 on: November 10, 2026, 04:17:20 pm »
@McJ, link in PM.

@AEON1380, hi.
developing a low-cost, standalone programmer for FMD microcontrollers
Currently in DCProgrammer FMD MCUs are supported for next HW: CH341, CH55x (EZP20xx, MinPro I), FX2LP, FT232H, Arduino Uno/Nano.
Would your low-cost solution cheaper than that?

Would you be willing to share your source code
No, source code would not be shared. But you can ask some specific, technical question, about problem which you have issue with.
 

Offline tps_star

  • Newbie
  • Posts: 3
  • Country: ae
Re: Fremont Micro Devices - microcontroller programming
« Reply #160 on: November 10, 2026, 09:58:17 pm »
DIMM-bl4
please giveme schematic and info dcprogrammer
 

Offline McJ

  • Newbie
  • Posts: 3
  • Country: au
Re: Fremont Micro Devices - microcontroller programming
« Reply #161 on: November 10, 2026, 10:02:07 pm »
Thank you @DIMM-bl4

I was hoping to use FT232HM rather than CH341. I noticed the vdd switching is on pin AC5 which isn't broken out on that cable. Would it be possible to use one of the AD pins instead?
« Last Edit: November 10, 2026, 11:07:33 pm by McJ »
 

Offline AEON1380

  • Newbie
  • Posts: 3
  • Country: ir
Re: Fremont Micro Devices - microcontroller programming
« Reply #162 on: November 11, 2026, 07:42:53 am »
Hi @DIMM-bl4

Thank you for your reply.

Would it be possible for you to share the DCProgrammer software with me? I'd really appreciate the opportunity to try it.

Regarding the cost, I'd like to clarify my motivation.

My original idea was to build a temporary FMD programmer using a Raspberry Pi Pico or an ESP32, mainly to learn about the programming protocol and gain practical experience.

However, I noticed that you had implemented FMD support using the CH341, and I actually already own a CH341 programmer. This made your project particularly interesting to me, since using hardware I already have would be much more accessible than buying another development board.

Unfortunately, due to financial limitations and the current situation in Iran, purchasing an official programmer is not an easy option for me.

I'm not trying to copy your product or develop a commercial competitor. I simply want to learn how FMD programming works and find out whether I can use my existing hardware to program these MCUs.

My goal is to gain practical experience with FMD microcontrollers and improve my skills for a future career in embedded systems.

Thank you for your time and any help you can offer.
 

Offline DIMM-bl4

  • Contributor
  • Posts: 25
  • Country: ru
Re: Fremont Micro Devices - microcontroller programming
« Reply #163 on: November 11, 2026, 08:47:51 am »
@tps_star, @AEON1380, - link in PM.
'\TableProg.png' - coverage info.
'\Connections\' - connection info.

commercial competitor.
DCProgrammer is not commercial.

to build a temporary FMD programmer using a Raspberry Pi Pico or an ESP32
Again, I can help only as 'check' for your solution, to help find some mistakes. But I will not provide whole project for copy-paste.

I was hoping to use FT232HM rather than CH341. I noticed the vdd switching is on pin AC5 which isn't broken out on that cable. Would it be possible to use one of the AD pins instead?
Yes, it can be done as option (attach 1).
But... Does your cable have a mosfet at AC9, as on picture (attach 2)?
VDD control for MCU may be done with it too.
It just must be programmed as 'I/O control' in EEPROM setup of FTDI (attach 3).

But, switch to ADBUS VDD control is more easy as software implementation.
 
The following users thanked this post: tps_star

Offline losiu68

  • Newbie
  • Posts: 1
  • Country: pl
Re: Fremont Micro Devices - microcontroller programming
« Reply #164 on: November 11, 2026, 07:22:54 pm »
Hello DIMM-bl4,
Would you share DCProgrammer software with me, please?
 

Offline tps_star

  • Newbie
  • Posts: 3
  • Country: ae
Re: Fremont Micro Devices - microcontroller programming
« Reply #165 on: November 12, 2026, 10:24:41 pm »
 DIMM-bl4 thancks for files  :-+
i Need your help
please answer my questions
1:For FMD standard-family chips (e.g. FT60F01x/FT60F02x), what are the values written with opcode 0xA to select: (a) chip ID/DEVID area, (b) UCFG/config area (read, erase, write), (c) EEPROM (read, write, erase)?
2:How is the ICID read, and which bytes are checked?
3:In the flash write/erase preambles, what do 0xA=0x56/0x24/0x25, 0x9=0x1A and 0x8=0x00/0x08 mean, and do they differ per family?
4:After the 5-bit opcode in a read, is there an extra clock for the data turn-around, and exactly which edge does the chip change data on?
5:Is the write time per word 1.5 ms for all standard chips, and how long should erase and UCFG write take?
 

Offline McJ

  • Newbie
  • Posts: 3
  • Country: au
Re: Fremont Micro Devices - microcontroller programming
« Reply #166 on: November 13, 2026, 02:42:54 am »
Yes, it can be done as option (attach 1).
But... Does your cable have a mosfet at AC9, as on picture (attach 2)?
VDD control for MCU may be done with it too.
It just must be programmed as 'I/O control' in EEPROM setup of FTDI (attach 3).

But, switch to ADBUS VDD control is more easy as software implementation.
Thanks @DIMM-bl4 I have checked and do have MOSFET on AC9, I'll try this first but thanks for your other version as well. Sorry I don't have enough posts yet to reply PM.

 

Offline DIMM-bl4

  • Contributor
  • Posts: 25
  • Country: ru
Re: Fremont Micro Devices - microcontroller programming
« Reply #167 on: November 13, 2026, 08:28:05 am »
please answer my questions
1a. ICID bytes located in FCFG (Factory CFG) area, at different location (write in log).
1b. UCFG (User CFG) Read/Write - 21/31. FCFG - 25,26,29,22,2A / 35,36,39,32,3A
2. = 1a answer.
3. https://www.eevblog.com/forum/projects/fremont-micro-devices-microcontroller-programming/msg6035513/#msg6035513
Here you can see, that it is used for BANK selection, for example.
4. No, TAR cycle is not present, you must release DAT line exactly at last clock falling edge.
Correct edges here: https://www.eevblog.com/forum/projects/fremont-micro-devices-microcontroller-programming/msg6074873/#msg6074873
5. Erase/Write delay values located also in FCFG and reads out from chip (write in log). Mostly it is 1.5 or 2.5 ms for write and 50 ms for erase.

MOSFET on AC9, I'll try this first
No, I've not done implementation for that.
It is more complicated, because that pins not accessible over MPSSE mode and need to switch between modes of FTDI. And also needs proper EEPROM setup.
Try version with ADBUS control.

Sorry I don't have enough posts yet to reply PM.
Strange, I have a conversations with 1-post users as well. Do you have buttons 'Reply' or 'Quote' on incoming message?
 
The following users thanked this post: tps_star

Offline tps_star

  • Newbie
  • Posts: 3
  • Country: ae
Re: Fremont Micro Devices - microcontroller programming
« Reply #168 on: November 13, 2026, 08:40:46 am »
thancks
please give me FMD's official programming manual.pdf
I Cannot download it from official website
1:For FT60F01x / FT60F02x (iclist 1 and 2), what exactly do you read to verify the ICID after entry? Please give the SFR/FCFG addresses and the expected byte values (like 0x00: 06; 0x09: 0A; 0x83: FF for iclist 8).
2:For these iclists, what is done in the "page/bank select" step before the SFR read (the //set page? branch for iclist 1..7)? Which opcodes and values?
3:What are the exact FCFG addresses/offsets where the write delay and erase delay are stored, and how are the values encoded (units, scaling)?

4. How many words does UCFG have for FT60F01x and FT60F02x, and which are checksum/protection words? Is the "HW checksum" (UCFG7) computed over flash only, or flash plus UCFG?
5. How is EEPROM (data flash) read, written and erased? Please give the op 0xA mode values and the per-byte timing.
6. Is the flash write done word by word with the 1.5/2.5 ms delay, or is there a faster page/row write using the latch buffer (op 0x01 several times, then one 0x06)? What is the buffer size?

7. At entry, how long after VDD rises must the first 0x1CA3 word arrive (min/max)? Does VDD slew rate matter, and do the DAT/CLK lines need to be held low during power-up?
8. Is the 3.2 ms pre-key delay before each of the two 0x1CA3 words fixed, or is there a window?

9. Please describe the F-18 entry sequence (iclist 72/77/80/86) and the FT62F03x, FC1x, FDCx sequences in full, including bit widths of the $51 and $E words.
« Last Edit: November 13, 2026, 09:00:32 am by tps_star »
 

Offline Joe19

  • Newbie
  • Posts: 3
  • Country: id
    • www.dd2dd.com
Re: Fremont Micro Devices - microcontroller programming
« Reply #169 on: Today at 01:49:32 pm »
Hello @DIMM-bl4 could you please send the programmer link
 

Offline Joe19

  • Newbie
  • Posts: 3
  • Country: id
    • www.dd2dd.com
Re: Fremont Micro Devices - microcontroller programming
« Reply #170 on: Today at 02:12:38 pm »
Hello @DIMM-bl4 could you please send the DCprogrammer link,or email me.thanks
 

Offline Joe19

  • Newbie
  • Posts: 3
  • Country: id
    • www.dd2dd.com
Re: Fremont Micro Devices - microcontroller programming
« Reply #171 on: Today at 02:42:10 pm »
Thanks very much @DIMM-bl4
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->