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

Purple BLE Restore #2

Open
JerryM365 opened this issue Dec 3, 2020 · 7 comments
Open

Purple BLE Restore #2

JerryM365 opened this issue Dec 3, 2020 · 7 comments

Comments

@JerryM365
Copy link

Hey, how do i flash the purple(violet) BLE with ST-LINK cause i cant seem to find the .bat for the violet ble.

@ercintorun
Copy link

Purple BLE has a different chip, and i think it has different connections. I assume Pro versions of camialfa is not going to work on that board. Have a look at the forum below, they managed to find connections and changed ble file according to the design:
https://electro.club/forum/m365_pro_ble_net_izobrazheniya?page=2

I managed to upgrade the purple board to v090 using this file with st-link:
https://electro.club/data/forum/messages/153709/BleRecPurple.zip (Extracted it into flashing folder and used .bat)

Camialfa, could you also please create versions for this purple boards, i would be glad if i could use your 074 v10 on purple board.

Thanks for your efforts.

@JonOLinux
Copy link

JonOLinux commented Feb 9, 2022

Hello,
In order to flash the last Purple controller (v3.22 / 2019) to BLEV074 properly with STLlink you need to :

1 : Download & unzip this file :
BLE PURPLE

2 : Install drivers : /Guia BLE PURPLE/Guia BLE PURPLE/Winx32 or Winx64 directory /

3 : Wire properly and connect to computer
If no sound or no screen => switch the +5v on the opposite pin of the round cable

3 : Launch "Reprogramar ble.bat" /Guia BLE PURPLE/Guia BLE PURPLE/Winx32 or Winx64 directory /

If no device detected issue => Reverse Swclk and Swd wire.
if library issue => Reinstall drivers or check Zadig and reinstall WinUSB

4 : Update to the last version :

Once you've done the flash, you will have the BLE074 V4.
Use DownG with your mobile phone and update to the last version available 074v10

I hope this post will help you guys.

@moukrea
Copy link

moukrea commented Jun 2, 2022

Just adding little piece of information to flash correctly a purple "Pro" dashboard (credits goes to @JonOLinux, but this acts as a tutorial)...

The following is to be done in Windows

  1. Download Zadig and run it
  2. Select the ST-Link in the devices list from Zadig and install the WinUSB driver (if you haven't installed the drivers yet)
  3. Download BLE PURPLE and unzip it
  4. Get into the unzipped directory, then Windows 64 bits (or Windows 32 bits if you are using an x86 CPU)
  5. Copy pro074_flash.hex and Reprogramar ble.bat files and paste them into the stlink_m365_BLE/flashing directory of this repository (assuming you already downloaded it as a zip or through git)
  6. Run the Reprogramar ble.bat file from stlink_m365_BLE/flashing
  7. Plug your ST-Link wired to the dashboard according to this diagram
  8. Wait for the flash to complete (if this doesn't work, switch SWCLK and SWD wires)

Your purple dashboard should be flashed with some unknown version of CamiBLE, from now on you can download one of the zip files from here (stlink_m365_ble/Downg_zips/Purple/, latest version to date is 074_V10_PURPLE.zip) on your phone, then flash it with DownG

@CamiAlfa it would be great if you could add files to flash purple dashboards directly with ST-Link in this repository! Also, could you share the way to modify stock BLEs to make them work on purple dashboards?

@dantefff
Copy link

dantefff commented Nov 7, 2022

I have restored my purple BLE board with this method (switching SWCLK and SWD wires). @CamiAlfa this should be in a wiki page instead in a issue

@dantefff
Copy link

dantefff commented Nov 8, 2022

For now on I have documented this here: https://github.com/dantefff/stlink_m365_BLE/wiki

In this repository openocd is also upgraded to version 0.11 and a script to flash in Linux is also included

@Maclinksys
Copy link

Solo agregando una pequeña pieza de información para mostrar correctamente un panel de control púrpura "Pro" (los créditos son para@JonOLinux, pero esto actúa como un tutorial)...

Lo siguiente se debe hacer en Windows

  1. Descarga Zadig y ejecútalo
  2. Seleccione ST-Link en la lista de dispositivos de Zadig e instale el controlador WinUSB (si aún no ha instalado los controladores)
  3. Descarga BLE PURPLE y descomprímelo
  4. Ingrese al directorio descomprimido, entonces Windows 64 bits (o Windows 32 bitssi está usando una CPU x86)
  5. Copie pro074_flash.hexy Reprogramar ble.batarchive y péguelos en el stlink_m365_BLE/flashingdirectorio de este repositorio (asumiendo que ya lo descargó como zip o a través de git)
  6. Ejecutar el Reprogramar ble.batarchivo desdestlink_m365_BLE/flashing
  7. Conecte su ST-Link cableado al tablero de acuerdo con este diagrama
  8. Espere a que se complete el flash (si esto no funciona, cambie SWCLKy SWDconecte)

Su panel de control púrpura debe mostrarse con alguna versión desconocida de CamiBLE, a partir de ahora puede descargar uno de los archivos zip desde aquí ( stlink_m365_ble/Downg_zips/Purple/, la última versión hasta la fecha es 074_V10_PURPLE.zip) en su teléfono, luego flashearlo con DownG

@CamiAlfa¡Sería genial si pudieras agregar archivos para flashear tableros morados directamente con ST-Link en este repositorio! Además, ¿podría compartir la forma de modificar los BLE de stock para que funcionen en tableros morados?

Hola, estoy probandolo todo y no consigo ejecutar el .bat en Windows. Una ayuda
20230624_205425
20230624_214050
20230624_214058

@Maclinksys
Copy link

Maclinksys commented Jun 24, 2023

Ya lo he conseguido, decir que solo me ha funcionado haciendo la conexión de 3.3V desde stlink y placa violeta.
Un Saludo

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

6 participants