Search found 52 matches

by geoffrey.brown
Thu Sep 26, 2019 3:05 pm
Forum: STM32 Support
Topic: picking a nucleo board to use in a course
Replies: 1
Views: 195

picking a nucleo board to use in a course

I do a lot of teaching using STM32 boards -- in the past, we've primarily used F3 discovery boards. For a new course I'm going to use a Nucleo-64 board to have easy access to the various add in boards. Any thoughts on the "best" choice ? F303RE, F401RE, L476RG ? I've used the F303RE board ...
by geoffrey.brown
Sat Sep 14, 2019 3:18 pm
Forum: ChibiOS/EX
Topic: vl53l0x.c ??
Replies: 1
Views: 517

vl53l0x.c ??

There's a vl53l0x.h file in

ChibiOS/os/ex/devices/ST/vl53l0x.h

But I don't see the corresponding .c file. Did this never get created ?

Geoffrey
by geoffrey.brown
Thu Mar 28, 2019 12:55 pm
Forum: STM32 Support
Topic: CRT0_INIT_STACKS
Replies: 1
Views: 144

CRT0_INIT_STACKS

What unintended consequences might I face using CRT0_INIT_STACKS=0 ? I'm using standby mode on and stm32l4 which means a "reset" on exit. With a 1 sec wake up alarm, the cost is relatively high (3msec) which can be significantly reduced by eliminating as much memory initialization as possi...
by geoffrey.brown
Wed Feb 13, 2019 1:29 pm
Forum: User Projects
Topic: stlink "clone" on stm32f042
Replies: 9
Views: 946

Re: stlink "clone" on stm32f042

Giovanni, I've added another directory to the git repository firmware/extensions. This contains the usbcfg.[ch] files I used on boards with a cli. The only additional changes are a shell thread and the ChibiOS serial usb driver and cli. I haven't tried adding this to the stm32f042 and I'm not sure t...
by geoffrey.brown
Mon Feb 11, 2019 8:55 pm
Forum: User Projects
Topic: stlink "clone" on stm32f042
Replies: 9
Views: 946

Re: stlink "clone" on stm32f042

Giovanni,

I did an earlier version on stm32l432 which also had a virtual com port. Not too challenging to see how that might support a mux function. Happy to share that if it interests you.

Geoffrey
by geoffrey.brown
Mon Feb 11, 2019 8:52 pm
Forum: User Projects
Topic: stlink "clone" on stm32f042
Replies: 9
Views: 946

Re: stlink "clone" on stm32f042

I am familiar with black magic probe, but it's a bit "beefy" for my needs and GDB, which I use for debugging, is not a great interface for the other tasks that I care about.

I use openocd only for debugging and flashing. Everything else goes through the stlink interface.

Geoffrey
by geoffrey.brown
Mon Feb 11, 2019 4:16 pm
Forum: User Projects
Topic: stlink "clone" on stm32f042
Replies: 9
Views: 946

Re: stlink "clone" on stm32f042

If you consider openocd to be documentation. In a sense, it's reverse engineered from the openocd file: https://github.com/ntfreak/openocd/blob/master/src/jtag/drivers/stlink_usb.c STLink is built on ARM SWD. The SWD protocol is completely documented and there are a number of implementations (black ...
by geoffrey.brown
Mon Feb 11, 2019 2:16 pm
Forum: User Projects
Topic: stlink "clone" on stm32f042
Replies: 9
Views: 946

stlink "clone" on stm32f042

We needed a standalone "base" for a project I am working on. In the process, I developed software to clone the stlink functionality using ChibiOS. This plays nicely with openocd. We also built separate command-line and QT applications that use the openocd stlink files to directly access ha...
by geoffrey.brown
Wed Oct 17, 2018 7:29 pm
Forum: STM32 Support
Topic: stm32f042 + tickless + usb
Replies: 2
Views: 348

Re: stm32f042 + tickless + usb

Thanks. It'll have to wait a few days -- about to leave for the airport. Could you provide a hint about what you think might be going on ?
Geoffrey
by geoffrey.brown
Wed Oct 17, 2018 3:46 pm
Forum: STM32 Support
Topic: stm32f042 + tickless + usb
Replies: 2
Views: 348

stm32f042 + tickless + usb

I've had a small problem with an stm32f042 device using tickless, usb (plus CRS) -- it works fine after booting, but after sitting idle for several minutes the a new libusb connection causes it to reset. When I changed CH_CFG_ST_TIMEDELTA to 0, (i.e. not use tickless mode), i've had no further issue...

Go to advanced search