Comments (14)
@hexesdesu Are you using an early version of ch55xduino? Please update to the newest version and try again. It may work or it will show you more info to troubleshoot.
from ch55xduino.
@hexesdesu Are you using an early version of ch55xduino? Please update to the newest version and try again. It may work or it will show you more info to troubleshoot.
Well, it's the newest 0.0.9 version downloaded by Arduino board manager.
You've inspired me and I will try a lower version.
from ch55xduino.
That is quite weird, I tried it again in windows, and it shows the bootloader ID and chip ID. Even there is a error message, the ID should be printed first.
Also, the newer upload tool will not just say "not support". It will give you a reason.
Maybe you can delete the board support file completely, include the caching zip files and install again.
from ch55xduino.
That is quite weird, I tried it again in windows, and it shows the bootloader ID and chip ID. Even there is a error message, the ID should be printed first.
Also, the newer upload tool will not just say "not support". It will give you a reason.
Maybe you can delete the board support file completely, include the caching zip files and install again.
Yep I tried CH551G and CH552G and they do show the bootloader ID and chip ID, only my CH552T are not.
I tried to install Arduino in a new PC and I got the same.
I got these chips from Xianyu, which the seller claimed that they are shipped by szlcsc. And it can be upload by WCHISPTool, so I don't think it was a chip failure.
I bought some new chips from Taobao in order to figure how this could be happened.
from ch55xduino.
That really weird. I do have some CH552T and there is no difference from the CH552G at all.
And the new tool has no string "Not support". Such a string only exist in the old version of tools.
By the way, can you upload hex with https://deqingsun.github.io/ch55xduino/bootloaderWebtool/ ?
from ch55xduino.
That really weird. I do have some CH552T and there is no difference from the CH552G at all.
And the new tool has no string "Not support". Such a string only exist in the old version of tools.
By the way, can you upload hex with https://deqingsun.github.io/ch55xduino/bootloaderWebtool/ ?
It says MCU family Not support
:(
So the chip is a new family that have WCHISPTool support but not vnproch55x?
I uncomment console.log and got :[[ArrayBufferData]]: "0x314400e08010"
from ch55xduino.
That really weird. I do have some CH552T and there is no difference from the CH552G at all.
And the new tool has no string "Not support". Such a string only exist in the old version of tools.
By the way, can you upload hex with https://deqingsun.github.io/ch55xduino/bootloaderWebtool/ ?
modified ch55xbl.js
await device.transferOut(endpointOut, (new Uint8Array(bootloaderDetectCmd)).buffer)
//await device.transferOut(endpointOut, (new Uint8Array(bootloaderIDCmd)).buffer)
result = await device.transferIn(endpointIn, 64);
resultUint8 = new Uint8Array(result.data.buffer)
bootloaderDeviceID = resultUint8[4]
console.log(result.data.buffer);
console.log(resultUint8[4]);
console.log(resultUint8[5]);
And got definitely creepy response...
from ch55xduino.
@hexesdesu
I check another uploader repo https://github.com/ole00/chprog . It seems the V1 version of the bootloader returns 2 bytes instead of 6. Since you get the chip from a flee market. It is likely you get a old chip with old bootloader.
I never get a chance to get the old version bootloader to test, so the upload tool in my repo don't support that version. You may get a newer chip or use a tool support V1 version of the bootloader.
from ch55xduino.
@hexesdesu
I check another uploader repo https://github.com/ole00/chprog . It seems the V1 version of the bootloader returns 2 bytes instead of 6. Since you get the chip from a flee market. It is likely you get a old chip with old bootloader.I never get a chance to get the old version bootloader to test, so the upload tool in my repo don't support that version. You may get a newer chip or use a tool support V1 version of the bootloader.
Ok I checked my bootloader version in WCHISPTool
CH552T:
CH552G:
and it seem to be in a lower bootloader version(1.0)
I'm gonna try if I can upgrade it by myself, or bypass the code check.
Thank you for your works on my problems. glhf
from ch55xduino.
You can not bypass the code check in my uploader, because the protocols are different. I would recommend using another tool to upload.
from ch55xduino.
Maybe I can use chprog instead of vnproch551 in arduino?
from ch55xduino.
If you can make it accept hex file, yes.
Refering to https://github.com/DeqingSun/vnproch551/blob/master/KT_BinIO.cpp for hex file parsing.
And if you successfully get it working. Share the solution to help other people.
from ch55xduino.
Ye I'm gonna try. It's my first time hacking Arduino so it may take a long time.
from ch55xduino.
You don't need to hack Arduino, just make the chprog to accept the same parameters to the vnproch551, and replace the one in the tool folder.
from ch55xduino.
Related Issues (20)
- CH554 support HOT 12
- About usb sample code
- Idea: add TinyRF capability to open the ch55x to 315/433MHz communication HOT 3
- Keyboard with boot protocol enabled HOT 8
- About absolute mouse HOT 2
- Drivers problem HOT 3
- TouchKey_begin disrupts functionality of pins not enabled for touch HOT 2
- CH55X ARDUINO CORE
- [Demo] Ch554 USB Audio Speaker HOT 5
- Feature request: InfraRed Encoder/Decoder.
- Support more than 85 LEDs (256 bytes RGB Data) for WS2812 HOT 2
- CH546L unresponsive after flash HOT 5
- Can you add an example about ch559 USB host? This is a very important feature thx HOT 2
- CH552 into sleep mode and wake it up or switch to low power HOT 1
- Softreset after download CH549 HOT 4
- CH558L unresponsive after first flash HOT 7
- WS2812 Brightness HOT 3
- Timer3 Interrupts on the CH558 not working (with suggested fix) HOT 1
- Keyboard Matrix Problem HOT 2
- keyboard_getLEDStatus() does not respond to a NUM LOCK, CAPS LOCK or SCROLL LOCK change HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ch55xduino.