Giter VIP home page Giter VIP logo

Comments (5)

andelf avatar andelf commented on August 23, 2024

Thanks for the report.
I'll check this soon.

Could you help print pac::SYSTICK.CNT values at a certain interval to check the system frequency?
(This is a known method to get the current sysclk freq reliably)

from ch58x-hal.

anisse avatar anisse commented on August 23, 2024

I have a wchlink but did not set it up yet, so I don't have a serial console. I'll try it and come back to you, but this might need some soldering first.

from ch58x-hal.

anisse avatar anisse commented on August 23, 2024

I have been unable to enable debugging on the chip with wchisp, I must have done something wrong at some point; I modified the reset value and rebuilt multiple times, but it always comes back to the same value (I realize this is out of scope of this bug). I am not sure if the 2-wire debugging is necessary to get serial output though.

from ch58x-hal.

andelf avatar andelf commented on August 23, 2024

I see. Could you try the release mode using --release?

from ch58x-hal.

anisse avatar anisse commented on August 23, 2024

You're correct, running in release mode, it does run at the correct speed. I was not able to enable the debug mode and flash something (verify fails), but this is something for another bug.

Thanks a lot!

from ch58x-hal.

Related Issues (7)

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.