Code Monkey home page Code Monkey logo

stcgal-patched's Introduction

This project has been merged into STCGAL and I now contribute to its 
maintenance. You should now use https://github.com/grigorig/stcgal
instead, or just pip install stcgal.

stcgal-patched's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

stcgal-patched's Issues

reset_pin_enabled state not being retained?

I'm trying to set the reset_pin_enabled target option.
However it does not ever appear to be set to true after repeated power cycles/isp reads.

I do know that options like eeprom_erase_enabled persist after erasing chip and so remain true until cleared.

I also tried driving the pin high anyway but it does not seem to force a reset.
I have a CP102x based usb to uart with output DRT pin which I inverted with 2N2222 transistor.
This makes the reset pulse active high, but again no reset appears to occur.

What am I missing?

STC8G1K08 frequency trimming unsuccessful above ~27 MHz

According to its datasheet, microcontrollers part of the STC8G family have an integrated high-precision internal IRC oscillator, which can be used in two frequency ranges depending on the content of the IRCBAND register:

The adjustment range of the 20M band is about 14.7MHz to 26MHz (LSB=0).
The adjustment range of the 33M band is about 24.5MHz to 42.2MHz (LSB=1).

However, I cannot use the upper frequency band via frequency trimming using the -t 30000 parameters.
I read in the FAQ that the safe range is 5MHz-30MHz. Can this range be extended somehow?

STC8A64D4-LQFP44

Hello,
I am using a PCB that contains the STC8A64D4-LQFP44 device. The board contains a FTDI device (FT234XD-R). When plugged in the FTDI chip is powered from the USB but this rail is not shared to the PCB. I am able to program the board using a windows machine and the STC-ISP software by pressing the download button and then powering on the main part of the PCB. When I try to program using STCGAL (and make files from UNI-STC project) it sits at Waiting for MCU endlessly. Is there any suggestions you can provide on debugging this? I know the STCGAL installation works as I can program a demo board with the STC8A64D4-LQFP48 on it.

Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.