Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCLoader is stuck at the first block #13

Closed
Zap123 opened this issue Jul 22, 2017 · 5 comments
Closed

CCLoader is stuck at the first block #13

Zap123 opened this issue Jul 22, 2017 · 5 comments

Comments

@Zap123
Copy link

Zap123 commented Jul 22, 2017

Hi, I'm trying to flash 2 different BLE module(JDY-08 and MLT-BT05) as described in the arduino thread but CCLoader get stuck at the first block. I have tried both with Linux(never get past "waiting for arduino") and windows.
Both modules have become unusable after the procedure (they are in debug state(?)) so it must have done something.
I'm using an Arduino Pro Mini at 3.3v connected with an USB TTL converter to the PC.
Is there something I can do? Thanks

@Zap123
Copy link
Author

Zap123 commented Jul 25, 2017

I solved it changing the baudrate both in the sketch and in the windows source to 57200. The original speed was too fast for my arduino.

@Zap123 Zap123 closed this as completed Jul 25, 2017
@altgugos
Copy link

altgugos commented Dec 2, 2017

How did you change the baud? I could'nt do it no matter what I do

@Zap123
Copy link
Author

Zap123 commented Dec 2, 2017

https://github.com/RedBearLab/CCLoader/blob/master/SourceCode/Windows/main.c#L102
Here, I put 57200 just to be safe and recompiled the source.

@altgugos
Copy link

altgugos commented Dec 2, 2017

It should be 57600.
Anyway, I compiled it again but no solution. Program waits a respond from Arduino. I use Pro Mini and set 0 for the device parameter. Is it correct?

@Zap123
Copy link
Author

Zap123 commented Dec 2, 2017

Yes 57600 sorry, and 0 is correct.
It has been a while since I tried, so I don't remember much.
Have you put 57600 also here in the sketch?
https://github.com/RedBearLab/CCLoader/blob/master/Arduino/CCLoader/CCLoader.ino#L526

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants