Search found 1011 matches

by Rick Kimball
Sun Oct 08, 2017 2:09 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Hello from California
Replies: 12
Views: 132

Re: Hello from California

Just wondering if anyone has jumped over this hurtle and might want to share a solution. funny you should ask, just the other day I configured platform.txt and boards.txt to use openocd as an SWD programmer using the bcm2836 pins. I didn't think anyone else cared so I didn't post about it. If there...
by Rick Kimball
Thu Oct 05, 2017 3:45 pm
Forum: Code snipplets
Topic: A faster ringbuffer implementation
Replies: 12
Views: 1636

Re: A faster ringbuffer implementation

Is that just ensuring that the structure is initialised to 0 when it is created? Yes. However this is only a problem if it instanced on the stack. If you make it a global variable the .bss section gets zeroed out at startup. Also, why is the capacity one less than the actual size of the buffer? I l...
by Rick Kimball
Wed Oct 04, 2017 8:41 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Hi from a prospective stm32 owner
Replies: 10
Views: 208

Re: Hi from a prospective stm32 owner

RogerClark wrote:
Wed Oct 04, 2017 8:35 pm
Never the less, this looks like an improved version of the BluePill. Its just a shame they didnt use a different pcb colour e.g. green etc
Have you looked at their website? Black is their thing, all their boards are black.

http://www.robotdyn.com/ ... lots of black there.
by Rick Kimball
Wed Oct 04, 2017 3:54 am
Forum: Code snipplets
Topic: A faster ringbuffer implementation
Replies: 12
Views: 1636

Re: A faster ringbuffer implementation

You just need to provide the POP_T data type and make it the same as the T data type in your template definition. ringbuffer_t<T, buffer_size, T, -1> values; /* <<<< note this is different than yours */ For the POP_T, you can use the same type as used for the element T or a different one. I used thi...
by Rick Kimball
Sat Sep 30, 2017 4:49 pm
Forum: STLink
Topic: Ultra simple STM32 debugger
Replies: 29
Views: 762

Re: Ultra simple STM32 debugger

RogerClark wrote:
Fri Sep 29, 2017 8:37 pm
I tried to use the Eclipse Standalone Debugger a few months ago, but it did not work on Windows, and as far as I could tell, no one on the Eclipse dev team was working on it.
It seems like there are binaries for all platforms now:

http://download.eclipse.org/tools/cdt/r ... 2/r.1/rcp/
by Rick Kimball
Sat Sep 30, 2017 2:17 pm
Forum: STM core: Bugs and enhancements
Topic: [Enhancement] USB CDC Build on DISCO_F072RB
Replies: 10
Views: 230

Re: [Enhancement] USB CDC Build on DISCO_F072RB

ekawahyu wrote:
Sat Sep 30, 2017 8:35 am
Do you still have it or is it completely vanished from your machine as well?
viewtopic.php?f=35&t=113&start=40#p24403
by Rick Kimball
Fri Sep 29, 2017 10:50 pm
Forum: STM core: Bugs and enhancements
Topic: [Enhancement] USB CDC Build on DISCO_F072RB
Replies: 10
Views: 230

Re: [Enhancement] USB CDC Build on DISCO_F072RB

You could spend a few dollars and get a nucleo version of the F072 and use the builtin serial port instead of trying to use CDC USB.

http://www.st.com/en/evaluation-tools/n ... 072rb.html
by Rick Kimball
Fri Sep 29, 2017 2:39 pm
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 162
Views: 1940

Re: F405 & F411 versions of the BluePill

Re: USB enumeration Rick. So... You're saying that we don't need a USB re-enumeration circuit or external 1.5k pullup as its all under SW control ? It seems that way, based on information in the reference manual 34.3.2 Full-speed OTG PHY The embedded full-speed OTG PHY is controlled by the OTG FS c...
by Rick Kimball
Fri Sep 29, 2017 8:30 am
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 162
Views: 1940

Re: F405 & F411 versions of the BluePill

These chips have builtin pullup/down resistors you control via the usb peripheral. You don't need/want external ones. Read up on the OTG FS PHY features in the reference manual.
by Rick Kimball
Wed Sep 27, 2017 9:06 pm
Forum: STLink
Topic: Ultra simple STM32 debugger
Replies: 29
Views: 762

Re: Ultra simple STM32 debugger

I can't really look at this as I'm linux only. However, it seems if you want to go down this path you really need to use something that is cross platform. If you expend effort now to do a GUI thing and it is windows only, you will never go back after this point.