Giter Site home page Giter Site logo

christian-kramer / jieli-ac690x-familiarization Goto Github PK

View Code? Open in Web Editor NEW
273.0 273.0 54.0 49.86 MB

Adventures in figuring out how this incredibly ubiquitous, yet incredibly mysterious integrated circuit works.

Makefile 0.36% C 96.88% Assembly 0.01% Batchfile 0.34% Shell 0.09% Objective-C 0.12% C++ 2.21%

jieli-ac690x-familiarization's People

Contributors

christian-kramer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jieli-ac690x-familiarization's Issues

KT1025 / BT201

I assume that this is a custom firmware with BT (and usb) audio + serial.
A very useful combo.
Its datasheet has some info about updating the firmware.

I am still trying to find the document about serial referred to in the datasheet:
"26_Detailed instructions on Bluetooth data transmission and AT instructions. pdf"
(Added file in case link disappears)
BT201 Module _KT1025A_B_User Manual _V2.3.pdf

Voice prompts

Thank you for your work with this chip. Do you know how to disable voice prompts ? its hard coded ?

Schematic diagram of Arduino for flashing?

Hello , me read this "And the best part is, it works! When the clock pin of the Arduino sketch is connected to the D+ pin of the AC6905, and the data pin of the Arduino is connected to the D- pin, the AC6905 shows up under device manager as BR21 UBOOT1.00 USB Device"
But i can't understand how to wiring it?
For now me directly connect for data pin + and - from the IC to My Computer and detected device manager is BR25 UDISK .....
Thankyou πŸ™
Screenshot_2024-01-22-09-54-58-299_com shopee id

I flashed it successfully

I was actually dreaming of this from September 2023 and it has came true.

I had changed the name and sounds of it!

I flashed it with the sounds you would get from windows 10 like usb connect or disconnect.

I Even made a Java app for this - Download it from this google drive link.

Don't worry, I signed it so there will be no false antivirus prompts.

If you remove all the bytes from all the mp3 files except bt.mp3, connect.mp3, disconnect.mp3, you won't need to compress the files as much or even not need to compress them at all. This will provide better audio quality. Deleting them does not work.

The only bad thing is that the button controls stop working and the led stops blinking too which is not a big problem, but I would really like to bring back the led. So please anyone help. Also for sound effects, a small portion of the start of the sound is faded in instead of suddenly starting.

I didn't need Code::Blocks for this.

Also, I am just 13 years old who is able to do all of this especially the PCB designing.

This is the Bluetooth board I used and the link:

s-l960

https://www.ebay.co.uk/itm/194422146113?itmmeta=01HX04HJ0ZQHWD8T5C666GBGWN&hash=item2d44768441:g:CpAAAOSwiFJjx~6z&itmprp=enc%3AAQAJAAAA4I2%2FF4QwDrKBpSR%2BgJl4SI%2Fnk8IBfsu5QhSALGD6VqJc3n9FE70NkSJtIc6gGtUs0dzl1HDOQT8S4XCX%2FelIgPxiAoKwMS6hBw%2FzKf%2BcVz%2F1O0I%2FLJfB%2FRZsxdprYUIL8dnXksYH6eB%2By3%2BNbiRz%2Fqg8rTtyvlKasE6oWYVRK6pSbeIsVF7N4IHrh0QdHPDqdcUmBvBG1Hb17xQfLoWryb17atT7YV5uMuFY1mz3LFsd9m7y7z2s6B823jPHr2IWkViE%2FYWYLoWMiVQA7%2F6YSWBXr0p4UeBMhys5mKXCJpmu%7Ctkp%3ABFBM_qDGhOhj

How to compile and write firmware

Hello,
I succeeded to compile the source and write firmware.

How to write firmware to AC690X

  1. Get AC69 SDK(ac69_sdk_v2012_p4.zip, Google it) from somewhere.
    This SDK has another version of isd_download.exe and does not require KEY.

  2. Connect the AC690X device and Arduino bootloader'izer to USB data bus then release bootloader'izer.
    You may need USB A-to-A cable or microUSB cable.
    After connect, you will see the BR21 or BR17 device in "Disk drive" section in the device manager.

  3. If you have BR21 device, edit download.bat to replace br17 to br21 and rename br17loader.bin to br21loader.bin.

  4. Run download.bat to write firmware. (This will put the module dysfunction because no firmware is compiled.)

How to compile the firmware

  1. Get Jieli Toolchains from https://doc.zh-jieli.com/AC79/zh-cn/master/getting_started/environmental_install/jl_toolchain.html
    This is the PI32 compiler. This version does not require a license.

  2. Install Code::Blocks then install Jieli Toolchains.

  3. Start Code::Blocks and open apps_soundbox\ac690x_app.cbp

  4. Press "Build" button.
    If you get messages about Flash size being too small(this frequently happens on a 4M device), try on another source.
    failure
    If you see "start download ......" message, flashing was succeeded.
    success

The problem is the module is not working after flashing firmware. Maybe you need correct br21loader.bin or change the setting.

Uploader

There exist a forced updater for JieLi chips, it is used to flash or force update the software, it cobbects to the usb pins on the chip to program.
On taobao.com and aliexpress you can find it, called " Jerry forced update downloader dongle" very catchy name.

SUCCESSFULLY flashed JieLi AC6905A (Changed BT Name and Sounds)

Preview: https://youtu.be/qWmQH2eixa0

ONLY DO THIS AT YOUR OWN RISK I AM NOT RESPONSIBLE FOR ANY FAILURES OR CORRUPTIONS THAT MIGHT OCCUR.

BEFORE YOU START:
When using this method to flash the board, all button inputs will not respond, this means only bluetooth and USB/SD card files will work (seems to be disabled in the 'sdk_cfg.h'); if you know how to change/manipulate the default firmware of the board please let me know!

What you need:

Tutorial:

  1. Download the required tools: https://www.mediafire.com/file/nk7mfrccbr2b2tx/JieLi_AC690X_Flashing.zip/file
    Steps 2 and 3 are also described in further detail here: https://blog.csdn.net/JaLLs/article/details/85222667
  2. If you want to modify the name, use the "bt_config_tools_3.0.0.6" (the other version is currently useless) to generate a bt_cfg.bin file (Change "K7111" and click "SaveFile"). Save it to the post_build folder (and replace the existing one).
  3. To change the sounds you can edit or replace the following files:
  • bt.mp3 (Will be played once the device starts up)
  • connect.mp3 (Plays when connecting to the board)
  • disconnect.mp3 (Plays when disconnecting from the board)
    in the "post_build/tone_resource" folder. Make sure that the files are not (much) larger than the original (which is probably not going to be a problem right now, where the firmware is a lot smaller anyways, but could become one in the long run if we try to install larger firmware)
  1. Put the device into "flashing mode" either by using the USB Updater or an Arduino as stated above. To use the USB Updater, use a USB-A Male-to-Male (can be ordered with the Updater) cable to plug the Female side of the updater into your computer. Plug the Male Updater port into the USB-A Female port of your board. You do not need to connect the board to power. A Video on how to wire all of this up can be found on the webpage of the USB Update Tool.
  2. If you're using the USB Updater, you should see a red light continuously on and a red light blinking. Press the "Update" button to activate the "flashing mode". You should now see the board in your device manager under "Disk drives" as "BR17 [...]" and only the red light shining.
  3. Run the post_build/download.bat file and wait for it to finish (should take around 5-10s).
  4. Unplug the board from the Updater and power it on. YOU'RE DONE!

If you should find out how to read from the board please let me know!
(Feel free to ask me any questions about this topic)

hack JL AC21BPOLO41-55F4 chip

I have bought a BT-Module which was also completely configured. But it has a weird name and I want to change it. It looks like as if it has already the data cables of the USB connected but I cant access it

Has someone an Idea?
20220219_160911
20220219_160950

Companion app?

Thought I would chime in, I was lately digging up info about my board (A7-004), then came across some variations (https://www.aliexpress.com/i/32824381349.html). In the description of which an app of some sorts is mentioned - BTMate. It is surprisingly both on App store
and Play (<- hidden for higher Android ver.) but I couldn't get it to list/connect to my specific board. From the images it looks like you can adjust the EQ, change freq and more.. Anyone know a thing or two about this?File_20240308-215519.jpg
(there was a "this app is not compatible with your phone" warning but lens is dumb)

Adding other newer SDK for newer chips.

I know this is an old (and probably unmaintained repo) but if by any chance you read this,
Can you add SDK for newer chips like AC696N. Im trying to modify a JL chip which i presume to be an AC6965E.
I tried to download CSDN but it seems to only accept WeChat as its only sign in and log in method which i dont have.

official companys sdk

Its probly been mentioned already but the company has a the sdks on github https://github.com/Jieli-Tech/fw-AC63_BT_SDK. Unfortunatly they have thefirmware hex loader on a seperate site they give u a password for, but its all chinease and doesnt work in google translate, even worse to download the files yo need to install sum huge spyware just to download it 200mb+ apk on android devices or deb/rpm linux of unknown size. Jc i asked under issues for someone to email me the files.I asked in the middle of a lot of bitching about it so well see.
https://github.com/Jieli-Tech/fw-AC63_BT_SDK

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.