General news: The dev kit and the few MCUs will arrive at 14.02 with DHL Express. I hope they will not rape my wallet for doing the "service" of paying VAT themselfs to the Zoll as I've heard. Let's see.
I have decided that USB voltage is too crappy/dangerous to be considered a "proper" 5V.
So I will merge (via Schottky diodes) Vusb and Vin, build an unregulated power rail out of it and (as much as I hate it) put it in a switcher capable to eat 3-12V and put out either 3V3 or 5V (and/or for dual output luxury variant ). The problem is that I don't really know what device to use that is available, not obscenely priced and fit the bill.
Maybe it is too late.
But this CPU is capable of working directly on from 3.3 v to 5V and is exceptionally cheap, can be a good candidate
http://wch-ic.com/products/CH32V103.html?
I finally figured it out, so I document it here in case someone else is interested:
- Connect a USB-to-serial adapter to the board: adapter RX to board PA9, adapter TX to board PA10. Power the board with a 3.3V supply.
- Launch WCHISPTool, select the "CH32Vx Series" tab, select Chip model, Download type, COM port and User file.
- On the board, hold the BOOT0 button down and press NRST.
- In WCHISPTool, click the "Download" button.
- If you want to enable further flashing with OpenOCD, click the "Remove Protect" button.
- Release the BOOT0 button and press the NRST button to start your firmware.
Note: for this to work, the BOOT1 pin (= PB2) must be kept at a low level. This is the case on the WeAct BluePill+, as PB2 controls an LED connected to the ground.
To find this, I had to google "ch32v103串口下载" and the page describing the procedure was on the first page of results. If you ever wondered how to write "serial flashing" in Chinese... Google Translate is definitely the RISC-V firmware developer's best friend!
3
Hello DC1MC,
Your DHL Express shipment with waybill number MAKUMBA from NUVOTON TECHNOLOGY CORPORATION has arrived in the country and cleared customs.
There is import duty/tax due on your shipment.
The amount is EUR 25.85 including service fees.
To avoid any impact on delivery, please pay us this amount securely online now. Click here to pay, view the duty/tax calculation and download the relevant documents.
usb 3-9.4.2: new full-speed USB device number 67 using xhci_hcd
usb 3-9.4.2: New USB device found, idVendor=0416, idProduct=b001, bcdDevice= 0.00
usb 3-9.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-9.4.2: Product: HID Mouse
usb 3-9.4.2: Manufacturer: Nuvoton
usb 3-9.4.2: SerialNumber: A02008040114
input: Nuvoton HID Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9.4/3-9.4.2/3-9.4.2:1.0/0003:0416:B001.0011/input/input37
hid-generic 0003:0416:B001.0011: input,hidraw3: USB HID v1.10 Mouse [Nuvoton HID Mouse] on usb-0000:00:14.0-9.4.2/input0
usb 3-9.4.2: new high-speed USB device number 68 using xhci_hcd
usb 3-9.4.2: New USB device found, idVendor=0416, idProduct=5200, bcdDevice= 0.00
usb 3-9.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-9.4.2: Product: Nu-Link2 CMSIS-DAP
usb 3-9.4.2: Manufacturer: Nuvoton
usb 3-9.4.2: SerialNumber: 130100000016001104481444000004C3
cdc_acm 3-9.4.2:1.1: ttyACM1: USB ACM device
hid-generic 0003:0416:5200.0012: hiddev2,hidraw3: USB HID v1.10 Device [Nuvoton Nu-Link2 CMSIS-DAP] on usb-0000:00:14.0-9.4.2/input3
usb-storage 3-9.4.2:1.4: USB Mass Storage device detected
scsi host6: usb-storage 3-9.4.2:1.4
scsi 6:0:0:0: Direct-Access MBED microcontroller 1.00 PQ: 0 ANSI: 0
sd 6:0:0:0: Attached scsi generic sg2 type 0
sd 6:0:0:0: [sdc] 8192 512-byte logical blocks: (4.19 MB/4.00 MiB)
sd 6:0:0:0: [sdc] Write Protect is off
sd 6:0:0:0: [sdc] Mode Sense: 03 00 00 00
sd 6:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdc:
sd 6:0:0:0: [sdc] Attached SCSI removable disk
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdc 4080 16 4064 1% /media/user/NuMicro MCU
[Build]
Version=7215r
[Interface configuration]
CMSIS-DAP=0
; 0 = disable
; 1 = enable
Is this what you need?
Edit: I added the EasyEDA file too. (Remove the .txt before using it)
I wonder if JLCPCB joined this VAT handling setup, and you don't get this delivery company ripoff bullshit.
...
I wonder if JLCPCB joined this VAT handling setup, and you don't get this delivery company ripoff bullshit.
The circuit board you refer to is a bit more work to setup, and do you need the 100 pins option is the question. Without it is less work.
But I thought the decision was made to use the bigger 0.8mm part on the PCB?
Sadly it was exactly viceversa with the pitch , and regarding taxes, I don't mind VAT, but the courier fees are pissing me off. JLCPCB at least joined the VAT kabalah and spared us the courier fees.
... I don't mind VAT, but the courier fees are pissing me off. ....