Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

ES7P003FGTF support #464

Closed
rtek1000 opened this issue Apr 3, 2023 · 10 comments
Closed

ES7P003FGTF support #464

rtek1000 opened this issue Apr 3, 2023 · 10 comments
Assignees
Labels

Comments

@rtek1000
Copy link

rtek1000 commented Apr 3, 2023

Hello,

Do you know how to program the ES7P003? Tools and IDE? I received a W1209 board with this microcontroller.

Maybe you can add the ES7P003FGTF on this page:

https://github.com/TG9541/stm8ef/wiki/W1209-Identifying-'compliant'-boards

ES7P003 (The board does not have Vcap)
ES7P003

STM8S003
STM8S003F3P6

Datasheet (Automatically translated):
https://github.com/rtek1000/W1209-firmware-modified/blob/master/Doc/ES7P003FGTF_EN.pdf

Datasheet original:
https://github.com/rtek1000/W1209-firmware-modified/blob/master/Doc/ES7P003FGTF_CN_622163.pdf

@rtek1000
Copy link
Author

rtek1000 commented Apr 3, 2023

Oh, I forgot to comment, the W3230 board also has an STM8S003F3P6.

Thanks.

@rtek1000
Copy link
Author

rtek1000 commented Apr 3, 2023

I found the manufacturer's website, it seems that everything is available for download, from the compiler to the programmer (ES-Link 😂) and via the serial port.

https://www.essemi.com/index/product/detail?id=39

@rtek1000
Copy link
Author

rtek1000 commented Apr 3, 2023

@VK6TT
Copy link
Collaborator

VK6TT commented Apr 4, 2023 via email

@TG9541
Copy link
Owner

TG9541 commented Apr 4, 2023

Interesting, that's the 3rd µC in a STM8S103 TSSOP20 form factor I get to know about (the others being N76E003AT20 - MCS-51 and CH32V003F4P6 - RISC-V).

This one appears to have a very basic proprietary 8 bit core with (fixed?) 16bit instruction width:

image

At least part of the instruction set is memory access controlled (e.g, multiplication, division):
image

I doubt that this chip is more than a stop-gap to serve the domestic market. I would rather not try mastering this one.

A complete datasheet is here:
https://datasheet.lcsc.com/szlcsc/1912111437_Qingdao-Eastsoft-Communication-Tech-ES7P003FGTF_C394846.pdf

@rtek1000
Copy link
Author

rtek1000 commented Apr 4, 2023

I didn't expect to be able to use the same firmware, but the logic can be reused.

I am interested in using the W1209 board with DS18B20 sensors, I currently use Attiny85 with this configuration, but I have to assemble the board manually.

Incredibly ES7P003 has support in VScode (Extension Essemi), I'm trying if I can make it work, the documents are in Chinese. I am using translator to read and access the website. 😅

But I'm a little wary of VScode, because Platformio generated a lot more code in VScode with SDCC than STVD with Cosmic, commented here.

@TG9541
Copy link
Owner

TG9541 commented Apr 4, 2023

I guess it would be worth thinking about producing an open-source STM8 board that can be ordered, e.g., from JLCPCB at a budget:

  • a form factor that fits in a standard enclosure
  • through-hole assembly options, e.g., for headers, relays and a LED display
  • e.g., STM8SxxxKyT6C µC (e.g., STM8S103K3, STM8S903K3, STMS105K6...), OR maybe the TSSOP20 form factor so that optionally any of the other chips can be used (the CH32V003F4P6 RISC-V sure looks interesting).

@rtek1000
Copy link
Author

rtek1000 commented Apr 4, 2023

Yes, I've already ordered from JLCPCB, it's a very good option.

@rtek1000
Copy link
Author

rtek1000 commented Apr 4, 2023

What about the noise immunity of the STM8? Atmel's original ATmega chips were much better than Microchip's PICs.

@VK6TT
Copy link
Collaborator

VK6TT commented Apr 4, 2023 via email

Repository owner locked and limited conversation to collaborators Apr 4, 2023
@TG9541 TG9541 converted this issue into discussion #465 Apr 4, 2023
@TG9541 TG9541 self-assigned this Jun 24, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

3 participants