WeaselSoup has quit [Remote host closed the connection]
WeaselSoup has joined #openocd
JakeSays_ has joined #openocd
JakeSays has quit [Ping timeout: 272 seconds]
uartist has quit [Server closed connection]
uartist has joined #openocd
crabbedhaloablut has quit [Server closed connection]
crabbedhaloablut has joined #openocd
karlp has quit [Server closed connection]
karlp has joined #openocd
<karlp>
zapb_: just daydreaming about having say, a VM of some sort that we have compiled for all targets, that is uploaded to run "independent" scripts, instead of having to compile things like spi helpers for each architecture.
<karlp>
it doesn't really come up with all flash loaders, as those are tied to the flash target already.
<karlp>
but like #8400 is support for a spi peripheral, but only when it's on one particular arch, even though it's definitely used in other places.
<Haohmaru>
oh, fancy
<Haohmaru>
this was about... where openocd, for many targets, puts a small "firmware" in the RAM of the target to making programming faster, right?
<karlp>
zapb_: but just silly overthinking really, far too much work for the amount of benefit
<Haohmaru>
and those small firmwares need to be written by $someone, then they gotta be compiled, it gets hairy
mark_feathers has quit [Server closed connection]
geep_ has quit [Server closed connection]
geep has joined #openocd
borneoa___ has quit [Server closed connection]
borneoa___ has joined #openocd
wearyhacker has joined #openocd
zapb_ has quit [Server closed connection]
zapb_ has joined #openocd
olerem has joined #openocd
JakeSays has joined #openocd
JakeSays_ has quit [Ping timeout: 255 seconds]
vampirefrog has joined #openocd
wearyhacker has quit [Quit: Connection closed for inactivity]
<antto>
yeah, i mean, and your idea is to write a small virtual machine instead of this, so that the actual "helper algos" for the flashing can be written just for that VM, right?
<antto>
and possibly without needing a pile of different compilers
<cambrian_invader>
isn't the main difference that the flash registers are different?
<antto>
well, not just that, there would also be chip-specific details, "you have to unlock this sh*t before you can do that sh*t" ... etc..
<antto>
but you'll move that fiddling over to the code that runs on the VM
<antto>
while the "real code" which you'd have to compile for every chip is gonna be just this VM, if i understand correctly
<antto>
it's a fancy idea
<antto>
reminds me of quake
<cambrian_invader>
but like, these helpers are maybe 50 instructions long