Rob says...
> Interesting, I have such a kit but wasn't aware of
> firmware updates.
Yes, just go to JYETech.com, find the DSO150, then
"Firmwares". I've been impressed with the support and
continued development JYE Tech offers on this. There's also
a forum, which has additional instructions on flashing.
I should add for those interested in getting one of these
that you need to buy it from Banggood or other JYE-approved
seller. There are lots of fakes around, and JYE has started
limiting support and firmware updates to genuine devices.
> Is there any reason why it would need to be
> low-impedance? Why not just put some "safe" resistor
> value in series with the signal?
I didn't say in the original post, but the existing circuit
has Boot0 tied to ground through a 1K resistor. And that
complicates things unless I want to be messing with the tiny
SMD parts. Well, I could just remove that 1K and tie Boot0
to the adapter's 3.3V through a higher value resistor.
But I've hit another snag that defeats what I was trying to
accomplish with an embedded USB adapter. In addition to the
UART connections, Boot0 needs to be high for flashing mode,
and Boot1 needs to be low. Based on the datasheet, I
assumed that Boot1 could just be tied low all the time since
its state matters only when Boot0 is high.
But I tried tying Boot1 low, and the scope will not boot
into normal operation. So in additon to what the datasheet
requires, there must be something in the bootstrap code that
actually checks the state of Boot1 even though it doesn't
really need to.
Anyway, in the end I've just taken over the SWD header
through-holes, and converted them to provide for jumpers for
Boot0 (to Vcc) and Boot1 (to GND), with pin headers for
everything, including the now-external USB adapter. So to
flash new firmware, I just slip individual jumpers on the
Boot headers, and connect the adapter to the UART header.
And all I really wanted to accomplish was to avoid having to
open up the danmed thing to flash firmware, and this
solution accomplishes that. When I've tested it, I'll post
pictures in the forum.
I should also say that the Tx and Rx UART pins of the STM32
*are* 5V tolerant, and in fact the data sheet says it's not
posssible to inject current into them. So I think those
pins would have no problem with applying 3.3V to them when
the STM32 is powered down. But I don't think that's typically
true for all microprocessors.