Search found 1014 matches

by Rick Kimball
Fri Oct 20, 2017 7:57 pm
Forum: Custom design boards
Topic: CPLD Fun Board (Arduino STM32 + Altera CPLD)
Replies: 12
Views: 130

Re: CPLD Fun Board (Arduino STM32 + Altera CPLD)

Regarding examples, I had noticed this Altera Application note:

"AN 265: Using Altera MAX Series as Microcontroller I/O Expanders"
https://www.altera.com/documentation/sa ... 05644.html

I was selfishly hoping you had already written the mcu code for the STM32 : )
by Rick Kimball
Fri Oct 20, 2017 7:55 pm
Forum: Maple & Maple mini etc
Topic: Programming MM with ST Link V2?
Replies: 4
Views: 67

Re: Programming MM with ST Link V2?

google search site:stm32duino.com CONFIG_MAPLE_MINI_NO_DISABLE_DEBUG
by Rick Kimball
Fri Oct 20, 2017 1:31 am
Forum: Custom design boards
Topic: CPLD Fun Board (Arduino STM32 + Altera CPLD)
Replies: 12
Views: 130

Re: CPLD Fun Board (Arduino STM32 + Altera CPLD)

Looks great! Do you have example VHDL code that interfaces the CPLD and the stm32?
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: 16
Views: 227

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: 1675

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: 13
Views: 252

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: 1675

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: 861

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: 257

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: 257

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