Search found 996 matches

by Rick Kimball
Mon Sep 25, 2017 4:00 am
Forum: Black Magic Probe & other
Topic: [Solved]Conversion of Not so good value STM32F103C8T6 Board to BMP
Replies: 14
Views: 111

Re: Conversion of Not so good value STM32F103C8T6 Board to BMP

If you flash a bluepill with this blackmagic.bin you have created does it work?
by Rick Kimball
Mon Sep 25, 2017 3:42 am
Forum: Black Magic Probe & other
Topic: [Solved]Conversion of Not so good value STM32F103C8T6 Board to BMP
Replies: 14
Views: 111

Re: Conversion of Not so good value STM32F103C8T6 Board to BMP

you have both 3v3 and usb connected? It should be one or the other but not both.
by Rick Kimball
Mon Sep 25, 2017 3:36 am
Forum: Black Magic Probe & other
Topic: [Solved]Conversion of Not so good value STM32F103C8T6 Board to BMP
Replies: 14
Views: 111

Re: Conversion of Not so good value STM32F103C8T6 Board to BMP

Are there pull up resistors on those pins, as they were marked i2c? if so,maybe try other pins
by Rick Kimball
Mon Sep 25, 2017 3:15 am
Forum: Black Magic Probe & other
Topic: [Solved]Conversion of Not so good value STM32F103C8T6 Board to BMP
Replies: 14
Views: 111

Re: Conversion of Not so good value STM32F103C8T6 Board to BMP

Have you connected DIO,CLK,GND? between each board? Powering bluepill with Usb?

Did you try setting boot0 high on the blupill, press reset and then try to connect?

Does 'monitor help' work?
by Rick Kimball
Sun Sep 24, 2017 4:24 pm
Forum: Black Magic Probe & other
Topic: [Solved]Conversion of Not so good value STM32F103C8T6 Board to BMP
Replies: 14
Views: 111

Re: Conversion of Not so good value STM32F103C8T6 Board to BMP

I would use the SCL SDA pins (PB6, PB7) for the SWD pins, that way they physically line up in a row (3v3, SCL, SDA, GND) making the wire connection simpler. The change should just be a few defines in the header you pointed at above. I've never spent any time trying to get the JTAG feature of BMP wor...
by Rick Kimball
Sun Sep 24, 2017 3:57 pm
Forum: STM32F103 Boards
Topic: Red Pill or Blue Pill?
Replies: 221
Views: 33916

Re: Red Pill or Blue Pill?

If you are asking do you have to worry about the PA12 pullup resistor with the red pill board, then no. The red pill boards I have ordered all had the proper 1k5 resistor. Just try it. I'm guessing it will just work.
by Rick Kimball
Sat Sep 23, 2017 5:09 pm
Forum: STM core: Bugs and enhancements
Topic: tone() not working on F072-Discovery
Replies: 10
Views: 90

Re: tone() not working on F072-Discovery

You could wire the tone output pin to another pin and use pulseIn() to measure.
by Rick Kimball
Thu Sep 21, 2017 2:03 pm
Forum: STM core: Bugs and enhancements
Topic: Suggest having BluePill pins defined for all Arduino pins
Replies: 5
Views: 96

Re: Suggest having BluePill pins defined for all Arduino pins

I have my desktop background set to the GIF from the wiki: http://wiki.stm32duino.com/images/a/ae/Bluepillpinout.gif It incorporates everything you want to know about the pins. Pin name, 5V tolerant, not 5v tolerant, PWM capable, max sink and source, all the available alternative functions all on on...
by Rick Kimball
Wed Sep 20, 2017 7:30 pm
Forum: STM core: Bugs and enhancements
Topic: Suggest having BluePill pins defined for all Arduino pins
Replies: 5
Views: 96

Re: Suggest having BluePill pins defined for all Arduino pins

What's the point? The blue pill board doesn't have a layout like an arduino, you will need an adapter plate to actually use any arduino shield. All this suggestion does is make sure code I write for the Roger's core will be guaranteed not to work on the STM core. :| It sound like you need to get a N...
by Rick Kimball
Sat Sep 16, 2017 6:03 pm
Forum: Code snipplets
Topic: more fun with C++, templates and GPIO
Replies: 14
Views: 2271

Re: more fun with C++, templates and GPIO

is it possible write this so that it could be used for any port eg A, B, ... G etc ? @zmemw16 I was looking at this again for some reason. I made a simple change that lets you do what you want. I added a generic template member function called GPIOPortX() that returns the proper port based on a num...