-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work with STC15L104W 7.2.5Q #68
Comments
Make sure you're flashing the STC15Ls with 3V3 and not 5V. See e.g.:** 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. 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
The text was updated successfully, but these errors were encountered: