Programming BL602 (Ai-WB2-32S) with Arduino

Can I use Arduino to program the BL602 chip (Ai-WB2-32S)

I moved your topic to an appropriate forum category @trungkien20188.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

Hi @trungkien20188. Yes, there is a 3rd party boards platform that adds support to Arduino IDE for the Bouffalo Lab BL602 microcontroller:

I followed the instructions in the library file but still cannot add the library to Arduino. Can you help me?


I see there is a problem with the nutcracker.pine64.org website where the package_bouffalo_index.json file is hosted:

$ curl https://nutcracker.pine64.org/arduino/package_bouffalo_index.json

curl: (35) schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed). More detail may be available in the Windows System event log.

Although we could work around that problem as it affects the index file, the bigger problem is that all the archive files that are downloaded when Boards Manager installs the "Arduino for Bouffalo Labs RISC-V MCUs" boards platform are also hosted on that website. So the index alone doesn't do us any good.

I think the best way forward is for you to submit a report of the problem to the issue tracker on the GitHub repository:

That will bring the problem to the attention of the project maintainers. Hopefully they will be able to fix the website.

So right now we can't install and program BL602 with Arduino, right?

In theory it could still be done, but you would need to find the necessary compiler and upload tool dependencies and install those tools manually. This would be quite a complex endeavor so I would recommend starting by trying to notify the project maintainers of the problem via the GitHub issue tracker, Discord server, Matrix, and Telegram. It might be fairly easy for them to resolve the problem with the website.

Thank you for your help

You are welcome.

It is an unfortunate situation. I actually purchased a BL602 board recently specifically because I thought that I could use it with Arduino IDE thanks to this boards platform. Hopefully either the maintainer will fix the problem with the website or else the Arduino community will create a fork to carry the project forward.

Regards,
Per

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.