Closed tpimh closed 6 years ago
This is a new series, so I'm quite sure there are incompatibilities.
FYI STC8 should be in progress. As soon as my board arrives.
@grigorig Make sure your board is carrying the final version of the chip though. I got one based on the prerelease "C" version but the release version is version "F" for the STC8A8K variants and "D" version for STC8F2K variants. The board above is a version "C" chip, as shown in the last letter on the markings.
Well, apparently my version is "E". Hopefully that's good enough.
I think support for all existing versions should be implemented. I ordered some STC8A8K64S4A12, don't yet know which revision I will get.
Of course! Ideally, all revisions should work. STC often doesn't make it easy with their chaotic versioning, though.
I hope these C/D/E/F revisions are not very different from each other, so that it is not too much work to support all of them. But first we should at least get all of the existing versions, having contacts in STC would be ideal.
We should focus our efforts on the final release chips, and only after the final release chips are properly supported should we start trying the code on prerelease.
I live close to the company. Maybe I can ask them for samples of the chips? They may offer only the final release version though.
Any news about STC8 support?
Try https://github.com/grigorig/stcgal/tree/stc8
I haven't had much free time to finish it. Flashing seems to work fine, but it's not possible to set options yet. Still, might be usable.
This looks great. Any updates on STC8 ? (STC8F/STC8A/STC8H) I see they move to general release, with https://lcsc.com/search?q=STc8f showing 20 items.
Is this work doe UART loading, or is the STC8 USB loader also being done ? ( I see mention of STC15W4 usb15 protocol, & I guess STC8 is very similar/identical ?)
I haven't had a chance to look at the USB protocol yet. But it's probably similar an should be much easier to implement than UART based protocol. (No frequency calibration or any other "fun" things like that)
I might mainline STC8 UART support without support for options in the meantime. It's already useful as-is.
Anybody have success programming the STC8F2K64S4-28I-DIP40 chip. I just got ten of them in the mail. Does the STC15 type interface work? I have the 6.86F version S/W.
I notice here https://github.com/grigorig/stcgal/blob/stc8/stcgal/protocols.py changes made 28 days ago, so it seems STC8 is progressing.
Comments seem around uncalibrated devices, which is puzzling, - I think all full release versions of STC8 are calibrated - maybe that is for either samples (not calibrated yet) or bricked parts, where CAL was damaged ?
Those comments also suggest the STC8 have both USB and UART loaders ? - USB on the website and UART in this code ?
On Tue, Jul 24, 2018 at 11:21 PM, hkoutram notifications@github.com wrote:
Anybody have success programming the STC8F2K64S4-28I-DIP40 chip. I just got ten of them in the mail. Does the STC15 type interface work? I have the 6.86F version S/W.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/grigorig/stcgal/issues/23#issuecomment-407371401, or mute the thread https://github.com/notifications/unsubscribe-auth/ASxDqyK8ZfO0l9qLJoyW-QA43k0S6cGgks5uJwM0gaJpZM4NTKhN .
Yes, I'm working on STC8, on and off. Basic flashing should already work with the stc8
branch.
Full-featured STC8 support (UART protocol) was finally merged into master and works flawlessly for me with STC8A8K64S4A12. Please open specific issues if you have trouble with it.
I wanted to buy this board with STC8A8K64S4A12: I wonder if anyone tried programming it with stcgal. What are the chances that I will work with
stc15
orusb15
protocol?Here is the datasheet: http://www.stcisp.com/datasheet/stc/STC8F-datasheet.pdf (in Chinese)