Update Bluepill wiki data

testato
Thu Dec 01, 2016 4:15 pm
http://wiki.stm32duino.com/index.php?title=Blue_Pill

PLease may you update the wiki and add the fact that many(probably all) C8 Mcu version have 128KB.
You maybe can explain that for this reason you have added a two generic F103C8 board in the core, the 64KB and the 128KB

Thanks


RogerClark
Thu Dec 01, 2016 9:35 pm
Anyone can create an account on the wiki and the edit the pages

zmemw16
Thu Dec 01, 2016 9:48 pm
st say it is a 64k device.
they seem to use a process yielding 128k.

if you choose to use 128k, it is not a certainty that it works.
it has legal aspects.

stephen


testato
Thu Dec 01, 2016 10:23 pm
I updated the Bluepill wiki page, i added the bootloader message output also
@RogerClark do you like it ?

@zmemw16
Seems that all the F103C8 work on 128KB, for now nobody come here for tell that he have a board that do not work on 128KB
Probably it is only a commercial requirement put the C8 in the ST catalogue whit 64KB specification.

There is in fact other ST model that have undocumented Peripheral also, like some MCU whit two Timer on datasheet but instead it have TIM 0,1,2 working

For the people that want use only the 64KB for legal reason on his project, he can use the 64KB upload setting, but it is important that the 128KB upload board setting remain inside the core.


RogerClark
Thu Dec 01, 2016 10:45 pm
testato wrote:I updated the Bluepill wiki page, i added the bootloader message output also
@RogerClark do you like it ?

@zmemw16
Seems that all the F103C8 work on 128KB, for now nobody come here for tell that he have a board that do not work on 128KB
Probably it is only a commercial requirement put the C8 in the ST catalogue whit 64KB specification.

There is in fact other ST model that have undocumented Peripheral also, like some MCU whit two Timer on datasheet but instead it have TIM 0,1,2 working

For the people that want use only the 64KB for legal reason on his project, he can use the 64KB upload setting, but it is important that the 128KB upload board setting remain inside the core.


zmemw16
Fri Dec 02, 2016 1:57 am
if i market a product with a 103c8 in it using more than 64k of flash and as a result, someone gets hurt or dies.
just how long do you think it would before the court date for damages?

if i do it solely for myself say to use in a competitive robot and again someone etc.
same question.

if i do it solely for myself and again someone, a relative maybe etc.
same question or maybe not.

if i do it solely for myself and i get hurt, you’ll hopefully be able to call yourself some names, mutter some words and fix the ’cause’

it would not be ST in court.
this line remains for all the above if i don’t use 64k

stephen


ahull
Fri Dec 02, 2016 6:46 am
zmemw16 wrote:if i market a product with a 103c8 in it using more than 64k of flash and as a result, someone gets hurt or dies.
just how long do you think it would before the court date for damages?

if i do it solely for myself say to use in a competitive robot and again someone etc.
same question.

if i do it solely for myself and again someone, a relative maybe etc.
same question or maybe not.

if i do it solely for myself and i get hurt, you’ll hopefully be able to call yourself some names, mutter some words and fix the ’cause’

it would not be ST in court.
this line remains for all the above if i don’t use 64k

stephen


michael_l
Fri Dec 02, 2016 7:02 am
This board is known to have a wrong value for the R10 (USB pull-up resistor) on the board. It ships with either a 10K resistor or a 4.7k resistor, but it should be replaced with a 1.5k resistor, or put an appropriate resistor value (e.g 1.8k) in between PA12 and 3.3V, if you want the USB to work properly.

Pito
Fri Dec 02, 2016 8:41 am
if i market a product with a 103c8 in it using more than 64k of flash and as a result, someone gets hurt or dies.
just how long do you think it would before the court date for damages?

You will be liable, as almost all MCUs (and other components) manufacturers have put a Disclaimer at the end of their Datasheets, saying they are not liable when somebody uses that component for that kind of application..

zmemw16
Fri Dec 02, 2016 12:28 pm
and if i add the same disclaimer?
without opening a bag of worms isn’t that in the gpl; v2 & v3

re 10K – just lack of reading or understanding on their part?

stephen


michael_l
Fri Dec 02, 2016 12:55 pm
zmemw16 wrote:and if i add the same disclaimer?
without opening a bag of worms isn’t that in the gpl; v2 & v3

re 10K – just lack of reading or understanding on their part?

stephen


zmemw16
Fri Dec 02, 2016 1:03 pm
i was referring to the usage of 4k7 or 10k, not usb.
however in order for usb host system to re-enumerate the usb, experience suggests a better value to use would 1k5 or 1k8 in parallel with the 10k, the value for use with a 4k7 is left as an exercise for the reader.
i don’t know what the usb specification says.
stephen

Rick Kimball
Fri Dec 02, 2016 2:16 pm
zmemw16 wrote:i don’t know what the usb specification says.

edogaldo
Fri Dec 02, 2016 4:12 pm
testato wrote:
Seems that all the F103C8 work on 128KB, for now nobody come here for tell that he have a board that do not work on 128KB

testato
Fri Dec 02, 2016 6:36 pm
michael_l wrote:
Well, I guess to me it is not clear what ‘usb to work properly” means. But that’s just me..

RogerClark
Fri Dec 02, 2016 7:39 pm
I think the point to note is that the correct value is 1.5k, but some PCs are tolerant of incorrect value

testato
Fri Dec 02, 2016 7:56 pm
ok, i changed the last line to :
It is also true that some PCs are tolerant of incorrect value so, before you change the resistance, you can try if it works in your case.

RogerClark
Fri Dec 02, 2016 8:06 pm
sounds good

Rick Kimball
Fri Dec 02, 2016 9:07 pm
While we are dusting and cleaning, I threw in a pinout picture and pdf link.

RogerClark
Fri Dec 02, 2016 10:42 pm
Thanks

visinet
Mon Dec 05, 2016 6:37 pm
FYI: Not sure if I just got lucky but I got 3 of these and all of them had the standard ST serial boot loader present. All the review I have seen state that these do not have the boot loader on them so not sure why mine did. Great little boards.

danieleff
Mon Dec 05, 2016 7:12 pm
It is unfortunate but the ST system bootloader embedded in every ST chip, and the custom flash bootloader both have the same name “bootloader”. You probably refer to the former.

testato
Sat Dec 10, 2016 6:12 pm
@visinet
yep, on every ST MCU is there a factory bootloader, on some model is there many bootloaders, for example a serial BL and a I2C BL inside the same mcu.
The Bluepill have only the Serial BL inside, but you can manually install the stm32duino USB BL if you want upload new fw by usb.

testato
Sat Dec 10, 2016 6:20 pm
the Software Installation section should be completely rewrited,
I think this Perpetual mode, is an old procedure ?
place the board into “perpetual bootloader” mode before you can upload a sketch; place resistor between pin PC14 and 3.3V, then reset the board

victor_pv
Tue Jan 03, 2017 10:53 pm
testato wrote:the Software Installation section should be completely rewrited,
I think this Perpetual mode, is an old procedure ?
place the board into “perpetual bootloader” mode before you can upload a sketch; place resistor between pin PC14 and 3.3V, then reset the board

victor_pv
Tue Jan 10, 2017 12:12 am
testato wrote:the Software Installation section should be completely rewrited,
I think this Perpetual mode, is an old procedure ?
place the board into “perpetual bootloader” mode before you can upload a sketch; place resistor between pin PC14 and 3.3V, then reset the board

RogerClark
Tue Jan 10, 2017 2:44 am
I can confirm the bootloader does not take any RAM after its finished running. I think it used to take 3k.

RogerClark
Tue Jan 10, 2017 2:45 am
Victor

BTW.
Anyone can register on the wiki and update it


victor_pv
Tue Jan 10, 2017 10:00 pm
RogerClark wrote:Victor

BTW.
Anyone can register on the wiki and update it


RogerClark
Tue Jan 10, 2017 11:01 pm
OK

There have not been too many changes to the bootloader over the last year.

There was a fix for newer versions of GCC and also some experimental code to use the battery backed registers to hold the bootloader in DFU (aka perpetual mode) but I think thats about it apart from new variants (but those are just #defines in the config file)


Leave a Reply

Your email address will not be published. Required fields are marked *