ok.
stm32id
Die xy coords: 107806536
Wafer Number: 113
Lot_num ascii encoded [23:0]: 0x00564989 | V I .
Lot_num ascii encoded [55:24]: 0x67255444 | g % T D
ok.
free
FLASH.. TOTAL REPORTED: 65536 USED: 51200 FREE: 14336
RAM.... TOTAL PRESET: 20000 USED: 868 FREE: 19132
ok.
ok.
stm32id
Die xy coords: 107741009
Wafer Number: 117
Lot_num ascii encoded [23:0]: 0x00535783 | S W .
Lot_num ascii encoded [55:24]: 0x81174113 | . . A .
ok.
free
FLASH.. TOTAL REPORTED: 65536 USED: 51200 FREE: 14336
RAM.... TOTAL PRESET: 20000 USED: 868 FREE: 19132
ok.
ok.
stm32id
Die xy coords: 97779505
Wafer Number: 78
Lot_num ascii encoded [23:0]: 0x00383341 | 8 3 A
Lot_num ascii encoded [55:24]: 0x51137004 | Q . p .
ok.
free
FLASH.. TOTAL REPORTED: 524288 USED: 51200 FREE: 473088
RAM.... TOTAL PRESET: 20000 USED: 868 FREE: 19132
ok.
Die xy coords: 108068690
Wafer Number: 114
Lot_num ascii encoded [23:0]: 0x00525366 | R S f
Lot_num ascii encoded [55:24]: 0x67145016 | g . P .
FLASH.. TOTAL REPORTED: 65536 USED: 51200 FREE: 14336
RAM.... TOTAL PRESET: 20000 USED: 868 FREE: 19132
Die xy coords: 107740976
Wafer Number: 48
Lot_num ascii encoded [23:0]: 0x00395435 | 9 T 5
Lot_num ascii encoded [55:24]: 0x51211941 | Q ! . A
FLASH.. TOTAL REPORTED: 65536 USED: 51200 FREE: 14336
RAM.... TOTAL PRESET: 20000 USED: 868 FREE: 19132
Die xy coords: 108199728
Wafer Number: 48
Lot_num ascii encoded [23:0]: 0x00395435 | 9 T 5
Lot_num ascii encoded [55:24]: 0x51211940 | Q ! . @
FLASH.. TOTAL REPORTED: 65536 USED: 51200 FREE: 14336
RAM.... TOTAL PRESET: 20000 USED: 868 FREE: 19132
Ok, my "good" bluepill board I have only had a day to play with, but appears to work flawlessly:
(Attachment Link)
(Attachment Link)
My POS bluepill board that requires reconfiguring GDB, does not work with Windows STM debug at all, and the only USB device implementation that works for some reason I would love to know how/why, Mecrisp-stellaris virtual com port.
(Attachment Link)
(Attachment Link)
As an aside from the bluepill boards - I have to say I haven't used Forth since the mid 80's. It was one of the few Acornsoft tapes I bought for my BBC Micro back then. Unfortunately it took up so much space in RAM that it was very limited for the graphics/games I wanted it to be used for programming. BBC Basic (in the ROM page) included an inline 6502 assembler which was excellent and I resorted to that, but I did kind of like the very low level of Forth and its RPN and stack back then. It was pretty much like 6502 with all the push and pops hidden under the cover.
As an aside from the bluepill boards - I have to say I haven't used Forth since the mid 80's. It was one of the few Acornsoft tapes I bought for my BBC Micro back then. Unfortunately it took up so much space in RAM that it was very limited for the graphics/games I wanted it to be used for programming. BBC Basic (in the ROM page) included an inline 6502 assembler which was excellent and I resorted to that, but I did kind of like the very low level of Forth and its RPN and stack back then. It was pretty much like 6502 with all the push and pops hidden under the cover.
G'day,
I've made up a Blue-Pill Image (30KB) that can be used to test if the USB on your board is working. It can also read the MCU internal ‘Device Electronic Signature’ and prints the results in a organized manner according to the STM32F0 tech sheet. The image boots on power up and runs in a 64KB Flash STM32F103.
Commands are entered in a Terminal Emulator on a PC, connected to the USB device on the board ("<Mecrisp STM32F10x Forth Serial Port>")
This uses the Mecrisp-Stellaris USB driver for STM32F103 by Jean-Claude Wippler.
I've tested it on a Shenzhen LC Technology board with a STM32F103C8T6 MCU as I don't have a Blue-Pill.
For more info: https://mecrisp-stellaris-folkdoc.sourceforge.io/f1-usb.html#stm32f1-usb
Image tarball download link: https://sourceforge.net/projects/mecrisp-stellaris-folkdoc/files/mecrisp-stellaris-1882bdaff62f637a7bdd517d14f4c1a4.tar.gz/download
Die xy coords: 107741008
Wafer Number: 73
Lot_num ascii encoded [23:0]: 0x00485572 | H U r
Lot_num ascii encoded [55:24]: 0x87243926 | . $ 9 &
BluepillDie xy coords: 108265297
Wafer Number: 72
Lot_num ascii encoded [23:0]: 0x00515782 | Q W .
Lot_num ascii encoded [55:24]: 0x87061344 | . . . D
BluepillDie xy coords: 108068681
Wafer Number: 73
Lot_num ascii encoded [23:0]: 0x00545682 | T V .
Lot_num ascii encoded [55:24]: 0x87055015 | . . P .
Bluepill (this one didn't want to program with st-flash as in the supplied script. Programs fine with openocd)Die xy coords: 108134227
Wafer Number: 113
Lot_num ascii encoded [23:0]: 0x00544872 | T H r
Lot_num ascii encoded [55:24]: 0x67041446 | g . . F
BluepillDie xy coords: 108003154
Wafer Number: 72
Lot_num ascii encoded [23:0]: 0x00565388 | V S .
Lot_num ascii encoded [55:24]: 0x87093153 | . . 1 S
Die xy coords: 108199730
Wafer Number: 52
Lot_num ascii encoded [23:0]: 0x00353254 | 5 2 T
Lot_num ascii encoded [55:24]: 0x57012556 | W . % V
These are some results from some bluepills I've laying around (with the R10 replaced with the proper value)
<snip>
This firmware seems to be incompatible with GD32F103C8T6 on my own board. On the same board configuration, I have managed to get it running with an STM32 chip (by manually pulling up the D+ line, as I used a GPIO pin for that)
<snip>
I have some other *32F103 chips laying around (MM32, BLM32, CS32)
I am waiting for some PCBs to solder them on, then I can test them too,
No one can read the GD32F103C8T6 so far, so it must have some USB differences to the STM32F103xxxx and the CKS32F103C8T6 ?
Or something else that is accessed during initialisation of your code. It seems to hang up to a state where the debugger won't connect unless I press the reset button.
Is it possible to have a build that makes PC13 high, as I use this pin as USB pullup pin in my board design, rather then have it hard-wired. That would make the testing of the chips I've waiting easier.
I'm also waiting for an APM32F103C8T6 as this one has appeared on lcsc. I'm planning to run some tests on the various 32F103 chips out there.
When submitting your results, please paste the text in your reply rather than pictures because text is a lot easier for me to tabulate the results.
When submitting your results, please paste the text in your reply rather than pictures because text is a lot easier for me to tabulate the results.I agree. I was only playing "follow by example" considering your initial post was in screenshot form.
I will also point out that my "POS Bluepill" with blatantly fake STM32 micro should have its ASCII data corrected because you have recorded it wrong:
Die xy coords: 74414100
Wafer Number: 47
Lot_num ascii encoded [23:0]: 0x000E0014 | . . .
Lot_num ascii encoded [55:24]: 0x170707E2 | . . . .
The other obvious wrong 'un is the free flash report:
FLASH FREE: 0 vs 14336 for every other STM32 F103C8T6 contender.
Is it possible to have a build that makes PC13 high, as I use this pin as USB pullup pin in my board design, rather then have it hard-wired. That would make the testing of the chips I've waiting easier.
Die xy coords: 108068680
Wafer Number: 113
Lot_num ascii encoded [23:0]: 0x00565366 | V S f
Lot_num ascii encoded [55:24]: 0x67133045 | g . 0 E
FLASH.. TOTAL REPORTED: 131072 USED: 51200 FREE: 79872
Die xy coords: 74414100
Wafer Number: 63
Lot_num ascii encoded [23:0]: 0x000E000C | . . .
Lot_num ascii encoded [55:24]: 0x170707E2 | . . . .
FLASH.. TOTAL REPORTED: 65536 USED: 65536 FREE: 0
Just checked my other 2 boards:
Interesting. This boards STM32 F103C8T6 device marking is exactly the same as my other 991KA 93 MYS 903 (week 3 of 2019?) but this one reports 128K vs 64K. STM32 ST-LINK confirms this.
G'day,
I've made up a Blue-Pill Image (30KB) that can be used to test if the USB on your board is working. It can also read the MCU internal ‘Device Electronic Signature’ and prints the results in a organized manner according to the STM32F0 tech sheet. The image boots on power up and runs in a 64KB Flash STM32F103.
Commands are entered in a Terminal Emulator on a PC, connected to the USB device on the board ("<Mecrisp STM32F10x Forth Serial Port>")
This uses the Mecrisp-Stellaris USB driver for STM32F103 by Jean-Claude Wippler.
I've tested it on a Shenzhen LC Technology board with a STM32F103C8T6 MCU as I don't have a Blue-Pill.
For more info: https://mecrisp-stellaris-folkdoc.sourceforge.io/f1-usb.html#stm32f1-usb
Image tarball download link: https://sourceforge.net/projects/mecrisp-stellaris-folkdoc/files/mecrisp-stellaris-1882bdaff62f637a7bdd517d14f4c1a4.tar.gz/download
G'day,
I've made up a Blue-Pill Image (30KB) that can be used to test if the USB on your board is working. It can also read the MCU internal ‘Device Electronic Signature’ and prints the results in a organized manner according to the STM32F0 tech sheet. The image boots on power up and runs in a 64KB Flash STM32F103.
Commands are entered in a Terminal Emulator on a PC, connected to the USB device on the board ("<Mecrisp STM32F10x Forth Serial Port>")
This uses the Mecrisp-Stellaris USB driver for STM32F103 by Jean-Claude Wippler.
I've tested it on a Shenzhen LC Technology board with a STM32F103C8T6 MCU as I don't have a Blue-Pill.
For more info: https://mecrisp-stellaris-folkdoc.sourceforge.io/f1-usb.html#stm32f1-usb
Image tarball download link: https://sourceforge.net/projects/mecrisp-stellaris-folkdoc/files/mecrisp-stellaris-1882bdaff62f637a7bdd517d14f4c1a4.tar.gz/download
stm32id
Die xy coords: 108003144
Wafer Number: 73
Lot_num ascii encoded [23:0]: 0x00505689 | P V .
Lot_num ascii encoded [55:24]: 0x87071342 | . . . B
ok.
free (bytes)
FLASH.. TOTAL REPORTED: 65536 USED: 63800 FREE: 1736
RAM.... TOTAL PRESET: 20000 USED: 960 FREE: 19040
stm32id
Die xy coords: 107872310
Wafer Number: 49
Lot_num ascii encoded [23:0]: 0x0031304B | 1 0 K
Lot_num ascii encoded [55:24]: 0x43113133 | C . 1 3
ok.
free (bytes)
FLASH.. TOTAL REPORTED: 65536 USED: 63800 FREE: 1736
RAM.... TOTAL PRESET: 20000 USED: 960 FREE: 19040
2 boards bought off amazon a week ago as a pair with a random st-linkv2. Advertised as "initeq] STM32 ARM STM32F103C8T6 Blue Pill Minimum System Development Board"
The top one actually has a fully numeric id, but its brother from the same lot has a single "B" hiding in it... so... 2 fakes? Maybe someone is cutting their batches with fakes? ¯\_(ツ)_/¯?
The writing on both is maddeningly faint, but they both read
STM32
F103C8T6
991KA 93
MYS 903
topCode: [Select]stm32id
Die xy coords: 108003144
Wafer Number: 73
Lot_num ascii encoded [23:0]: 0x00505689 | P V .
Lot_num ascii encoded [55:24]: 0x87071342 | . . . B
ok.
free (bytes)
FLASH.. TOTAL REPORTED: 65536 USED: 63800 FREE: 1736
RAM.... TOTAL PRESET: 20000 USED: 960 FREE: 19040
bottomCode: [Select]stm32id
Die xy coords: 107872310
Wafer Number: 49
Lot_num ascii encoded [23:0]: 0x0031304B | 1 0 K
Lot_num ascii encoded [55:24]: 0x43113133 | C . 1 3
ok.
free (bytes)
FLASH.. TOTAL REPORTED: 65536 USED: 63800 FREE: 1736
RAM.... TOTAL PRESET: 20000 USED: 960 FREE: 19040
The jumper's on the bottom ones each lost a shoulder while I've been goofing off with them.
I've worked with microcontrollers before, but these are my first STM32s so I've been attributing any fighting I've done with them to my own dumb ass rather than something working out of spec.... Honestly that still seems more likely.
Testing 64kB Flash block: 0x10000 - 0x1FFFF
Erasing
Flash with 1010101010101010 (0xAA)
Testing for 0xAA - OK
Erasing
Flash with 0101010101010101 (0x55)
Testing for 0x55 - OK
Erasing
~~~~~ ALL TESTS PASSED ~~~~~
Testing 64kB Flash block: 0x10000 - 0x1FFFF
Erasing
Flash with 1010101010101010 (0xAA)
Testing for 0xAA - OK
Erasing
Flash with 0101010101010101 (0x55)
Testing for 0x55 - OK
Erasing
~~~~~ ALL TESTS PASSED ~~~~~