GithubHelp home page GithubHelp logo

Comments (9)

floppes avatar floppes commented on August 22, 2024 1

Did you change the baud rate in both the GUI tool and the Arduino code (Serial.begin(115200))?

from rtd266xflash.

floppes avatar floppes commented on August 22, 2024

A flashing LED on the Arduino indicates a connection problem. The GUI tool tries to read the error code in btnConnect_Click but this already fails in your case. You should check the connection again. Sometimes the HDMI connector on the display is very sensitive. On one of my boards I had to use a lot of power to plug my HDMI plug into the connector to make it work.

The data you see in response reads overflo when you convert the bytes to ASCII characters. Did you add any output code to the Arduino sketch (Serial.write or Serial.print)? The original code does not print overflo to the serial connection. Any additional output will break the communication between Arduino and the GUI tool

from rtd266xflash.

bluesbrother84 avatar bluesbrother84 commented on August 22, 2024

Hello,

thanks for your reply and sorry for the confusion.
Initially the LED was off on the Arduino. After the adjustments to check the sketch the flashing starts.
Now the Arduino is running with the sketch you've provided and the LED is off. Seams to work. But still the flash program ends with error.

The issue still exist in the same method ReadComPort but with a different configuration now.
if (_comPort.BytesToRead > 0) will never be performed because _comPort.BytesToRead is 0. As this is the case the statement will run until the timeout check happens.
This is then also the returning statement return Result.Timeout;

As already mentioned I've no idea and if you would have one would be great. But as it looks like I'm the only one with this issue and if you've also no further idea then the issue can also be closed. I can also live with the ugly screen. Maybe the next screen will work better :)

Best regards
Christian

from rtd266xflash.

floppes avatar floppes commented on August 22, 2024

There either seems to be a problem with the virtual COM port (but it worked with your debug outputs?) or the Arduino is stuck at some place.

I suggest you put some debug output into the Arduino function setup and use the Arduino IDE's serial monitor to display them. Check if it reaches the end of setup and if loop is executed.

from rtd266xflash.

Oxers avatar Oxers commented on August 22, 2024

I seem to have the same problem, LED not blinking, Serial is working with debug-code in setup() and loop().
I2C Scanner is showing three device IDs. When trying to connect with your programmer I just get "error".

Edit: I just changed the baudrate to 9600 and it connects

from rtd266xflash.

bluesbrother84 avatar bluesbrother84 commented on August 22, 2024

Hi,

thanks for the hint. Tried it right now with baud rate 9600 and it connects. Flashing works as well.
Problem solved. Perfekt 👍

Thanks a lot for your help.
Best regards
Chris

from rtd266xflash.

Oxers avatar Oxers commented on August 22, 2024

I have changed them both. When using 115200 baud it didn't work, haven't checked any other baudrate.

from rtd266xflash.

bluesbrother84 avatar bluesbrother84 commented on August 22, 2024

I did the same in GUI and Arduino.

from rtd266xflash.

VeteranGamer avatar VeteranGamer commented on August 22, 2024

i'm also facing the same issue....
tried 115200 (flashed Arduino) and selected in GUI.... no success
tried 9600 (flashed Arduino) and selected in GUI.... no success

also tried to change the Bit Rate for the port.... no success

disappointing....

.

from rtd266xflash.

Related Issues (19)

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.