MP3 Player Touch - firmware 2.6 (2026-11-13)
=============================================

mp3player_v2.6.hex contains both memories of the STM32F746G-DISCO:
  - internal flash at 0x08000000 (program)
  - external QSPI flash at 0x90000000 (images, fonts, texts)
Both are written in one go. The QSPI part needs the external loader of the board.


What you need
-------------
- STM32CubeProgrammer (free download from st.com, Windows/Linux/macOS)
- USB cable to the ST-LINK connector of the board (CN14, USB Mini-B)


Flashing with the STM32CubeProgrammer GUI
-----------------------------------------
1. Switch the player on. It switches itself off after some idle minutes; the
   ST-LINK cannot reach a switched off board ("no target found").
2. Connect the USB cable to CN14 and start STM32CubeProgrammer.
3. Connection settings (right): ST-LINK, port SWD, mode "Under reset",
   then "Connect".
4. "External loaders" (left, EL icon): tick N25Q128A_STM32F746G-DISCO.
5. "Erasing & programming" (left): select mp3player_v2.6.hex as file path,
   tick "Verify programming" and "Run after programming", "Start Programming".
   Writing the QSPI part takes about a minute.


Flashing with the command line
------------------------------
STM32_Programmer_CLI -c port=SWD mode=UR -el "<CubeProgrammer>/bin/ExternalLoader/N25Q128A_STM32F746G-DISCO.stldr" -w mp3player_v2.6.hex -v -rst

<CubeProgrammer> is the installation folder, for example
C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer


Update from an older version
----------------------------
- Settings and the stored playback positions are converted automatically on
  the first start (the table now holds 48 playback folders per main folder).
- The new list layout is off by default: parents menu -> layout "List".
- Internet radio needs a network cable at the RJ45 socket of the board (DHCP).

If "Unable to get core ID" or "No STM32 target found" appears: check that the
player is switched on and try again.
