<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.why2025.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Frederik</id>
	<title>WHY2025 wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.why2025.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Frederik"/>
	<link rel="alternate" type="text/html" href="https://wiki.why2025.org/Special:Contributions/Frederik"/>
	<updated>2026-04-24T20:19:50Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://wiki.why2025.org/index.php?title=Badge_Issues&amp;diff=20506</id>
		<title>Badge Issues</title>
		<link rel="alternate" type="text/html" href="https://wiki.why2025.org/index.php?title=Badge_Issues&amp;diff=20506"/>
		<updated>2025-08-16T14:17:20Z</updated>

		<summary type="html">&lt;p&gt;Frederik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Please edit this page ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please edit this page to add your issue or increase the interest counter&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;[number]&#039;&#039; in front of each question is the interest counter. Increase it by one if you have the same question.&lt;br /&gt;
&lt;br /&gt;
== Badge Hardware Questions/Issues ==&lt;br /&gt;
=== Answered ===&lt;br /&gt;
==== [1] After reflash and exiting the intial sponsors screen, the screen stays blue ====&lt;br /&gt;
* =&amp;gt; Reflash the badge using the web flasher. (https://why-prog.heplaphon.com/). Use the USB socket on the left side for flashing. After the update unplug/replug the USB. Make sure to use a good cable as the badge is power hungry.&lt;br /&gt;
==== [2] How do I reset the badge on battery? ====&lt;br /&gt;
* =&amp;gt; Applying usb power will reset the badge&lt;br /&gt;
==== [4] Batteries ar being held firmly (maybe a bit too firmly) in place in the battery holder. How can I safely remove the batteries? What tool to use for this without damaging the batteries or the PCB? ====&lt;br /&gt;
* =&amp;gt; Try gripping it with rubber gloves on.&lt;br /&gt;
* =&amp;gt; For future handling, add strong tape around it, so that you&#039;ll have a lid to pull on for extra support&lt;br /&gt;
&lt;br /&gt;
==== [3] The badge suddenly stopped working. Serial shows boot-loop with message &amp;lt;pre&amp;gt;Cannot connect to target. Error: TIMEOUT &amp;lt;/pre&amp;gt; ====&lt;br /&gt;
* =&amp;gt; Reseating the ESP daughterboard (fitted with a screw) helped here.&lt;br /&gt;
* =&amp;gt; M.2 socket of ESP daughterboard can break off without being immediately visible. This also leads to this error. [https://chaos.social/@xro/115011118785473303 Re-soldering fixed it.] &lt;br /&gt;
Trace of boot-loop:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./idf.py monitor&lt;br /&gt;
W (1098) fatfs-sd: SD card not mounted&lt;br /&gt;
E (1108) device: The device does not exist SD0&lt;br /&gt;
Cannot connect to target. Error: TIMEOUT&lt;br /&gt;
Check if the host and the target are properly connected.&lt;br /&gt;
E (4828) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107&lt;br /&gt;
HINT: Please reboot the board and then try again&lt;br /&gt;
E (4828) sdio_wrapper: sdmmc_card_init failed&lt;br /&gt;
E (4828) H_SDIO_DRV: sdio card init failed&lt;br /&gt;
Crashing in ESP-IDF task&lt;br /&gt;
Guru Meditation Error: Core  1 panic&#039;ed (Instruction access fault). Exception was unhandled.&lt;br /&gt;
&lt;br /&gt;
--- Stack dump detected&lt;br /&gt;
Core  1 register dump:&lt;br /&gt;
MEPC    : 0x00000000  RA      : 0x00000000  SP      : 0x4ff278c0  GP      : 0x4ff18580&lt;br /&gt;
TP      : 0x4ff278e0  T0      : 0x4ff0f4a6  T1      : 0x4ff120a8  T2      : 0xffffffff&lt;br /&gt;
--- 0x4ff0f4a6: spinlock_release at /home/bernhard/source/why2025-badge-firmware/components/esp_hw_support/include/spinlock.h:181&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== [5] Some keys (the `w` key in my case) don&#039;t register. I&#039;ve tried with the nametag app and with the new System Settings app, and it didn&#039;t work on either. ====&lt;br /&gt;
[[User:Bytefighter|bytefighter]] ([[User_talk:Bytefighter|talk]]) 01:24, 14 August 2025 (CEST)&lt;br /&gt;
* =&amp;gt; Check for [https://chaos.social/@edronik/115027350958230845 crusty stuff under the metal membrane]&lt;br /&gt;
==== [8] The antenna isn&#039;t connected yet. Can I use the device without damaging anything? ====&lt;br /&gt;
* The antenna is used by the LoRa radio. At the moment of writing there is no badge firmware available that uses the LoRa radio. This means that for now the device can safely be used without the antenna (socket) attached.&lt;br /&gt;
* As soon as you do start using the LoRa radio, there is a potential for damage when the badge is used without the antenna. Attaching the antenna requires some extra precautions. See the instructions on attaching the socket further down on this wiki page for tips and tricks.&lt;br /&gt;
** (Can not include link as the HTTP anchor contains square brackets)&lt;br /&gt;
==== [2] How to solder the antenna-connector? The center pin can&#039;t be reached. Do we disassemble the screen to solder from the other side? Any modifications needed, so the screen spacer still fits? ====&lt;br /&gt;
&lt;br /&gt;
[[User:RobotJoosen|robotjoosen]] 22:11, 14 August 2025 (GMT)&lt;br /&gt;
&lt;br /&gt;
* =&amp;gt; You have to take the badge apart by unscrewing all four screws. Then you are able to solder on the antenna. The socket should be on the other side of the screen side, otherwise you can&#039;t put the spacer and frontplant back on.&lt;br /&gt;
* =&amp;gt; The two pins closest to the screen are very close to the screen, when soldering them the screen can get damaged. When you are not confident in your solder skills you can leave them unsoldered but this does affect the rigidity of the antenna. When soldering you can use some heat resistant tape like kapton, this does not fully protect the screen but can help. &lt;br /&gt;
* =&amp;gt; Ideally you take the screen of which can be done with some dental floss, although this could damage the screen. &lt;br /&gt;
* =&amp;gt; The spacer won&#039;t fit with, a quick fix would be to widen the holes with you soldering iron, or use a drill to increase the size.&lt;br /&gt;
&lt;br /&gt;
=== Unanswered ===&lt;br /&gt;
* Got a question that is already listed but not answered yet? The &#039;&#039;[number]&#039;&#039; in front of each question is the interest counter. Edit this wiki and increase the counter by one if you have the same question. This allows us to prioritize. Thank you!&lt;br /&gt;
* Got an answer? Please edit the wiki, add your answer and move the question to the Answered section. Thank you for your contribution!&lt;br /&gt;
==== [3] Screen flickers sometimes. Is this a defect? I tried looking at the screen ribbon cable, it seems OK. ====&lt;br /&gt;
* =&amp;gt; (bend the board -&amp;gt; more flicker?)&lt;br /&gt;
* =&amp;gt; I had to resolder the m.2 connector (use flux and touch every pin with soldering iron) &lt;br /&gt;
==== [4] screen is not turning on at all. ====&lt;br /&gt;
* =&amp;gt; I had to resolder the m.2 connector (use flux and touch every pin with soldering iron)&lt;br /&gt;
* =&amp;gt; extreme case: (https://chaos.social/@xro/115011118785473303)&lt;br /&gt;
==== [7] Can not turn off badge while charging. ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [9] One battery holder has a big blob of epoxy where it should contact the battery. Is there a good way to remove it? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [10] Badge updates apps after starting an app that isn&#039;t the updater ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [11] Sponsor screen replays (unskippable) after every flash ====&lt;br /&gt;
&lt;br /&gt;
[[User:RobotJoosen|robotjoosen]] 22:11, 14 August 2025 (GMT)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;=&amp;gt; Press `fn + x` to skip sponsor screen&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[User:Tielemans.jorim|Tielemans.jorim]] 14:13, 16 August 2025 (CEST)&lt;br /&gt;
&lt;br /&gt;
`fn + x` should not be used as this force closes the sponsors app. You need to wait for it to at least play once and use the `esc` key once shown on screen.&amp;lt;br&amp;gt;Terminating the sponsors app early might result in not being able to open other apps.&lt;br /&gt;
&lt;br /&gt;
==== [12] Double-tapping the power button doesn&#039;t shut down the badge ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [13] Where do we get the badge now that the event is over? The lines were huge or the stand was closed. Can we pay for shipping to get them later? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [14] Is it possible to insert an SD card without removing the daughter board (with cells installed)? ====&lt;br /&gt;
&lt;br /&gt;
[[User:RobotJoosen|robotjoosen]] 22:13, 14 August 2025 (GMT)&lt;br /&gt;
&lt;br /&gt;
=&amp;gt; No, there is not physical space to insert a SD card without bending/breaking it. It is also not possible without the cells.&lt;br /&gt;
&lt;br /&gt;
==== [1] Flashing to `BadgeVMS post_event` might work fine, until a reboot. This appears to happen only on devices with an SD-card installed, it will result in the error `Could not open APPS:[badgevms_launcher]badgevms_launcher.elf` [https://pastebin.com/zMr45zHT pastebin] ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
* Addendum, See also: [https://gitlab.com/why2025/team-badge/firmware/-/issues?show=eyJpaWQiOiI5IiwiZnVsbF9wYXRoIjoid2h5MjAyNS90ZWFtLWJhZGdlL2Zpcm13YXJlIiwiaWQiOjE3MTg4NzgyNX0%3D Boot is stuck, when fitted with an SD card]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== [2] Damaged wrapping of an 18650 battery, is this an issue? ====&lt;br /&gt;
* Is this an issue? (see picture) [[File:Badge 18650 with a small mark.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
==== [1] The white overlay(layer) between the keyboard and the PCB is missing, so typing does not work, can I obtain this somewhere? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] Screen wobbles horizontal (X-Axis) with random amount. (Allready flashed newest firmware (Badge VMS post_event) without any changes). Wobble gets worse the longer the device is on. Starts after about 3 Minutes. Slight wobble can be triggert by pressing a button keyboard ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] Screen has yellowish pixel failures [[File:PXL 20250815 195829061.jpg|thumb]] Screen also wobbles horizontal after few minutes (see topic above) ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] I&#039;d like to remove the 18650 cell holders but the epoxy is holding them in a bit too well. Has anyone managed to find a non-destructive way to do this? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] I&#039;d like to power the badge using a conventional LiPo pouch, but I don&#039;t see a header anywhere that I could solder a JST connector to. Has anyone else achieved this? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] There&#039;s a header (LS1) between the M.2 board and one of the cell holders which seems (from the schematics) to be for a speaker. Has anyone got this working? What parts did you use? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] Badge shows yellow screen randomly (seems related to daughter M.2 board) ====&lt;br /&gt;
&lt;br /&gt;
Randomly the badge display turns yellow.  &lt;br /&gt;
&lt;br /&gt;
What I tried:  &lt;br /&gt;
* Swapped the daughter M.2 ESP board with another badge → the yellow screen issue followed the daughterboard, not the main board.  &lt;br /&gt;
* Serial log shows no errors at the moment the display turns yellow.&lt;br /&gt;
* Tried many different firmwares, currently running the post event firmware.  &lt;br /&gt;
&lt;br /&gt;
This suggests the issue is related to the M.2 daughterboard, likely power instability under load.  &lt;br /&gt;
&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
== Badge User Questions/Issues ==&lt;br /&gt;
=== Answered ===&lt;br /&gt;
==== [1] Inside program “c64emu” v1 trying Shift+{number} prints the number to console and not the symbol. This behaviour works in “crackme” v3. ====&lt;br /&gt;
* Thank you for reporting this, I&#039;ve fixed this and released a new version with improved keyboard handling (v2.0.1). --[[User:Wallaby|Wallaby]] ([[User talk:Wallaby|talk]]) 14:37, 11 August 2025 (CEST)&lt;br /&gt;
==== [5] WHY2025 OTA updater is not reacting. ====&lt;br /&gt;
* =&amp;gt; We are working on this. For now, don&#039;t touch it and instead just wait at least 30 seconds.&lt;br /&gt;
** =&amp;gt; This didn&#039;t work for me; I had to re-flash the firmware. [[User:Bytefighter|bytefighter]] ([[User_talk:Bytefighter|talk]]) 08:53, 13 August 2025 (CEST)&lt;br /&gt;
** =&amp;gt; Any update on this? &amp;quot;OTA&amp;quot; and &amp;quot;Hello&amp;quot; app don&#039;t do anything. Not even an error message. Is there a hidden Wifi settings menu or something for the &amp;quot;over the air&amp;quot; part? Maybe a USB-C to Ethernet dongle?&lt;br /&gt;
==== [3] There is a stripe and/or &amp;quot;HD3&amp;quot; stamp on my screen ====&lt;br /&gt;
* Test if you see these when the badge is off.&lt;br /&gt;
* There is a protective cellophane sheet attached to the screen for protection against scratches and dirt. Remove the cellophane sheet by peeling it off. There&#039;s a tab to peel in the lower right corner. This tab may be under the front cover or the spacer.&lt;br /&gt;
* I saw at least one device where the sticky tape area was &#039;&#039;&#039;under&#039;&#039;&#039; the front cover. --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:03, 11 August 2025 (CEST)&lt;br /&gt;
** Assemblers of the spacer/keyboard/front cover were at some point instructed to keep the tab to peel of the protective layer under the spacer. Reason for this: unknown. Perhaps to reduce the change of them coming off while the badges were still being assembled. --[[User:44x|44x]] 23:33, 14 August 2025 (CEST)&lt;br /&gt;
==== [2] Could do one update, then three updates and then BadgeVMS Firmware Version 4. Now I a offered this update on every boot and can do nothing else, even though I have installed it already ====&lt;br /&gt;
* reboot fixes this.&lt;br /&gt;
==== [3] My Badge is showing a yellow screen. Its starting with a blue screen and shows the Menu for a few seconds an then turns yellow. What does this indicate? ====&lt;br /&gt;
* The v5 firmware had this bug. Reflash with a newer to fix.&lt;br /&gt;
==== [11] I’m finally home! How do I connect the badge to my local Wi-Fi? ====&lt;br /&gt;
* Lazy, hacky method: Create an open Wi-Fi network with the SSID &amp;quot;WHY2025-open&amp;quot; (the O not as a capital letter) and run the OTA update app.&lt;br /&gt;
* Easy method: Use the [https://why-prog.heplaphon.com/ WHY badge flasher] to install the &amp;quot;BadgeVMS post_event&amp;quot; firmware which includes an app called System Settings which allows you to connect to your home Wi-Fi network.&lt;br /&gt;
** This requires a desktop Google Chrome or Microsoft Edge. Firefox is not supported.&lt;br /&gt;
** The USB cable must be in the socket on the side. Not the bottom.&lt;br /&gt;
** The correct COM port is named &amp;quot;USB Serial&amp;quot;. Not &amp;quot;USB Jtag/Serial&amp;quot; or &amp;quot;CDC&amp;quot;&lt;br /&gt;
?? What if &amp;quot;USB Serial is not showing up ??&lt;br /&gt;
* Developer method:&lt;br /&gt;
** Clone the badge firmware repository.&lt;br /&gt;
** Edit `wifi_config` in `badgevms/drivers/wifi.c`.&lt;br /&gt;
** Change `.ssid` to your network name.&lt;br /&gt;
** Directly below `.ssid` add a line with `.password = &amp;quot;your network password&amp;quot;,`.&lt;br /&gt;
** Then build/flash the firmware: `idf.py build flash`.&lt;br /&gt;
* Dev-in-a-hurry:&lt;br /&gt;
** Collect the latest firmware here: https://gitlab.com/why2025/team-badge/firmware/-/releases&lt;br /&gt;
** use esptool.py -p /dev/cu.wch* write_flash 0 firmware_81d7cdf7.bin&lt;br /&gt;
** use the System Settings which allows you to connect to your home Wi-Fi network.&lt;br /&gt;
&lt;br /&gt;
==== There&#039;s sticky transparent stuff on my badge, what should I do? ====&lt;br /&gt;
* The sticky stuff is UV epoxy that is not fully cured.&lt;br /&gt;
* It is very much recommended to fully cure the epoxy first.&lt;br /&gt;
** If you have touched the sticky epoxy, wash your hands.&lt;br /&gt;
** ⚠️ Note that according to the interwebz some people can be allergic to uncured epoxy. It is not ruled out you may see an allergic reaction. Always contact a medical professional if you see effects and have questions.&lt;br /&gt;
* Where can I expect epoxy on my badge?&lt;br /&gt;
** Epoxy should have been applied to the ends of the battery holders, where the holders are soldered onto the PCB. There are 4 spots in total. In some cases epoxy may not cover the area that needs protecting.&lt;br /&gt;
** You may however also observe epoxy in other spots, such as:&lt;br /&gt;
*** The back side near the bottom USB-C port and the screw holes, preventing screws from going through.&lt;br /&gt;
*** The front side of the badge near the keyboard, which may prevent the keyboard from fully functioning. This includes the area under the white membrane layer. [https://chaos.social/@edronik/115027350958230845 More information from someone who has experienced this].&lt;br /&gt;
*** Basically any place liquid could have flowed to from the location the epoxy was applied since the epoxy was runny when it was applied.&lt;br /&gt;
* How to cure the epoxy?&lt;br /&gt;
** The epoxy is cured by exposing it to UV light. A popular source of UV light is the sun. Even if it is cloudy or somewhat later in the afternoon, UV light is still present so you don&#039;t need to put the badge in the scorching sun to cure the epoxy.&lt;br /&gt;
** 1. Shut down badge, remove batteries or any other power source. Do not expose those to the hot sun.&lt;br /&gt;
** 2. Place your badge outside in daylight. Make sure all spots that have UV resin on them are exposed. In direct sunlight it is recommended to cover other components.&lt;br /&gt;
** 3. Leave for 30 to 60 minutes.&lt;br /&gt;
** 4. Regularly check and leave exposed to daylight until all blobs of epoxy have fully cured and are no longer sticky at all. Wash hands after every check.&lt;br /&gt;
&lt;br /&gt;
=== Unanswered ===&lt;br /&gt;
* Got a question that is already listed but not answered yet? The &#039;&#039;[number]&#039;&#039; in front of each question is the interest counter. Edit this wiki and increase the counter by one if you have the same question. This allows us to prioritize. Thank you!&lt;br /&gt;
* Got an answer? Please edit the wiki, add your answer and move the question to the Answered section. Thank you for your contribution!&lt;br /&gt;
==== [4] OTA update screen appears on first boot, after pressing space bar, blue screen with nothing happening for over an hour. ====&lt;br /&gt;
* Have the same problem after first OTA update. Update started but the device stuck on bluescreen for an hour or so before I removed power. After flashing a new firmware using the [https://why-prog.heplaphon.com web updater] it works again (use the USB slot on the side, otherwise you get an error message &amp;quot;Your ESP C6 chip is unsupported&amp;quot;). [https://pastebin.com/VjMA5ZZA Logfiles] --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:03, 11 August 2025 (CEST)&lt;br /&gt;
** No, it doesn&#039;t. It displayed the sponsors page once but returned to the bluescreen afterwards. [https://pastebin.com/cCKejKCk Logs from the side USB port]. --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:18, 11 August 2025 (CEST)&lt;br /&gt;
** Uploaded another log containing the complete first boot after flashing the new firmware: https://pastebin.com/3NiSRncL (edit: see below). Note the exception at the end: &amp;quot;Task 4 caused an unhandled exception, Cerberos will deal with it&amp;quot;. After that, no new entries appear and the display stays blue. --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:25, 11 August 2025 (CEST)&lt;br /&gt;
** Was wrong about that again. There were more log entries while I wrote the previous comments. Here is the complete log: https://pastebin.com/KMQwhBPv --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:34, 11 August 2025 (CEST)&lt;br /&gt;
* Anyone managed to fix that errpr and getting the Bagde running again? --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 13:16, 13 August 2025 (CEST)&lt;br /&gt;
==== [7] Blue screen. Nothing happening. ====&lt;br /&gt;
* =&amp;gt; Not official answer: What helped for me was reflashing the badge via the flash station at the badge tent.&lt;br /&gt;
* Might be missing symbols, ota might work. Flash, don&#039;t reboot yet and ota first.&lt;br /&gt;
* Might be because of a known issue regarding the sd card, if you have this issue with an sd card inserted, try again when removing it. See also: [https://gitlab.com/why2025/team-badge/firmware/-/issues?show=eyJpaWQiOiI5IiwiZnVsbF9wYXRoIjoid2h5MjAyNS90ZWFtLWJhZGdlL2Zpcm13YXJlIiwiaWQiOjE3MTg4NzgyNX0%3D Boot is stuck, when fitted with an SD card]&lt;br /&gt;
&lt;br /&gt;
==== [1] Cannot build the firmware from https://gitlab.com/why2025/team-badge/firmware/. Tried to build main and flashed_at_first_handout - both fail because of the following error: https://pastebin.com/H4xwPLhC ====&lt;br /&gt;
* Do you have the latest ESP-IDF installed? (Version 5.5)&lt;br /&gt;
==== [1] stuck at do_http(https://badge.why2025.org/api/v3/projects/why2025_firmware_ota_c6/rev4/files/version.txt) error: server response: &#039;{&amp;quot;reason&amp;quot;:&amp;quot;No app with slug &#039;why2025_firmware_ota_c6&#039; and revision &#039;4&#039; found&amp;quot;}&#039; ====&lt;br /&gt;
&lt;br /&gt;
==== [5] The badge is not detect on my mac when I connect it by side port: ====&lt;br /&gt;
* &#039;&#039;&#039;Don&#039;t&#039;&#039;&#039; use brew, it has been reported not to work.&lt;br /&gt;
* Follow these instructions: [[Badge/MacOS_Drivers]]&lt;br /&gt;
==== [1] I can&#039;t flash the badge - it says the board is incompatible ====&lt;br /&gt;
* =&amp;gt; Use the USB-C port on the side of the board, not the one on the bottom&lt;br /&gt;
==== [1] The letter &amp;quot;a&#039; is represented by a horizontal dash in the nametag app ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] The launcher says that &amp;quot;Enter&amp;quot; will launch an app while it really launches when pressing &amp;quot;Space&amp;quot;. ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] The settings app does react veeeee*ry slowly, sometimes I have to press Enter multiple times to get to the list of WiFi networks (and sometimes, one of those keypresses instantly selects a network) ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
== Badge Firmware Development related Questions/Issues ==&lt;br /&gt;
==== [2] Flashing takes forever (&amp;gt;40 seconds) for a trivial application. Can I speed this up? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] Following the gdb debugging instructions doesn&#039;t work. ====&lt;br /&gt;
===== What I tried =====&lt;br /&gt;
&lt;br /&gt;
I followed https://docs.espressif.com/projects/esp-idf/en/v5.5/esp32p4/api-guides/jtag-debugging/using-debugger.html#jtag-debugging-using-debugger-command-line on the [https://gitlab.com/why2025/team-badge/firmware/-/tree/644f502e72259228efa9b2423a91fbc4aed5f3d4/ firmware repository with commit 644f502e72259228efa9b2423a91fbc4aed5f3d4 (tag: v6)].&lt;br /&gt;
&lt;br /&gt;
I am always using the side port on the badge, and I have confirmed that flashing normally works OK. I can also monitor serial and do basic printf debugging in C.&lt;br /&gt;
&lt;br /&gt;
It seems the &amp;lt;code&amp;gt;.gdbinit&amp;lt;/code&amp;gt; files are generated OK (step 3).&lt;br /&gt;
&lt;br /&gt;
I edited the third line in file &amp;lt;code&amp;gt;build/gdbinit/connect&amp;lt;/code&amp;gt;, from &amp;lt;code&amp;gt;target remote :3333&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;target remote /dev/ttyUSB0&amp;lt;/code&amp;gt; (I determined that this was the correct serial port by seeing the difference in &amp;lt;code&amp;gt;ll /dev&amp;lt;/code&amp;gt; output before and after plugging in my badge).&lt;br /&gt;
&lt;br /&gt;
Then I ran the command in step 4 with the correct elf file, like &amp;lt;code&amp;gt;riscv32-esp-elf-gdb -q -x build/gdbinit/symbols -x build/gdbinit/prefix_map -x build/gdbinit/connect build/badgevms.elf&amp;lt;/code&amp;gt;, but it hangs. After doing ^C I can get back to a (gdb) prompt, and when I explicitly do &amp;lt;code&amp;gt;target remote /dev/ttyUSB0&amp;lt;/code&amp;gt;, it still hangs.&lt;br /&gt;
&lt;br /&gt;
Error log (I do ^C twice, and then ^D to quit the gdb prompt):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ riscv32-esp-elf-gdb -q -x build/gdbinit/symbols -x build/gdbinit/prefix_map -x build/gdbinit/connect build/badgevms.elf&lt;br /&gt;
Reading symbols from build/badgevms.elf...&lt;br /&gt;
add symbol table from file &amp;quot;/home/moomin/Desktop/badge/firmware/build/bootloader/bootloader.elf&amp;quot;&lt;br /&gt;
^CQuit&lt;br /&gt;
(gdb) target remote /dev/ttyUSB0&lt;br /&gt;
Remote debugging using /dev/ttyUSB0&lt;br /&gt;
^CQuit&lt;br /&gt;
(gdb) quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Resolution =====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] After installing OTA update, application updates AND System Update &amp;quot;BadgeVMS Firmware, Version 4, Main Badge Firmware&amp;quot; the system restarts showing System Updates =&amp;gt; &amp;quot;Updates available 1&amp;quot; =&amp;gt; &amp;quot;BadgeVMS Firmware, Version 4, Main Badge Firmware&amp;quot;. Selecting it, installing it and autorstarting leads back to this same screen. I seem to be stuck in a loop of the update process. ====&lt;br /&gt;
* =&amp;gt; Shut down your badge by double tapping the power button. Restart. You should now see the application WHY Application Launcher.&lt;br /&gt;
** =&amp;gt; But double-tapping the power button doesn&#039;t shut down the badge...&lt;br /&gt;
*** hold ot down for 13+ seconds for a hard reboot.&lt;br /&gt;
&lt;br /&gt;
== BadgeHub related Questions/Issues ==&lt;br /&gt;
==== [2] How do I get apps from the BadgeHub onto the Badge? Is it possible without an SD card (I don&#039;t have one). I can build apps and flash the firmware, but I have no idea how to get pre-compiled ELFs on there. ====&lt;br /&gt;
* =&amp;gt; If you have a SD card (if not, the mysteryhack village has a vending machine): Create the folder stucture ./BADGEVMS/APPS on there. In there, create a folder named like the badge hub project name. Download and put the .elf in there. Create a json file with the project name next to the folder and put the key/values for name, unique_identifier, version and binary_path in there. binary_path is just the full name of the .elf file.&lt;br /&gt;
** =&amp;gt; the mysteryhack village vending machine has been out of SD cards since day 0 or 1&lt;/div&gt;</summary>
		<author><name>Frederik</name></author>
	</entry>
	<entry>
		<id>https://wiki.why2025.org/index.php?title=Badge_Issues&amp;diff=20505</id>
		<title>Badge Issues</title>
		<link rel="alternate" type="text/html" href="https://wiki.why2025.org/index.php?title=Badge_Issues&amp;diff=20505"/>
		<updated>2025-08-16T14:12:47Z</updated>

		<summary type="html">&lt;p&gt;Frederik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Please edit this page ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please edit this page to add your issue or increase the interest counter&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;[number]&#039;&#039; in front of each question is the interest counter. Increase it by one if you have the same question.&lt;br /&gt;
&lt;br /&gt;
== Badge Hardware Questions/Issues ==&lt;br /&gt;
=== Answered ===&lt;br /&gt;
==== [1] After reflash and exiting the intial sponsors screen, the screen stays blue ====&lt;br /&gt;
* =&amp;gt; Reflash the badge using the web flasher. (https://why-prog.heplaphon.com/). Use the USB socket on the left side for flashing. After the update unplug/replug the USB. Make sure to use a good cable as the badge is power hungry.&lt;br /&gt;
==== [2] How do I reset the badge on battery? ====&lt;br /&gt;
* =&amp;gt; Applying usb power will reset the badge&lt;br /&gt;
==== [4] Batteries ar being held firmly (maybe a bit too firmly) in place in the battery holder. How can I safely remove the batteries? What tool to use for this without damaging the batteries or the PCB? ====&lt;br /&gt;
* =&amp;gt; Try gripping it with rubber gloves on.&lt;br /&gt;
* =&amp;gt; For future handling, add strong tape around it, so that you&#039;ll have a lid to pull on for extra support&lt;br /&gt;
&lt;br /&gt;
==== [3] The badge suddenly stopped working. Serial shows boot-loop with message &amp;lt;pre&amp;gt;Cannot connect to target. Error: TIMEOUT &amp;lt;/pre&amp;gt; ====&lt;br /&gt;
* =&amp;gt; Reseating the ESP daughterboard (fitted with a screw) helped here.&lt;br /&gt;
* =&amp;gt; M.2 socket of ESP daughterboard can break off without being immediately visible. This also leads to this error. [https://chaos.social/@xro/115011118785473303 Re-soldering fixed it.] &lt;br /&gt;
Trace of boot-loop:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./idf.py monitor&lt;br /&gt;
W (1098) fatfs-sd: SD card not mounted&lt;br /&gt;
E (1108) device: The device does not exist SD0&lt;br /&gt;
Cannot connect to target. Error: TIMEOUT&lt;br /&gt;
Check if the host and the target are properly connected.&lt;br /&gt;
E (4828) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107&lt;br /&gt;
HINT: Please reboot the board and then try again&lt;br /&gt;
E (4828) sdio_wrapper: sdmmc_card_init failed&lt;br /&gt;
E (4828) H_SDIO_DRV: sdio card init failed&lt;br /&gt;
Crashing in ESP-IDF task&lt;br /&gt;
Guru Meditation Error: Core  1 panic&#039;ed (Instruction access fault). Exception was unhandled.&lt;br /&gt;
&lt;br /&gt;
--- Stack dump detected&lt;br /&gt;
Core  1 register dump:&lt;br /&gt;
MEPC    : 0x00000000  RA      : 0x00000000  SP      : 0x4ff278c0  GP      : 0x4ff18580&lt;br /&gt;
TP      : 0x4ff278e0  T0      : 0x4ff0f4a6  T1      : 0x4ff120a8  T2      : 0xffffffff&lt;br /&gt;
--- 0x4ff0f4a6: spinlock_release at /home/bernhard/source/why2025-badge-firmware/components/esp_hw_support/include/spinlock.h:181&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== [5] Some keys (the `w` key in my case) don&#039;t register. I&#039;ve tried with the nametag app and with the new System Settings app, and it didn&#039;t work on either. ====&lt;br /&gt;
[[User:Bytefighter|bytefighter]] ([[User_talk:Bytefighter|talk]]) 01:24, 14 August 2025 (CEST)&lt;br /&gt;
* =&amp;gt; Check for [https://chaos.social/@edronik/115027350958230845 crusty stuff under the metal membrane]&lt;br /&gt;
==== [8] The antenna isn&#039;t connected yet. Can I use the device without damaging anything? ====&lt;br /&gt;
* The antenna is used by the LoRa radio. At the moment of writing there is no badge firmware available that uses the LoRa radio. This means that for now the device can safely be used without the antenna (socket) attached.&lt;br /&gt;
* As soon as you do start using the LoRa radio, there is a potential for damage when the badge is used without the antenna. Attaching the antenna requires some extra precautions. See the instructions on attaching the socket further down on this wiki page for tips and tricks.&lt;br /&gt;
** (Can not include link as the HTTP anchor contains square brackets)&lt;br /&gt;
==== [2] How to solder the antenna-connector? The center pin can&#039;t be reached. Do we disassemble the screen to solder from the other side? Any modifications needed, so the screen spacer still fits? ====&lt;br /&gt;
&lt;br /&gt;
[[User:RobotJoosen|robotjoosen]] 22:11, 14 August 2025 (GMT)&lt;br /&gt;
&lt;br /&gt;
* =&amp;gt; You have to take the badge apart by unscrewing all four screws. Then you are able to solder on the antenna. The socket should be on the other side of the screen side, otherwise you can&#039;t put the spacer and frontplant back on.&lt;br /&gt;
* =&amp;gt; The two pins closest to the screen are very close to the screen, when soldering them the screen can get damaged. When you are not confident in your solder skills you can leave them unsoldered but this does affect the rigidity of the antenna. When soldering you can use some heat resistant tape like kapton, this does not fully protect the screen but can help. &lt;br /&gt;
* =&amp;gt; Ideally you take the screen of which can be done with some dental floss, although this could damage the screen. &lt;br /&gt;
* =&amp;gt; The spacer won&#039;t fit with, a quick fix would be to widen the holes with you soldering iron, or use a drill to increase the size.&lt;br /&gt;
&lt;br /&gt;
=== Unanswered ===&lt;br /&gt;
* Got a question that is already listed but not answered yet? The &#039;&#039;[number]&#039;&#039; in front of each question is the interest counter. Edit this wiki and increase the counter by one if you have the same question. This allows us to prioritize. Thank you!&lt;br /&gt;
* Got an answer? Please edit the wiki, add your answer and move the question to the Answered section. Thank you for your contribution!&lt;br /&gt;
==== [3] Screen flickers sometimes. Is this a defect? I tried looking at the screen ribbon cable, it seems OK. ====&lt;br /&gt;
(bend the board -&amp;gt; more flicker)&lt;br /&gt;
I had to resolder the m.2 connector (use flux and touch every pin with soldering iron) &lt;br /&gt;
==== [4] screen is not turning on at all. ====&lt;br /&gt;
I had to resolder the m.2 connector (use flux and touch every pin with soldering iron)&lt;br /&gt;
extreme case: (https://chaos.social/@xro/115011118785473303)&lt;br /&gt;
==== [7] Can not turn off badge while charging. ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [9] One battery holder has a big blob of epoxy where it should contact the battery. Is there a good way to remove it? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [10] Badge updates apps after starting an app that isn&#039;t the updater ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [11] Sponsor screen replays (unskippable) after every flash ====&lt;br /&gt;
&lt;br /&gt;
[[User:RobotJoosen|robotjoosen]] 22:11, 14 August 2025 (GMT)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;=&amp;gt; Press `fn + x` to skip sponsor screen&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[User:Tielemans.jorim|Tielemans.jorim]] 14:13, 16 August 2025 (CEST)&lt;br /&gt;
&lt;br /&gt;
`fn + x` should not be used as this force closes the sponsors app. You need to wait for it to at least play once and use the `esc` key once shown on screen.&amp;lt;br&amp;gt;Terminating the sponsors app early might result in not being able to open other apps.&lt;br /&gt;
&lt;br /&gt;
==== [12] Double-tapping the power button doesn&#039;t shut down the badge ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [13] Where do we get the badge now that the event is over? The lines were huge or the stand was closed. Can we pay for shipping to get them later? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [14] Is it possible to insert an SD card without removing the daughter board (with cells installed)? ====&lt;br /&gt;
&lt;br /&gt;
[[User:RobotJoosen|robotjoosen]] 22:13, 14 August 2025 (GMT)&lt;br /&gt;
&lt;br /&gt;
=&amp;gt; No, there is not physical space to insert a SD card without bending/breaking it. It is also not possible without the cells.&lt;br /&gt;
&lt;br /&gt;
==== [1] Flashing to `BadgeVMS post_event` might work fine, until a reboot. This appears to happen only on devices with an SD-card installed, it will result in the error `Could not open APPS:[badgevms_launcher]badgevms_launcher.elf` [https://pastebin.com/zMr45zHT pastebin] ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
* Addendum, See also: [https://gitlab.com/why2025/team-badge/firmware/-/issues?show=eyJpaWQiOiI5IiwiZnVsbF9wYXRoIjoid2h5MjAyNS90ZWFtLWJhZGdlL2Zpcm13YXJlIiwiaWQiOjE3MTg4NzgyNX0%3D Boot is stuck, when fitted with an SD card]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== [2] Damaged wrapping of an 18650 battery, is this an issue? ====&lt;br /&gt;
* Is this an issue? (see picture) [[File:Badge 18650 with a small mark.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
==== [1] The white overlay(layer) between the keyboard and the PCB is missing, so typing does not work, can I obtain this somewhere? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] Screen wobbles horizontal (X-Axis) with random amount. (Allready flashed newest firmware (Badge VMS post_event) without any changes). Wobble gets worse the longer the device is on. Starts after about 3 Minutes. Slight wobble can be triggert by pressing a button keyboard ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] Screen has yellowish pixel failures [[File:PXL 20250815 195829061.jpg|thumb]] Screen also wobbles horizontal after few minutes (see topic above) ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] I&#039;d like to remove the 18650 cell holders but the epoxy is holding them in a bit too well. Has anyone managed to find a non-destructive way to do this? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] I&#039;d like to power the badge using a conventional LiPo pouch, but I don&#039;t see a header anywhere that I could solder a JST connector to. Has anyone else achieved this? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] There&#039;s a header (LS1) between the M.2 board and one of the cell holders which seems (from the schematics) to be for a speaker. Has anyone got this working? What parts did you use? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] Badge shows yellow screen randomly (seems related to daughter M.2 board) ====&lt;br /&gt;
&lt;br /&gt;
Randomly the badge display turns yellow.  &lt;br /&gt;
&lt;br /&gt;
What I tried:  &lt;br /&gt;
* Swapped the daughter M.2 ESP board with another badge → the yellow screen issue followed the daughterboard, not the main board.  &lt;br /&gt;
* Serial log shows no errors at the moment the display turns yellow.&lt;br /&gt;
* Tried many different firmwares, currently running the post event firmware.  &lt;br /&gt;
&lt;br /&gt;
This suggests the issue is related to the M.2 daughterboard, likely power instability under load.  &lt;br /&gt;
&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
== Badge User Questions/Issues ==&lt;br /&gt;
=== Answered ===&lt;br /&gt;
==== [1] Inside program “c64emu” v1 trying Shift+{number} prints the number to console and not the symbol. This behaviour works in “crackme” v3. ====&lt;br /&gt;
* Thank you for reporting this, I&#039;ve fixed this and released a new version with improved keyboard handling (v2.0.1). --[[User:Wallaby|Wallaby]] ([[User talk:Wallaby|talk]]) 14:37, 11 August 2025 (CEST)&lt;br /&gt;
==== [5] WHY2025 OTA updater is not reacting. ====&lt;br /&gt;
* =&amp;gt; We are working on this. For now, don&#039;t touch it and instead just wait at least 30 seconds.&lt;br /&gt;
** =&amp;gt; This didn&#039;t work for me; I had to re-flash the firmware. [[User:Bytefighter|bytefighter]] ([[User_talk:Bytefighter|talk]]) 08:53, 13 August 2025 (CEST)&lt;br /&gt;
** =&amp;gt; Any update on this? &amp;quot;OTA&amp;quot; and &amp;quot;Hello&amp;quot; app don&#039;t do anything. Not even an error message. Is there a hidden Wifi settings menu or something for the &amp;quot;over the air&amp;quot; part? Maybe a USB-C to Ethernet dongle?&lt;br /&gt;
==== [3] There is a stripe and/or &amp;quot;HD3&amp;quot; stamp on my screen ====&lt;br /&gt;
* Test if you see these when the badge is off.&lt;br /&gt;
* There is a protective cellophane sheet attached to the screen for protection against scratches and dirt. Remove the cellophane sheet by peeling it off. There&#039;s a tab to peel in the lower right corner. This tab may be under the front cover or the spacer.&lt;br /&gt;
* I saw at least one device where the sticky tape area was &#039;&#039;&#039;under&#039;&#039;&#039; the front cover. --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:03, 11 August 2025 (CEST)&lt;br /&gt;
** Assemblers of the spacer/keyboard/front cover were at some point instructed to keep the tab to peel of the protective layer under the spacer. Reason for this: unknown. Perhaps to reduce the change of them coming off while the badges were still being assembled. --[[User:44x|44x]] 23:33, 14 August 2025 (CEST)&lt;br /&gt;
==== [2] Could do one update, then three updates and then BadgeVMS Firmware Version 4. Now I a offered this update on every boot and can do nothing else, even though I have installed it already ====&lt;br /&gt;
* reboot fixes this.&lt;br /&gt;
==== [3] My Badge is showing a yellow screen. Its starting with a blue screen and shows the Menu for a few seconds an then turns yellow. What does this indicate? ====&lt;br /&gt;
* The v5 firmware had this bug. Reflash with a newer to fix.&lt;br /&gt;
==== [11] I’m finally home! How do I connect the badge to my local Wi-Fi? ====&lt;br /&gt;
* Lazy, hacky method: Create an open Wi-Fi network with the SSID &amp;quot;WHY2025-open&amp;quot; (the O not as a capital letter) and run the OTA update app.&lt;br /&gt;
* Easy method: Use the [https://why-prog.heplaphon.com/ WHY badge flasher] to install the &amp;quot;BadgeVMS post_event&amp;quot; firmware which includes an app called System Settings which allows you to connect to your home Wi-Fi network.&lt;br /&gt;
** This requires a desktop Google Chrome or Microsoft Edge. Firefox is not supported.&lt;br /&gt;
** The USB cable must be in the socket on the side. Not the bottom.&lt;br /&gt;
** The correct COM port is named &amp;quot;USB Serial&amp;quot;. Not &amp;quot;USB Jtag/Serial&amp;quot; or &amp;quot;CDC&amp;quot;&lt;br /&gt;
?? What if &amp;quot;USB Serial is not showing up ??&lt;br /&gt;
* Developer method:&lt;br /&gt;
** Clone the badge firmware repository.&lt;br /&gt;
** Edit `wifi_config` in `badgevms/drivers/wifi.c`.&lt;br /&gt;
** Change `.ssid` to your network name.&lt;br /&gt;
** Directly below `.ssid` add a line with `.password = &amp;quot;your network password&amp;quot;,`.&lt;br /&gt;
** Then build/flash the firmware: `idf.py build flash`.&lt;br /&gt;
* Dev-in-a-hurry:&lt;br /&gt;
** Collect the latest firmware here: https://gitlab.com/why2025/team-badge/firmware/-/releases&lt;br /&gt;
** use esptool.py -p /dev/cu.wch* write_flash 0 firmware_81d7cdf7.bin&lt;br /&gt;
** use the System Settings which allows you to connect to your home Wi-Fi network.&lt;br /&gt;
&lt;br /&gt;
==== There&#039;s sticky transparent stuff on my badge, what should I do? ====&lt;br /&gt;
* The sticky stuff is UV epoxy that is not fully cured.&lt;br /&gt;
* It is very much recommended to fully cure the epoxy first.&lt;br /&gt;
** If you have touched the sticky epoxy, wash your hands.&lt;br /&gt;
** ⚠️ Note that according to the interwebz some people can be allergic to uncured epoxy. It is not ruled out you may see an allergic reaction. Always contact a medical professional if you see effects and have questions.&lt;br /&gt;
* Where can I expect epoxy on my badge?&lt;br /&gt;
** Epoxy should have been applied to the ends of the battery holders, where the holders are soldered onto the PCB. There are 4 spots in total. In some cases epoxy may not cover the area that needs protecting.&lt;br /&gt;
** You may however also observe epoxy in other spots, such as:&lt;br /&gt;
*** The back side near the bottom USB-C port and the screw holes, preventing screws from going through.&lt;br /&gt;
*** The front side of the badge near the keyboard, which may prevent the keyboard from fully functioning. This includes the area under the white membrane layer. [https://chaos.social/@edronik/115027350958230845 More information from someone who has experienced this].&lt;br /&gt;
*** Basically any place liquid could have flowed to from the location the epoxy was applied since the epoxy was runny when it was applied.&lt;br /&gt;
* How to cure the epoxy?&lt;br /&gt;
** The epoxy is cured by exposing it to UV light. A popular source of UV light is the sun. Even if it is cloudy or somewhat later in the afternoon, UV light is still present so you don&#039;t need to put the badge in the scorching sun to cure the epoxy.&lt;br /&gt;
** 1. Shut down badge, remove batteries or any other power source. Do not expose those to the hot sun.&lt;br /&gt;
** 2. Place your badge outside in daylight. Make sure all spots that have UV resin on them are exposed. In direct sunlight it is recommended to cover other components.&lt;br /&gt;
** 3. Leave for 30 to 60 minutes.&lt;br /&gt;
** 4. Regularly check and leave exposed to daylight until all blobs of epoxy have fully cured and are no longer sticky at all. Wash hands after every check.&lt;br /&gt;
&lt;br /&gt;
=== Unanswered ===&lt;br /&gt;
* Got a question that is already listed but not answered yet? The &#039;&#039;[number]&#039;&#039; in front of each question is the interest counter. Edit this wiki and increase the counter by one if you have the same question. This allows us to prioritize. Thank you!&lt;br /&gt;
* Got an answer? Please edit the wiki, add your answer and move the question to the Answered section. Thank you for your contribution!&lt;br /&gt;
==== [4] OTA update screen appears on first boot, after pressing space bar, blue screen with nothing happening for over an hour. ====&lt;br /&gt;
* Have the same problem after first OTA update. Update started but the device stuck on bluescreen for an hour or so before I removed power. After flashing a new firmware using the [https://why-prog.heplaphon.com web updater] it works again (use the USB slot on the side, otherwise you get an error message &amp;quot;Your ESP C6 chip is unsupported&amp;quot;). [https://pastebin.com/VjMA5ZZA Logfiles] --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:03, 11 August 2025 (CEST)&lt;br /&gt;
** No, it doesn&#039;t. It displayed the sponsors page once but returned to the bluescreen afterwards. [https://pastebin.com/cCKejKCk Logs from the side USB port]. --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:18, 11 August 2025 (CEST)&lt;br /&gt;
** Uploaded another log containing the complete first boot after flashing the new firmware: https://pastebin.com/3NiSRncL (edit: see below). Note the exception at the end: &amp;quot;Task 4 caused an unhandled exception, Cerberos will deal with it&amp;quot;. After that, no new entries appear and the display stays blue. --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:25, 11 August 2025 (CEST)&lt;br /&gt;
** Was wrong about that again. There were more log entries while I wrote the previous comments. Here is the complete log: https://pastebin.com/KMQwhBPv --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:34, 11 August 2025 (CEST)&lt;br /&gt;
* Anyone managed to fix that errpr and getting the Bagde running again? --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 13:16, 13 August 2025 (CEST)&lt;br /&gt;
==== [7] Blue screen. Nothing happening. ====&lt;br /&gt;
* =&amp;gt; Not official answer: What helped for me was reflashing the badge via the flash station at the badge tent.&lt;br /&gt;
* Might be missing symbols, ota might work. Flash, don&#039;t reboot yet and ota first.&lt;br /&gt;
* Might be because of a known issue regarding the sd card, if you have this issue with an sd card inserted, try again when removing it. See also: [https://gitlab.com/why2025/team-badge/firmware/-/issues?show=eyJpaWQiOiI5IiwiZnVsbF9wYXRoIjoid2h5MjAyNS90ZWFtLWJhZGdlL2Zpcm13YXJlIiwiaWQiOjE3MTg4NzgyNX0%3D Boot is stuck, when fitted with an SD card]&lt;br /&gt;
&lt;br /&gt;
==== [1] Cannot build the firmware from https://gitlab.com/why2025/team-badge/firmware/. Tried to build main and flashed_at_first_handout - both fail because of the following error: https://pastebin.com/H4xwPLhC ====&lt;br /&gt;
* Do you have the latest ESP-IDF installed? (Version 5.5)&lt;br /&gt;
==== [1] stuck at do_http(https://badge.why2025.org/api/v3/projects/why2025_firmware_ota_c6/rev4/files/version.txt) error: server response: &#039;{&amp;quot;reason&amp;quot;:&amp;quot;No app with slug &#039;why2025_firmware_ota_c6&#039; and revision &#039;4&#039; found&amp;quot;}&#039; ====&lt;br /&gt;
&lt;br /&gt;
==== [5] The badge is not detect on my mac when I connect it by side port: ====&lt;br /&gt;
* &#039;&#039;&#039;Don&#039;t&#039;&#039;&#039; use brew, it has been reported not to work.&lt;br /&gt;
* Follow these instructions: [[Badge/MacOS_Drivers]]&lt;br /&gt;
==== [1] I can&#039;t flash the badge - it says the board is incompatible ====&lt;br /&gt;
* =&amp;gt; Use the USB-C port on the side of the board, not the one on the bottom&lt;br /&gt;
==== [1] The letter &amp;quot;a&#039; is represented by a horizontal dash in the nametag app ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] The launcher says that &amp;quot;Enter&amp;quot; will launch an app while it really launches when pressing &amp;quot;Space&amp;quot;. ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] The settings app does react veeeee*ry slowly, sometimes I have to press Enter multiple times to get to the list of WiFi networks (and sometimes, one of those keypresses instantly selects a network) ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
== Badge Firmware Development related Questions/Issues ==&lt;br /&gt;
==== [2] Flashing takes forever (&amp;gt;40 seconds) for a trivial application. Can I speed this up? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] Following the gdb debugging instructions doesn&#039;t work. ====&lt;br /&gt;
===== What I tried =====&lt;br /&gt;
&lt;br /&gt;
I followed https://docs.espressif.com/projects/esp-idf/en/v5.5/esp32p4/api-guides/jtag-debugging/using-debugger.html#jtag-debugging-using-debugger-command-line on the [https://gitlab.com/why2025/team-badge/firmware/-/tree/644f502e72259228efa9b2423a91fbc4aed5f3d4/ firmware repository with commit 644f502e72259228efa9b2423a91fbc4aed5f3d4 (tag: v6)].&lt;br /&gt;
&lt;br /&gt;
I am always using the side port on the badge, and I have confirmed that flashing normally works OK. I can also monitor serial and do basic printf debugging in C.&lt;br /&gt;
&lt;br /&gt;
It seems the &amp;lt;code&amp;gt;.gdbinit&amp;lt;/code&amp;gt; files are generated OK (step 3).&lt;br /&gt;
&lt;br /&gt;
I edited the third line in file &amp;lt;code&amp;gt;build/gdbinit/connect&amp;lt;/code&amp;gt;, from &amp;lt;code&amp;gt;target remote :3333&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;target remote /dev/ttyUSB0&amp;lt;/code&amp;gt; (I determined that this was the correct serial port by seeing the difference in &amp;lt;code&amp;gt;ll /dev&amp;lt;/code&amp;gt; output before and after plugging in my badge).&lt;br /&gt;
&lt;br /&gt;
Then I ran the command in step 4 with the correct elf file, like &amp;lt;code&amp;gt;riscv32-esp-elf-gdb -q -x build/gdbinit/symbols -x build/gdbinit/prefix_map -x build/gdbinit/connect build/badgevms.elf&amp;lt;/code&amp;gt;, but it hangs. After doing ^C I can get back to a (gdb) prompt, and when I explicitly do &amp;lt;code&amp;gt;target remote /dev/ttyUSB0&amp;lt;/code&amp;gt;, it still hangs.&lt;br /&gt;
&lt;br /&gt;
Error log (I do ^C twice, and then ^D to quit the gdb prompt):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ riscv32-esp-elf-gdb -q -x build/gdbinit/symbols -x build/gdbinit/prefix_map -x build/gdbinit/connect build/badgevms.elf&lt;br /&gt;
Reading symbols from build/badgevms.elf...&lt;br /&gt;
add symbol table from file &amp;quot;/home/moomin/Desktop/badge/firmware/build/bootloader/bootloader.elf&amp;quot;&lt;br /&gt;
^CQuit&lt;br /&gt;
(gdb) target remote /dev/ttyUSB0&lt;br /&gt;
Remote debugging using /dev/ttyUSB0&lt;br /&gt;
^CQuit&lt;br /&gt;
(gdb) quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Resolution =====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] After installing OTA update, application updates AND System Update &amp;quot;BadgeVMS Firmware, Version 4, Main Badge Firmware&amp;quot; the system restarts showing System Updates =&amp;gt; &amp;quot;Updates available 1&amp;quot; =&amp;gt; &amp;quot;BadgeVMS Firmware, Version 4, Main Badge Firmware&amp;quot;. Selecting it, installing it and autorstarting leads back to this same screen. I seem to be stuck in a loop of the update process. ====&lt;br /&gt;
* =&amp;gt; Shut down your badge by double tapping the power button. Restart. You should now see the application WHY Application Launcher.&lt;br /&gt;
** =&amp;gt; But double-tapping the power button doesn&#039;t shut down the badge...&lt;br /&gt;
*** hold ot down for 13+ seconds for a hard reboot.&lt;br /&gt;
&lt;br /&gt;
== BadgeHub related Questions/Issues ==&lt;br /&gt;
==== [2] How do I get apps from the BadgeHub onto the Badge? Is it possible without an SD card (I don&#039;t have one). I can build apps and flash the firmware, but I have no idea how to get pre-compiled ELFs on there. ====&lt;br /&gt;
* =&amp;gt; If you have a SD card (if not, the mysteryhack village has a vending machine): Create the folder stucture ./BADGEVMS/APPS on there. In there, create a folder named like the badge hub project name. Download and put the .elf in there. Create a json file with the project name next to the folder and put the key/values for name, unique_identifier, version and binary_path in there. binary_path is just the full name of the .elf file.&lt;br /&gt;
** =&amp;gt; the mysteryhack village vending machine has been out of SD cards since day 0 or 1&lt;/div&gt;</summary>
		<author><name>Frederik</name></author>
	</entry>
	<entry>
		<id>https://wiki.why2025.org/index.php?title=Badge_Issues&amp;diff=20504</id>
		<title>Badge Issues</title>
		<link rel="alternate" type="text/html" href="https://wiki.why2025.org/index.php?title=Badge_Issues&amp;diff=20504"/>
		<updated>2025-08-16T14:12:01Z</updated>

		<summary type="html">&lt;p&gt;Frederik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Please edit this page ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please edit this page to add your issue or increase the interest counter&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;[number]&#039;&#039; in front of each question is the interest counter. Increase it by one if you have the same question.&lt;br /&gt;
&lt;br /&gt;
== Badge Hardware Questions/Issues ==&lt;br /&gt;
=== Answered ===&lt;br /&gt;
==== [1] After reflash and exiting the intial sponsors screen, the screen stays blue ====&lt;br /&gt;
* =&amp;gt; Reflash the badge using the web flasher. (https://why-prog.heplaphon.com/). Use the USB socket on the left side for flashing. After the update unplug/replug the USB. Make sure to use a good cable as the badge is power hungry.&lt;br /&gt;
==== [2] How do I reset the badge on battery? ====&lt;br /&gt;
* =&amp;gt; Applying usb power will reset the badge&lt;br /&gt;
==== [4] Batteries ar being held firmly (maybe a bit too firmly) in place in the battery holder. How can I safely remove the batteries? What tool to use for this without damaging the batteries or the PCB? ====&lt;br /&gt;
* =&amp;gt; Try gripping it with rubber gloves on.&lt;br /&gt;
* =&amp;gt; For future handling, add strong tape around it, so that you&#039;ll have a lid to pull on for extra support&lt;br /&gt;
&lt;br /&gt;
==== [3] The badge suddenly stopped working. Serial shows boot-loop with message &amp;lt;pre&amp;gt;Cannot connect to target. Error: TIMEOUT &amp;lt;/pre&amp;gt; ====&lt;br /&gt;
* =&amp;gt; Reseating the ESP daughterboard (fitted with a screw) helped here.&lt;br /&gt;
* =&amp;gt; M.2 socket of ESP daughterboard can break off without being immediately visible. This also leads to this error. [https://chaos.social/@xro/115011118785473303 Re-soldering fixed it.] &lt;br /&gt;
Trace of boot-loop:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./idf.py monitor&lt;br /&gt;
W (1098) fatfs-sd: SD card not mounted&lt;br /&gt;
E (1108) device: The device does not exist SD0&lt;br /&gt;
Cannot connect to target. Error: TIMEOUT&lt;br /&gt;
Check if the host and the target are properly connected.&lt;br /&gt;
E (4828) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107&lt;br /&gt;
HINT: Please reboot the board and then try again&lt;br /&gt;
E (4828) sdio_wrapper: sdmmc_card_init failed&lt;br /&gt;
E (4828) H_SDIO_DRV: sdio card init failed&lt;br /&gt;
Crashing in ESP-IDF task&lt;br /&gt;
Guru Meditation Error: Core  1 panic&#039;ed (Instruction access fault). Exception was unhandled.&lt;br /&gt;
&lt;br /&gt;
--- Stack dump detected&lt;br /&gt;
Core  1 register dump:&lt;br /&gt;
MEPC    : 0x00000000  RA      : 0x00000000  SP      : 0x4ff278c0  GP      : 0x4ff18580&lt;br /&gt;
TP      : 0x4ff278e0  T0      : 0x4ff0f4a6  T1      : 0x4ff120a8  T2      : 0xffffffff&lt;br /&gt;
--- 0x4ff0f4a6: spinlock_release at /home/bernhard/source/why2025-badge-firmware/components/esp_hw_support/include/spinlock.h:181&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== [5] Some keys (the `w` key in my case) don&#039;t register. I&#039;ve tried with the nametag app and with the new System Settings app, and it didn&#039;t work on either. ====&lt;br /&gt;
[[User:Bytefighter|bytefighter]] ([[User_talk:Bytefighter|talk]]) 01:24, 14 August 2025 (CEST)&lt;br /&gt;
* =&amp;gt; Check for [https://chaos.social/@edronik/115027350958230845 crusty stuff under the metal membrane]&lt;br /&gt;
==== [8] The antenna isn&#039;t connected yet. Can I use the device without damaging anything? ====&lt;br /&gt;
* The antenna is used by the LoRa radio. At the moment of writing there is no badge firmware available that uses the LoRa radio. This means that for now the device can safely be used without the antenna (socket) attached.&lt;br /&gt;
* As soon as you do start using the LoRa radio, there is a potential for damage when the badge is used without the antenna. Attaching the antenna requires some extra precautions. See the instructions on attaching the socket further down on this wiki page for tips and tricks.&lt;br /&gt;
** (Can not include link as the HTTP anchor contains square brackets)&lt;br /&gt;
==== [2] How to solder the antenna-connector? The center pin can&#039;t be reached. Do we disassemble the screen to solder from the other side? Any modifications needed, so the screen spacer still fits? ====&lt;br /&gt;
&lt;br /&gt;
[[User:RobotJoosen|robotjoosen]] 22:11, 14 August 2025 (GMT)&lt;br /&gt;
&lt;br /&gt;
* =&amp;gt; You have to take the badge apart by unscrewing all four screws. Then you are able to solder on the antenna. The socket should be on the other side of the screen side, otherwise you can&#039;t put the spacer and frontplant back on.&lt;br /&gt;
* =&amp;gt; The two pins closest to the screen are very close to the screen, when soldering them the screen can get damaged. When you are not confident in your solder skills you can leave them unsoldered but this does affect the rigidity of the antenna. When soldering you can use some heat resistant tape like kapton, this does not fully protect the screen but can help. &lt;br /&gt;
* =&amp;gt; Ideally you take the screen of which can be done with some dental floss, although this could damage the screen. &lt;br /&gt;
* =&amp;gt; The spacer won&#039;t fit with, a quick fix would be to widen the holes with you soldering iron, or use a drill to increase the size.&lt;br /&gt;
&lt;br /&gt;
=== Unanswered ===&lt;br /&gt;
* Got a question that is already listed but not answered yet? The &#039;&#039;[number]&#039;&#039; in front of each question is the interest counter. Edit this wiki and increase the counter by one if you have the same question. This allows us to prioritize. Thank you!&lt;br /&gt;
* Got an answer? Please edit the wiki, add your answer and move the question to the Answered section. Thank you for your contribution!&lt;br /&gt;
==== [3] Screen flickers sometimes. Is this a defect? I tried looking at the screen ribbon cable, it seems OK. ====&lt;br /&gt;
* =&amp;gt; (bend the board -&amp;gt; more flicker)&lt;br /&gt;
* =&amp;gt; I had to resolder the m.2 connector (use flux and touch every pin with soldering iron) &lt;br /&gt;
==== [4] screen is not turning on at all. ====&lt;br /&gt;
* =&amp;gt; I had to resolder the m.2 connector (use flux and touch every pin with soldering iron)&lt;br /&gt;
* =&amp;gt; extreme case: (https://chaos.social/@xro/115011118785473303)&lt;br /&gt;
==== [7] Can not turn off badge while charging. ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [9] One battery holder has a big blob of epoxy where it should contact the battery. Is there a good way to remove it? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [10] Badge updates apps after starting an app that isn&#039;t the updater ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [11] Sponsor screen replays (unskippable) after every flash ====&lt;br /&gt;
&lt;br /&gt;
[[User:RobotJoosen|robotjoosen]] 22:11, 14 August 2025 (GMT)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;=&amp;gt; Press `fn + x` to skip sponsor screen&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[User:Tielemans.jorim|Tielemans.jorim]] 14:13, 16 August 2025 (CEST)&lt;br /&gt;
&lt;br /&gt;
`fn + x` should not be used as this force closes the sponsors app. You need to wait for it to at least play once and use the `esc` key once shown on screen.&amp;lt;br&amp;gt;Terminating the sponsors app early might result in not being able to open other apps.&lt;br /&gt;
&lt;br /&gt;
==== [12] Double-tapping the power button doesn&#039;t shut down the badge ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [13] Where do we get the badge now that the event is over? The lines were huge or the stand was closed. Can we pay for shipping to get them later? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [14] Is it possible to insert an SD card without removing the daughter board (with cells installed)? ====&lt;br /&gt;
&lt;br /&gt;
[[User:RobotJoosen|robotjoosen]] 22:13, 14 August 2025 (GMT)&lt;br /&gt;
&lt;br /&gt;
=&amp;gt; No, there is not physical space to insert a SD card without bending/breaking it. It is also not possible without the cells.&lt;br /&gt;
&lt;br /&gt;
==== [1] Flashing to `BadgeVMS post_event` might work fine, until a reboot. This appears to happen only on devices with an SD-card installed, it will result in the error `Could not open APPS:[badgevms_launcher]badgevms_launcher.elf` [https://pastebin.com/zMr45zHT pastebin] ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
* Addendum, See also: [https://gitlab.com/why2025/team-badge/firmware/-/issues?show=eyJpaWQiOiI5IiwiZnVsbF9wYXRoIjoid2h5MjAyNS90ZWFtLWJhZGdlL2Zpcm13YXJlIiwiaWQiOjE3MTg4NzgyNX0%3D Boot is stuck, when fitted with an SD card]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== [2] Damaged wrapping of an 18650 battery, is this an issue? ====&lt;br /&gt;
* Is this an issue? (see picture) [[File:Badge 18650 with a small mark.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
==== [1] The white overlay(layer) between the keyboard and the PCB is missing, so typing does not work, can I obtain this somewhere? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] Screen wobbles horizontal (X-Axis) with random amount. (Allready flashed newest firmware (Badge VMS post_event) without any changes). Wobble gets worse the longer the device is on. Starts after about 3 Minutes. Slight wobble can be triggert by pressing a button keyboard ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] Screen has yellowish pixel failures [[File:PXL 20250815 195829061.jpg|thumb]] Screen also wobbles horizontal after few minutes (see topic above) ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] I&#039;d like to remove the 18650 cell holders but the epoxy is holding them in a bit too well. Has anyone managed to find a non-destructive way to do this? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] I&#039;d like to power the badge using a conventional LiPo pouch, but I don&#039;t see a header anywhere that I could solder a JST connector to. Has anyone else achieved this? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] There&#039;s a header (LS1) between the M.2 board and one of the cell holders which seems (from the schematics) to be for a speaker. Has anyone got this working? What parts did you use? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
==== [1] Badge shows yellow screen randomly (seems related to daughter M.2 board) ====&lt;br /&gt;
&lt;br /&gt;
Randomly the badge display turns yellow.  &lt;br /&gt;
&lt;br /&gt;
What I tried:  &lt;br /&gt;
* Swapped the daughter M.2 ESP board with another badge → the yellow screen issue followed the daughterboard, not the main board.  &lt;br /&gt;
* Serial log shows no errors at the moment the display turns yellow.&lt;br /&gt;
* Tried many different firmwares, currently running the post event firmware.  &lt;br /&gt;
&lt;br /&gt;
This suggests the issue is related to the M.2 daughterboard, likely power instability under load.  &lt;br /&gt;
&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
== Badge User Questions/Issues ==&lt;br /&gt;
=== Answered ===&lt;br /&gt;
==== [1] Inside program “c64emu” v1 trying Shift+{number} prints the number to console and not the symbol. This behaviour works in “crackme” v3. ====&lt;br /&gt;
* Thank you for reporting this, I&#039;ve fixed this and released a new version with improved keyboard handling (v2.0.1). --[[User:Wallaby|Wallaby]] ([[User talk:Wallaby|talk]]) 14:37, 11 August 2025 (CEST)&lt;br /&gt;
==== [5] WHY2025 OTA updater is not reacting. ====&lt;br /&gt;
* =&amp;gt; We are working on this. For now, don&#039;t touch it and instead just wait at least 30 seconds.&lt;br /&gt;
** =&amp;gt; This didn&#039;t work for me; I had to re-flash the firmware. [[User:Bytefighter|bytefighter]] ([[User_talk:Bytefighter|talk]]) 08:53, 13 August 2025 (CEST)&lt;br /&gt;
** =&amp;gt; Any update on this? &amp;quot;OTA&amp;quot; and &amp;quot;Hello&amp;quot; app don&#039;t do anything. Not even an error message. Is there a hidden Wifi settings menu or something for the &amp;quot;over the air&amp;quot; part? Maybe a USB-C to Ethernet dongle?&lt;br /&gt;
==== [3] There is a stripe and/or &amp;quot;HD3&amp;quot; stamp on my screen ====&lt;br /&gt;
* Test if you see these when the badge is off.&lt;br /&gt;
* There is a protective cellophane sheet attached to the screen for protection against scratches and dirt. Remove the cellophane sheet by peeling it off. There&#039;s a tab to peel in the lower right corner. This tab may be under the front cover or the spacer.&lt;br /&gt;
* I saw at least one device where the sticky tape area was &#039;&#039;&#039;under&#039;&#039;&#039; the front cover. --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:03, 11 August 2025 (CEST)&lt;br /&gt;
** Assemblers of the spacer/keyboard/front cover were at some point instructed to keep the tab to peel of the protective layer under the spacer. Reason for this: unknown. Perhaps to reduce the change of them coming off while the badges were still being assembled. --[[User:44x|44x]] 23:33, 14 August 2025 (CEST)&lt;br /&gt;
==== [2] Could do one update, then three updates and then BadgeVMS Firmware Version 4. Now I a offered this update on every boot and can do nothing else, even though I have installed it already ====&lt;br /&gt;
* reboot fixes this.&lt;br /&gt;
==== [3] My Badge is showing a yellow screen. Its starting with a blue screen and shows the Menu for a few seconds an then turns yellow. What does this indicate? ====&lt;br /&gt;
* The v5 firmware had this bug. Reflash with a newer to fix.&lt;br /&gt;
==== [11] I’m finally home! How do I connect the badge to my local Wi-Fi? ====&lt;br /&gt;
* Lazy, hacky method: Create an open Wi-Fi network with the SSID &amp;quot;WHY2025-open&amp;quot; (the O not as a capital letter) and run the OTA update app.&lt;br /&gt;
* Easy method: Use the [https://why-prog.heplaphon.com/ WHY badge flasher] to install the &amp;quot;BadgeVMS post_event&amp;quot; firmware which includes an app called System Settings which allows you to connect to your home Wi-Fi network.&lt;br /&gt;
** This requires a desktop Google Chrome or Microsoft Edge. Firefox is not supported.&lt;br /&gt;
** The USB cable must be in the socket on the side. Not the bottom.&lt;br /&gt;
** The correct COM port is named &amp;quot;USB Serial&amp;quot;. Not &amp;quot;USB Jtag/Serial&amp;quot; or &amp;quot;CDC&amp;quot;&lt;br /&gt;
?? What if &amp;quot;USB Serial is not showing up ??&lt;br /&gt;
* Developer method:&lt;br /&gt;
** Clone the badge firmware repository.&lt;br /&gt;
** Edit `wifi_config` in `badgevms/drivers/wifi.c`.&lt;br /&gt;
** Change `.ssid` to your network name.&lt;br /&gt;
** Directly below `.ssid` add a line with `.password = &amp;quot;your network password&amp;quot;,`.&lt;br /&gt;
** Then build/flash the firmware: `idf.py build flash`.&lt;br /&gt;
* Dev-in-a-hurry:&lt;br /&gt;
** Collect the latest firmware here: https://gitlab.com/why2025/team-badge/firmware/-/releases&lt;br /&gt;
** use esptool.py -p /dev/cu.wch* write_flash 0 firmware_81d7cdf7.bin&lt;br /&gt;
** use the System Settings which allows you to connect to your home Wi-Fi network.&lt;br /&gt;
&lt;br /&gt;
==== There&#039;s sticky transparent stuff on my badge, what should I do? ====&lt;br /&gt;
* The sticky stuff is UV epoxy that is not fully cured.&lt;br /&gt;
* It is very much recommended to fully cure the epoxy first.&lt;br /&gt;
** If you have touched the sticky epoxy, wash your hands.&lt;br /&gt;
** ⚠️ Note that according to the interwebz some people can be allergic to uncured epoxy. It is not ruled out you may see an allergic reaction. Always contact a medical professional if you see effects and have questions.&lt;br /&gt;
* Where can I expect epoxy on my badge?&lt;br /&gt;
** Epoxy should have been applied to the ends of the battery holders, where the holders are soldered onto the PCB. There are 4 spots in total. In some cases epoxy may not cover the area that needs protecting.&lt;br /&gt;
** You may however also observe epoxy in other spots, such as:&lt;br /&gt;
*** The back side near the bottom USB-C port and the screw holes, preventing screws from going through.&lt;br /&gt;
*** The front side of the badge near the keyboard, which may prevent the keyboard from fully functioning. This includes the area under the white membrane layer. [https://chaos.social/@edronik/115027350958230845 More information from someone who has experienced this].&lt;br /&gt;
*** Basically any place liquid could have flowed to from the location the epoxy was applied since the epoxy was runny when it was applied.&lt;br /&gt;
* How to cure the epoxy?&lt;br /&gt;
** The epoxy is cured by exposing it to UV light. A popular source of UV light is the sun. Even if it is cloudy or somewhat later in the afternoon, UV light is still present so you don&#039;t need to put the badge in the scorching sun to cure the epoxy.&lt;br /&gt;
** 1. Shut down badge, remove batteries or any other power source. Do not expose those to the hot sun.&lt;br /&gt;
** 2. Place your badge outside in daylight. Make sure all spots that have UV resin on them are exposed. In direct sunlight it is recommended to cover other components.&lt;br /&gt;
** 3. Leave for 30 to 60 minutes.&lt;br /&gt;
** 4. Regularly check and leave exposed to daylight until all blobs of epoxy have fully cured and are no longer sticky at all. Wash hands after every check.&lt;br /&gt;
&lt;br /&gt;
=== Unanswered ===&lt;br /&gt;
* Got a question that is already listed but not answered yet? The &#039;&#039;[number]&#039;&#039; in front of each question is the interest counter. Edit this wiki and increase the counter by one if you have the same question. This allows us to prioritize. Thank you!&lt;br /&gt;
* Got an answer? Please edit the wiki, add your answer and move the question to the Answered section. Thank you for your contribution!&lt;br /&gt;
==== [4] OTA update screen appears on first boot, after pressing space bar, blue screen with nothing happening for over an hour. ====&lt;br /&gt;
* Have the same problem after first OTA update. Update started but the device stuck on bluescreen for an hour or so before I removed power. After flashing a new firmware using the [https://why-prog.heplaphon.com web updater] it works again (use the USB slot on the side, otherwise you get an error message &amp;quot;Your ESP C6 chip is unsupported&amp;quot;). [https://pastebin.com/VjMA5ZZA Logfiles] --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:03, 11 August 2025 (CEST)&lt;br /&gt;
** No, it doesn&#039;t. It displayed the sponsors page once but returned to the bluescreen afterwards. [https://pastebin.com/cCKejKCk Logs from the side USB port]. --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:18, 11 August 2025 (CEST)&lt;br /&gt;
** Uploaded another log containing the complete first boot after flashing the new firmware: https://pastebin.com/3NiSRncL (edit: see below). Note the exception at the end: &amp;quot;Task 4 caused an unhandled exception, Cerberos will deal with it&amp;quot;. After that, no new entries appear and the display stays blue. --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:25, 11 August 2025 (CEST)&lt;br /&gt;
** Was wrong about that again. There were more log entries while I wrote the previous comments. Here is the complete log: https://pastebin.com/KMQwhBPv --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 00:34, 11 August 2025 (CEST)&lt;br /&gt;
* Anyone managed to fix that errpr and getting the Bagde running again? --[[User:Cybso|Cybso]] ([[User talk:Cybso|talk]]) 13:16, 13 August 2025 (CEST)&lt;br /&gt;
==== [7] Blue screen. Nothing happening. ====&lt;br /&gt;
* =&amp;gt; Not official answer: What helped for me was reflashing the badge via the flash station at the badge tent.&lt;br /&gt;
* Might be missing symbols, ota might work. Flash, don&#039;t reboot yet and ota first.&lt;br /&gt;
* Might be because of a known issue regarding the sd card, if you have this issue with an sd card inserted, try again when removing it. See also: [https://gitlab.com/why2025/team-badge/firmware/-/issues?show=eyJpaWQiOiI5IiwiZnVsbF9wYXRoIjoid2h5MjAyNS90ZWFtLWJhZGdlL2Zpcm13YXJlIiwiaWQiOjE3MTg4NzgyNX0%3D Boot is stuck, when fitted with an SD card]&lt;br /&gt;
&lt;br /&gt;
==== [1] Cannot build the firmware from https://gitlab.com/why2025/team-badge/firmware/. Tried to build main and flashed_at_first_handout - both fail because of the following error: https://pastebin.com/H4xwPLhC ====&lt;br /&gt;
* Do you have the latest ESP-IDF installed? (Version 5.5)&lt;br /&gt;
==== [1] stuck at do_http(https://badge.why2025.org/api/v3/projects/why2025_firmware_ota_c6/rev4/files/version.txt) error: server response: &#039;{&amp;quot;reason&amp;quot;:&amp;quot;No app with slug &#039;why2025_firmware_ota_c6&#039; and revision &#039;4&#039; found&amp;quot;}&#039; ====&lt;br /&gt;
&lt;br /&gt;
==== [5] The badge is not detect on my mac when I connect it by side port: ====&lt;br /&gt;
* &#039;&#039;&#039;Don&#039;t&#039;&#039;&#039; use brew, it has been reported not to work.&lt;br /&gt;
* Follow these instructions: [[Badge/MacOS_Drivers]]&lt;br /&gt;
==== [1] I can&#039;t flash the badge - it says the board is incompatible ====&lt;br /&gt;
* =&amp;gt; Use the USB-C port on the side of the board, not the one on the bottom&lt;br /&gt;
==== [1] The letter &amp;quot;a&#039; is represented by a horizontal dash in the nametag app ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] The launcher says that &amp;quot;Enter&amp;quot; will launch an app while it really launches when pressing &amp;quot;Space&amp;quot;. ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] The settings app does react veeeee*ry slowly, sometimes I have to press Enter multiple times to get to the list of WiFi networks (and sometimes, one of those keypresses instantly selects a network) ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
&lt;br /&gt;
== Badge Firmware Development related Questions/Issues ==&lt;br /&gt;
==== [2] Flashing takes forever (&amp;gt;40 seconds) for a trivial application. Can I speed this up? ====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] Following the gdb debugging instructions doesn&#039;t work. ====&lt;br /&gt;
===== What I tried =====&lt;br /&gt;
&lt;br /&gt;
I followed https://docs.espressif.com/projects/esp-idf/en/v5.5/esp32p4/api-guides/jtag-debugging/using-debugger.html#jtag-debugging-using-debugger-command-line on the [https://gitlab.com/why2025/team-badge/firmware/-/tree/644f502e72259228efa9b2423a91fbc4aed5f3d4/ firmware repository with commit 644f502e72259228efa9b2423a91fbc4aed5f3d4 (tag: v6)].&lt;br /&gt;
&lt;br /&gt;
I am always using the side port on the badge, and I have confirmed that flashing normally works OK. I can also monitor serial and do basic printf debugging in C.&lt;br /&gt;
&lt;br /&gt;
It seems the &amp;lt;code&amp;gt;.gdbinit&amp;lt;/code&amp;gt; files are generated OK (step 3).&lt;br /&gt;
&lt;br /&gt;
I edited the third line in file &amp;lt;code&amp;gt;build/gdbinit/connect&amp;lt;/code&amp;gt;, from &amp;lt;code&amp;gt;target remote :3333&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;target remote /dev/ttyUSB0&amp;lt;/code&amp;gt; (I determined that this was the correct serial port by seeing the difference in &amp;lt;code&amp;gt;ll /dev&amp;lt;/code&amp;gt; output before and after plugging in my badge).&lt;br /&gt;
&lt;br /&gt;
Then I ran the command in step 4 with the correct elf file, like &amp;lt;code&amp;gt;riscv32-esp-elf-gdb -q -x build/gdbinit/symbols -x build/gdbinit/prefix_map -x build/gdbinit/connect build/badgevms.elf&amp;lt;/code&amp;gt;, but it hangs. After doing ^C I can get back to a (gdb) prompt, and when I explicitly do &amp;lt;code&amp;gt;target remote /dev/ttyUSB0&amp;lt;/code&amp;gt;, it still hangs.&lt;br /&gt;
&lt;br /&gt;
Error log (I do ^C twice, and then ^D to quit the gdb prompt):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ riscv32-esp-elf-gdb -q -x build/gdbinit/symbols -x build/gdbinit/prefix_map -x build/gdbinit/connect build/badgevms.elf&lt;br /&gt;
Reading symbols from build/badgevms.elf...&lt;br /&gt;
add symbol table from file &amp;quot;/home/moomin/Desktop/badge/firmware/build/bootloader/bootloader.elf&amp;quot;&lt;br /&gt;
^CQuit&lt;br /&gt;
(gdb) target remote /dev/ttyUSB0&lt;br /&gt;
Remote debugging using /dev/ttyUSB0&lt;br /&gt;
^CQuit&lt;br /&gt;
(gdb) quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Resolution =====&lt;br /&gt;
Yet to be answered.&lt;br /&gt;
==== [1] After installing OTA update, application updates AND System Update &amp;quot;BadgeVMS Firmware, Version 4, Main Badge Firmware&amp;quot; the system restarts showing System Updates =&amp;gt; &amp;quot;Updates available 1&amp;quot; =&amp;gt; &amp;quot;BadgeVMS Firmware, Version 4, Main Badge Firmware&amp;quot;. Selecting it, installing it and autorstarting leads back to this same screen. I seem to be stuck in a loop of the update process. ====&lt;br /&gt;
* =&amp;gt; Shut down your badge by double tapping the power button. Restart. You should now see the application WHY Application Launcher.&lt;br /&gt;
** =&amp;gt; But double-tapping the power button doesn&#039;t shut down the badge...&lt;br /&gt;
*** hold ot down for 13+ seconds for a hard reboot.&lt;br /&gt;
&lt;br /&gt;
== BadgeHub related Questions/Issues ==&lt;br /&gt;
==== [2] How do I get apps from the BadgeHub onto the Badge? Is it possible without an SD card (I don&#039;t have one). I can build apps and flash the firmware, but I have no idea how to get pre-compiled ELFs on there. ====&lt;br /&gt;
* =&amp;gt; If you have a SD card (if not, the mysteryhack village has a vending machine): Create the folder stucture ./BADGEVMS/APPS on there. In there, create a folder named like the badge hub project name. Download and put the .elf in there. Create a json file with the project name next to the folder and put the key/values for name, unique_identifier, version and binary_path in there. binary_path is just the full name of the .elf file.&lt;br /&gt;
** =&amp;gt; the mysteryhack village vending machine has been out of SD cards since day 0 or 1&lt;/div&gt;</summary>
		<author><name>Frederik</name></author>
	</entry>
	<entry>
		<id>https://wiki.why2025.org/index.php?title=User:Jstsmthrgk&amp;diff=5610</id>
		<title>User:Jstsmthrgk</title>
		<link rel="alternate" type="text/html" href="https://wiki.why2025.org/index.php?title=User:Jstsmthrgk&amp;diff=5610"/>
		<updated>2025-02-06T18:54:57Z</updated>

		<summary type="html">&lt;p&gt;Frederik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{UserInfo&lt;br /&gt;
|Name=jstsmthrgk&lt;br /&gt;
|Village=Village:/dev/lol&lt;br /&gt;
|HackerSpace=/dev/lol&lt;br /&gt;
|Languages=EN&lt;br /&gt;
|NickName={{PAGENAME}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Frederik</name></author>
	</entry>
	<entry>
		<id>https://wiki.why2025.org/index.php?title=User:Frederik&amp;diff=5609</id>
		<title>User:Frederik</title>
		<link rel="alternate" type="text/html" href="https://wiki.why2025.org/index.php?title=User:Frederik&amp;diff=5609"/>
		<updated>2025-02-06T18:54:48Z</updated>

		<summary type="html">&lt;p&gt;Frederik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{UserInfo&lt;br /&gt;
|NickName={{PAGENAME}}&lt;br /&gt;
|Languages=EN&lt;br /&gt;
|Village=Village:/dev/lol&lt;br /&gt;
|HackerSpace=/dev/lol&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Frederik</name></author>
	</entry>
	<entry>
		<id>https://wiki.why2025.org/index.php?title=User:Frederik&amp;diff=5056</id>
		<title>User:Frederik</title>
		<link rel="alternate" type="text/html" href="https://wiki.why2025.org/index.php?title=User:Frederik&amp;diff=5056"/>
		<updated>2025-01-11T14:58:04Z</updated>

		<summary type="html">&lt;p&gt;Frederik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{UserInfo&lt;br /&gt;
|NickName={{PAGENAME}}&lt;br /&gt;
|Languages=EN&lt;br /&gt;
|HackerSpace=/dev/lol&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Frederik</name></author>
	</entry>
	<entry>
		<id>https://wiki.why2025.org/index.php?title=User:Frederik&amp;diff=5055</id>
		<title>User:Frederik</title>
		<link rel="alternate" type="text/html" href="https://wiki.why2025.org/index.php?title=User:Frederik&amp;diff=5055"/>
		<updated>2025-01-11T14:54:20Z</updated>

		<summary type="html">&lt;p&gt;Frederik: create user page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{UserInfo&lt;br /&gt;
|NickName={{PAGENAME}}&lt;br /&gt;
|Languages=EN&lt;br /&gt;
|HackerSpace=&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Frederik</name></author>
	</entry>
</feed>