Giter Club home page Giter Club logo

Comments (4)

terjeio avatar terjeio commented on May 26, 2024 1

but the USB still doesn't work, I'm not sure what the reason is.

USB is sensitive to clock setup, it has to be exact or it fails. Could be due to the STM32F103xE symbol not beeing defined? See the attached Web Builder .ini file.

what are the roles of these two files?

It tells the linker where to place/find the different elements (code, vector table, static data, ram...) in memory.

If you flash a Web Builder image does that work? Try with "Mach3 USB breakout (BSMCE04U)". Here is the .ini used for such a build:

job.zip

from stm32f1xx.

terjeio avatar terjeio commented on May 26, 2024
  1. Does the board have a bootloader you do not want to overwrite? If not you do not want to relocate the vector table. If it has one is the offset correct? And have you modified the loader script to match it?

  2. Does the main oscillator crystal frequency match the build? IIRC the default is 8 MHz.

from stm32f1xx.

CHTUZKI avatar CHTUZKI commented on May 26, 2024

My crystal oscillator is 8MHZ.

I commented out the following code:

-D VECT_TAB_OFFSET=0x7000 
-Wl,--defsym=LD_VECT_TAB_OFFSET=0x7000, 

but the USB still doesn't work, I'm not sure what the reason is.

STM32F103RCTX_FLASH.ld and STM32F103RCTX_BL28K_FLASH.ld, what are the roles of these two files? There were no such files in the previous versions. I wanted to use the .ld file provided by platformio IDE, so I deleted these two files, and the program encountered an error.

from stm32f1xx.

CHTUZKI avatar CHTUZKI commented on May 26, 2024

problem solved. job.zip works fine.

from stm32f1xx.

Related Issues (20)

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.