Open kasbert opened 3 years ago
Make sure you're flashing the STC15Ls with 3V3 and not 5V. If they're on a module designed for any particular purpose, check carefully if there's any regulator or what level the VCC to the chip is really being fed.
See e.g.:** Trivial solution to "bricked" STC15s
Kind regards and good luck!
Well, the programming worked with STC-ISP, so I expect there is a problem with stcgal.
Oh I see. Anyway maybe the info I posted is of some relevance with people having issues. Good luck, if you find any solution of course let us know
In my case even after noticing the problem was VCC level, I've found that a lot you can learn about STC protocol just by reading and messing a bit with the Python code. Don't be afraid of doing just that (if you have the time, obviously.)
In any case, the chip initially reporting > 100MHz is quite strange. Revise the code in STGAL that deals with this initial frequency determination. Find thru the Python in 'protocol.py' with the string "stc15apro" and below the first line that matches.
A good trick also when strange freqs. are reported is to try and relaunch the STCGAL command with -l 2400 -b 2400, or just -l 2400. Don't include any -t option initially.
Regards from Spain
I got read timeout in 'Trimming frequency ' with device STC15L104W
Without options. Shouldn't it detect this device ?
As stc15
As stc15a. Target frequency is quite wild.
With STC-ISP the progamming seem to work and it uses baudrate 38400 . Device does not work, though. Probably a problem with my program.
Here is a usb data capture of a STC-ISP programming event. I changed frequency to 12.000Mhz at some moment.
The code looks like this (does not work)
I was using "pip3 install stcgal" version, but I got the same results with git master-branch version