Posts

Showing posts with the label DFU

lnBMP+CH32V3 : Slowly getting there...

Image
 It is taking a bit of time, but getting there. What has changed since the last time : A tinyUSB based DFU bootloader  for the CH32V3x, a bit quirky but good enough for now and a small PCB (basically my first one) to host the CH32V303 and provides the pin out i usually use. Also, i fixed the hosted mode of lnBMP so it behaves like a genuine black magic, i.e. you can have the code running on your PC and use the BMP/lnBMP just as a hardware interface to your board.

lnDSO150 : DFU ready for STM32F103 and GD32F303

Software is ready and works fine if you have 128 kB of flash or more. Sofwtare update over usb at last ! A lnDSO150 release will be coming soon, as soon as the CH32 chip works.

lnDSO150 : DFU ready soon

Image
Updating the DSO150 is a bit of a pain. Normally you can either : - Bridge a JP solder point on the board and use serial - Use the SWD interface if you soldered the pins That's a bit of a pain, and not user friendly at all. On the other hand i have now all the needed pieces to go DFU : - simple HW mode to get USB interface on the DSO150 - USB through tinyUSB to get DFU-runtime - DFU mode through a modified stm32-dfu-bootloader. This modified version adds some stuff , like a hash of the firmware to make sure it is un-damaged /complete. and it works ! The only candidate excluded is the so called "small footprint" version for DSO150 clones with CH32F103 (very experimental) which has only 64 kB of flash. The only piece left is to put a tiny LCD driver to display the USB logo when the unit goes to dfu mode and it's all good (i have ~ 4kB left, which is plenty :) ). The USB connection with the usual craftmanship :