jacqueline,
@jacqueline@chaos.social avatar

pleased to announce that tangara's design has survived yet another round of "jacqueline sees a cool SoC and questions everything"

chipperdoodles,
@chipperdoodles@chaos.social avatar

@jacqueline that's me but like "nerd that cant even registers to digs into data sheet for every new interesting microcontroller they see"

jacqueline,
@jacqueline@chaos.social avatar

it was the allwinner v3s this time. pretty cool little thing! but not actually better for our use case i think

jonbro,
@jonbro@friend.camp avatar

@jacqueline those do look really cool, but I'm still the most hype for esp32-p4

jacqueline,
@jacqueline@chaos.social avatar

@jonbro oh absolutely. once those have been out for a few years and the firmware looks stable, i'm totally gonna put together like a v2 tangara mainboard with one

manawyrm,
@manawyrm@chaos.social avatar

@jacqueline lol, when you made the announcement for the player, I looked at the design and went "huh, why isn't this a v3s, it's such a perfect fit"... especially as these chips can be made to be super power efficient, even while running.

... but I thought you must've seen those already 😬

jacqueline,
@jacqueline@chaos.social avatar

@manawyrm it's lucky i didn't tbh. i could see myself spending a lot of time prototyping with them, only for it to not really work out

jacqueline,
@jacqueline@chaos.social avatar

the main thing you need to know to understand why it’s not a good fit is that i consider this, our current cold boot time, to be fairly slow

i turn on a tangara. after something like 2-3 seconds, a splash screen appears. after another 2ish seconds, the main menu

jacqueline,
@jacqueline@chaos.social avatar

that's like... 2-3 seconds from power on, to our firmware running (showing the splash screen is the first thing we do)

then a couple more seconds to have an actually usable device (we can improve that second gap i think; haven't looked much into it yet)

the number one issue with 'more powerful' SoCs people have yelled at me is that most of them are still fucking around in u-boot or whatever by this point.

jonbro,
@jonbro@friend.camp avatar

@jacqueline whats that first gap (power to splash) coming from?

jacqueline,
@jacqueline@chaos.social avatar

@jonbro we show our splash ~100ms into our application firmware, so it must be the first and second stage esp32 bootloaders.

so initial hardware setup, loading the application into memory, that sort of thing. not sure what the headroom is for improvement there, but i assume it's small? would love to be wrong of course!

jacqueline,
@jacqueline@chaos.social avatar

our esp32 boots fast enough that, when you're not actively using your device, we can just turn the whole thing off. so long as we restore your playlist and such when we boot back up, it's fine. it's not too annoying.

if your boot time is... what, 10 seconds? 20? then at some point you cross the "this is really annoying" threshold, and you can't do that anymore.

meejah,
@meejah@mastodon.social avatar

@jacqueline Super excited to play with this device! Really glad it exists...

jacqueline,
@jacqueline@chaos.social avatar

anyway. my point is, tangara is supposed to play music conveniently. the esp32 is good enough to play music conveniently.

are there cheaper/better/faster/stronger SoCs? i guess. are they 'better' in ways that make them more convenient for playing music? not necessarily!

jacqueline,
@jacqueline@chaos.social avatar

people kept asking why our boot time was slow so i made it faster

video/mp4

drewdevault,
@drewdevault@fosstodon.org avatar

@jacqueline that's a nice turnaround on an improvement

colin_mcmillen,
@colin_mcmillen@piaille.fr avatar

@jacqueline That seems quite fast! (I haven't seen the "before", was it much slower?) How did you do it?

jacqueline,
@jacqueline@chaos.social avatar

@colin_mcmillen mostly turning off a bunch of dev features like INFO logs and heap corruption detection. i might turn some of it back on (memtest on startup is surely a good idea?) but a lot of it is probably not really needed for release builds

(it's like a second or two improvement)

aphistic,
@aphistic@advent.social avatar

@jacqueline @colin_mcmillen Maybe a memtest every N boots?

jacqueline,
@jacqueline@chaos.social avatar

@colin_mcmillen oh i also discovered that we were accessing our spi flash and ram at 1/4 and 1/2 max speed respectively 🙂

xodium,
@xodium@bitbang.social avatar

@jacqueline but but when tangara on my snapdragon 810?! it even functions as a convenient hand warmer!

jacqueline,
@jacqueline@chaos.social avatar

@xodium comes standard with a battery twice the size! (battery life is half as long)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ethstaker
  • DreamBathrooms
  • cisconetworking
  • magazineikmin
  • InstantRegret
  • Durango
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • mdbf
  • khanakhh
  • kavyap
  • everett
  • megavids
  • GTA5RPClips
  • Leos
  • cubers
  • ngwrru68w68
  • osvaldo12
  • tester
  • tacticalgear
  • modclub
  • anitta
  • normalnudes
  • provamag3
  • JUstTest
  • lostlight
  • All magazines