C8 boards with 128k flash ?

smithy
Wed Aug 17, 2016 7:04 pm
http://www.rcgroups.com/forums/showthre … st29151853
When i use the flash demo tool i can select 64 and 128k, tried to erase page 127 and got no error.
Dont have a sketch to test but maybe someone tried, is it working ?

Pito
Wed Aug 17, 2016 8:28 pm
I can confirm a 105kB large sketch works here on BluePill C8..

smithy
Wed Aug 17, 2016 8:55 pm
Thanks for the fast reply, did you select CB as board ?

Pito
Wed Aug 17, 2016 9:26 pm
Yes, 103CB w/ 128kB flash 20kB ram, bootloader 2.0, IDE 1.6.10.
Sketch uses 105,396 bytes (80%) of program storage space. Maximum is 131,072 bytes.
Global variables use 6,152 bytes of dynamic memory.

RogerClark
Wed Aug 17, 2016 9:43 pm
Its well known, that the C8 is actually the same as the CB.

Both really have 128k flash.

But some time in the future this may change if STM changes their manufacturing.

BTW. GD32F103C8 only has 64k Flash, but it is an entirely different chip, even though it was cloned from the F103C8 spec


smithy
Wed Aug 17, 2016 11:09 pm
Sadly it has no DAC, the only thing im missing here :(

RogerClark
Wed Aug 17, 2016 11:22 pm
DAC isnt in the CB or C8, only in the R series package. (and bigger)

Actually the R series is strange, the lower half of the series seems a lot like the C series, but the RC and RE etc, are a lot better e.g. more flash etc etc

Leaflabs eventually brought out a F103RET product, but this was just before they stopped manufacturing, so I don’t know anyone who has one.

iTeadStudio to a Maple but unfortunately used the RB ;-(

There is a forum member in China who does a RET based board, but his postage charges currently make it uneconomic to buy from him.
( as @madias found out)


smithy
Thu Aug 18, 2016 5:08 am
http://www.ebay.de/itm/322012615837?_tr … EBIDX%3AIT
This one has DAC then ?

Sketch uses 12,892 bytes (9%) of program storage space. Maximum is 131,072 bytes.
Global variables use 2,792 bytes of dynamic memory.

Btw, is that normal for a blink sketch (using generic PC13 bootloader)


RogerClark
Thu Aug 18, 2016 5:40 am
No.

They have put the wrong description.

That board is an STM32F103CB NOT F103RC (unless the pictures do not match the board) The F103RC MCU is much bigger physical size (more pins etc)

the “Maple mini” board is definitely STM32F103CB

PS. See my other post about boards with DAC


ahull
Thu Aug 18, 2016 8:57 pm
A lot of these boards are described as STM32F103RCBT6 in reality I think they are STM32F103C8T6 or STM32F103CBT6

madias
Fri Aug 19, 2016 2:15 pm
This one is your friend, if you need DAC’s:
http://www.aliexpress.com/item/STM32F10 … 83720.html
I played a lot with it and it’s really good for that price.
Warning! You’ll need a ST-Link USB Adapter to burn the bootloader first.

edogaldo
Fri Aug 19, 2016 2:30 pm
If you have 2 dollars more to invest, I’d suggest also this:

http://www.ebay.it/itm/NEW-STM32F103VET … SwKtlWlKqC

64K ram
512K flash
1k I2C eeprom

I have it and I like it very much!

Best, E.


madias
Fri Aug 19, 2016 4:06 pm
Touché! :)
If you need a big VET6 board, I suggest this one, I’ve reviewed in the past:
viewtopic.php?f=28&t=490

smithy
Fri Aug 19, 2016 4:26 pm
Any of theese breaboard compatible ?

I will use the demoflashtool to verify which chip is on the board and reply here.


madias
Sat Aug 20, 2016 6:31 am
smithy wrote:Any of theese breaboard compatible ?.

RogerClark
Sat Aug 20, 2016 6:46 am
I think Matthias may mean this board

http://analoglamb.com/product/mapletree … leaf-maple

Its a F103RB

I presume it has DAC


Pito
Sat Aug 20, 2016 1:56 pm
A solderless breadboard compatible board could be done with a 64pin package – you will get 1 row at each side free for jump wires.
An example of such board (not stm32) http://fubarino.org/ – 2 layers one.
Btw the board’s bottom side is not populated (empty).
So why we do not have such stm32 version then?? :twisted:

smithy
Sat Aug 20, 2016 7:06 pm
Thanks for all the suggestions you guys are awesome !
Right now im pretty focused getting U8g2 to work with HW SPI but it´s very hard for me since i´m not that into details when it comes to connections like SPI with dma and so on. I´m already in contact with the dev of this lib and he managed to find some speed issues and its working on a due now (i dont have one :( ). Any help here would be very appreciated. (http://www.stm32duino.com/viewtopic.php … 000#p17000) Since this is getting too offtopic i suggest to make more pinned threads especially when it comes to rudimentary functions like SPI (most wiki instructions have a post date from 2015 and i could find a lot of relevant posts in this forum made later so i don´t know where to get the newest summarized information from).
Best regards,
smithy

smithy
Wed Sep 07, 2016 5:09 pm
Well today i received my baite maple mini clone and its a STM32F103CBT6…
Since im quite confused about which boards i should stock up with i wonder what is the difference betweeen STM32F103C8T6 and the STM32F103CBT6 since the c8 (bluepill) seems cheaper and has 128k flash ??? (both fit in my breadboard)

madias
Wed Sep 07, 2016 8:19 pm
C8 and CB “act” really like the same (we know nobody with a C8 and “active” limitations). On a maple mini clone you have a special bootloader circuit logic as on the original one, but some very smart guys here managed it to use the bootloader without the circuit logic. The blue pill has some advantages: ST_link headers and a 32khz RTC-oscillator already sold on. Disadvantage: If you need USB you have to solve the resistor problem (see wiki) -I ordered a blue pill last month and the USB resistor value is 10k, so it won’t be recognized on PC. The maple mini clone on the other hand is more “bullet proof”, because on this device we test nearly everything.
About U8g2: I gave up in the past converting it for stm32duino, too much effort and too oversized/-blown in my opinion.

smithy
Wed Sep 07, 2016 9:15 pm
Thanks madias for stating you opinion here, i ordered this one http://www.ebay.de/itm/172113793450?_tr … EBIDX%3AIT and i had no problems making iw work with dfu and so on (but i had some solder rest inside the pins i needed to remove first and the usb does seem to be squeezed a bit, i complained and now i get another free board with my next order or 1€ payback). The maple clones have a wrong description of the chip (RC) and are more expensive, i guess c8 boards are the better ones to get right now (plus you can set the boot 0/1 via jumpers and pin descriptions are way better in my opinion, i just want some breadboard compatible boards replacing my nanos for whatever i like to develop).
I got u8g2 working with 8080 mode but i´m having a hard time optimizing with gpio instructions (see http://www.stm32duino.com/viewtopic.php … 561#p17561). Also i´m in contact with the developer, he said hes going to make it compatible with the due but hes not willed to invest time top make it compatible with stm since he thinks setting up arduino is too difficult (already tried to convince him its not that much work but he has too many ppl requesting too many things from him i guess). U8g in general is awesome for any glcd project, i already managed to make my own fonts and so on if you need any help maybe i can provide some info (i didnt get spi to work properly in hw mode, only sw mode). Anyways i think my project needs a VET6 so i less limitations for future features (already have a board here but no strip sockets :( gonna try to make my own pcb with such a chip its only 1 dollar more expensive with a lot of more possibilities, hope it works well with the implemenation of roger ) Btw you are from austria, i love nova rock and frequency !!! :)

madias
Wed Sep 07, 2016 10:42 pm
smithy wrote: Btw you are from austria, i love nova rock and frequency !!! :)

smithy
Thu Sep 08, 2016 12:06 pm
I don´t quite see a problem here, since u8g2 (like u8g) uses device specific files where you can alter initialisation and some delays. The problem is rather getting the different interfaces to work properly, the my example i posted should work with any 8080 display (if the device specific file is working in general, for compability you should first try to use it on an avr 328p or similar). Also u8g2 does use normal arduino decralarations (pinmode and so on) if used with a stm32 chip (fallback). Maybe you had more problems since he is updating it quite often and you had a bugged version.

Sylvan_YZY
Wed Oct 12, 2016 2:30 am
the 128k of f103c8 is not guaranteed, I ordered this board from taobao and tested with EEPROM lib on 0x801F400, it return me with wrong page size error, the same code works ok on another blue pill and red pill board. and i changed its address to 0x800F400 it return with no error.

file.png
file.png (207.84 KiB) Viewed 4778 times

pokemon99
Wed Oct 11, 2017 6:16 am
I have several boards. On one STM32 ST-LINK Utility displays 128K flash memory, another 64K,
you can be seen in the screenshot, but if you go to Option Bytes, you can see that this MCU has 128 pages of 1k

RogerClark
Wed Oct 11, 2017 6:25 am
[Sylvan_YZY – Wed Oct 12, 2016 2:30 am] –
the 128k of f103c8 is not guaranteed, I ordered this board from taobao and tested with EEPROM lib on 0x801F400, it return me with wrong page size error, the same code works ok on another blue pill and red pill board. and i changed its address to 0x800F400 it return with no error.

Thanks.

Its interesting to know that some C8 boards only have 64k.

Note.
I recall a PR someone sent me a few months ago which would have changed the settings so that the C8 MCU was shown as 128k, but I rejected it, because 128k was never guaranteed.


pokemon99
Wed Oct 11, 2017 6:39 am
On another MCU STM32 ST-LINK utility shows 128k, but they have the same number of pages

Leave a Reply

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