Giter VIP home page Giter VIP logo

Comments (3)

Luynmax avatar Luynmax commented on July 17, 2024

Detect baudrate fail

from rak3172_canopus.

NamNamIoT avatar NamNamIoT commented on July 17, 2024

Dear @Luynmax ,
This is a typical error of RAK3172.
Reason: In the program we did not leave any break time to check the requirement to flash code.
Therefore, the circuit board will run continuously without paying attention to the signals sent from the IDE. So I recommend that you leave a little delay in your loop() or at least a 1 second delay in setup.

In this case, you can send a signal to the circuit board to request immediate BOOT MODE.
Syntax: AT+BOOT
image

When receiving this signal, the circuit board will go into BOOT MODE and wait for you to flash. If the circuit board ignores this request (does not return BOOT MODE), try resetting the circuit board by pressing the reset button on the circuit board. Then spam AT+BOOT as much as possible, just a little delay in the program is enough for RAK3172 to check Serial.available.

If the AT+BOOT spam method doesn't work, we still have another way. You need to use STM32Cubeprogramer.
Link: https://docs.rakwireless.com/Knowledge-Hub/Learn/STM32Cube-Programmer-Guide/#using-the-stm32-uart-bootloadern
Usually, spamming AT+BOOT works great for me.
Once successful, remember to leave a small delay in your program.
image

from rak3172_canopus.

Luynmax avatar Luynmax commented on July 17, 2024

Thank namamiot, I tried and loaded the code successfully

from rak3172_canopus.

Related Issues (5)

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.