So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Narfel
#78170 Thanks for your help. But I tried it several times and i get success messages but no answer sending the hex strings. I am sure the hex code is the right one from https://www.esp8266.com/viewtopic.php?p=74262#p74262 since i can see your name in the last couple of bytes.

Here is the output from flashing
Code: Select allChecking target MCU ...
  MCU type: STC15F104W
  F/W version: 7.2.5Q

Current H/W Option:
  . Current system clock source is internal IRC oscillator
  . IRC frequency: 11.069MHz
  . Wakeup Timer frequency: 36.987KHz
  . Do not detect the level of P3.2 and P3.3 next download
  . Power-on reset, use the extra power-on delay
  . RESET pin behaves as I/O pin
  . Reset while detect a Low-Voltage
  . Thresh voltage level of the built-in LVD : 3.82 V
  . Inhibit EEPROM operation under Low-Voltage
  . Hardware do not enable Watch-Dog-Timer
  . Watch-Dog-Timer pre-scalar : 256
  . Watch-Dog-Timer stop count in idle mode
  . Program can modify the Watch-Dog-Timer scalar
  . Do not erase user EEPROM area at next download
  . Do not control 485 at next download
  . Do not check user password next download
  . TXD is independent IO
  . TXD pin as quasi-bidirectional mode after reset
  . P3.3 output HIGH level after reset
  . Testing time: 2017-6-5

  . MCU type: STC15F104W
  F/W version: 7.2.5Q

Adjusting frequency ...         [0.360"]
Adjusted frequency: 11.083MHz (0.217%)

Re-handshaking ... Successful         [0.047"]
Current Baudrate: 9600
Erasing MCU flash ...  OK !      [0.391"]
MCU ID : F29424751026C9
Programming user code ... OK !      [1.797"]
Programming OPTIONS ... OK !      [0.140"]

H/W Option upgrade to:
  . Current system clock source is internal IRC oscillator
  . IRC frequency: 11.083MHz
  . Do not detect the level of P3.2 and P3.3 next download
  . Power-on reset, use the extra power-on delay
  . RESET pin behaves as I/O pin
  . Reset while detect a Low-Voltage
  . Thresh voltage level of the built-in LVD : 3.82 V
  . Inhibit EEPROM operation under Low-Voltage
  . Hardware do not enable Watch-Dog-Timer
  . Watch-Dog-Timer pre-scalar : 256
  . Watch-Dog-Timer stop count in idle mode
  . Program can modify the Watch-Dog-Timer scalar
  . Do not erase user EEPROM area at next download
  . Do not control 485 at next download
  . Do not check user password next download
  . TXD is independent IO
  . TXD pin as quasi-bidirectional mode after reset
  . P3.3 output HIGH level after reset

  . MCU ID : F29424751026C9
  . MCU type: STC15F104W
  F/W version: 7.2.5Q

  . Set frequency: 11.059MHz
  . Adjusted frequency: 11.083MHz
  . Trim error: 0.217%


  Complete !(2018-09-10 13:31:00)


Below two screens from the programming software (one with loaded Buffer shown, one with COM Helper), i'm not sure if i need any EEPROM data or if my settings are correct. Its all on default. In the COM Helper window you can see the RXs increment, but no TX or LED flashing :(
https://imgur.com/a/hOtahmE
http://imgur.com/a/GYh3n6x
User avatar
By John DOE7575
#79772 Hello, I have a similar problem with the 2ch version of LC Tech (LC-Relay-ESP01-2R-5V) . Instead of stm, they use a Nuvoton N76E003 MCU.

With the ESP-01 connected or not, after about 30 sec, the led D6 flash (0.5s) and I tried every solution without any success, I think we should flash the firmware of N76E003, but where to find it ?

Thanks,
User avatar
By mathius
#81331
pilol34 wrote:4.The program must be transferred to the module. It is necessary to think to cross the cables TX RX and one does not branch 5V power supply.

With the programe STC-ISP.exe we load the proramme .hex, we set the clock at 11.0592 MHz, and press the button DOWNLOAD / PROGRAM, Connect the 5V power supply of the module and wait until the transfert is finished.

Hello - first of all, thank you so much for creating a solution for these bloody modules :)

I am hoping that you have some advice - my unit definitely has the STU-15F104W MCU, but I can't follow the step quoted above; my unit, whenever the unit is powered up, I see the D2 LED (blue) flashing non-stop, but I do NOT hear the relay clicking at all.

When I hook up the STC-ISP unit and attempt to push the .hex code through, the software goes no further than "Checking target MCU ... ". While I wait for anything to happen, I can see the TX LED is solid - and I see some activity on my FTDI TX light, but this TX activity appears to be only reflecting the D2 LED on the relay unit...

I have two identical relay units with the same problem. Am i missing a basic step?

Many thanks for any advice!!