Search found 451 matches

by mobyfab
Thu May 11, 2017 4:09 pm
Forum: User Projects
Topic: STM32 CubeMX to ChibiOS board file generator
Replies: 28
Views: 11905

Re: STM32 CubeMX to ChibiOS board file generator

You did not specify your .ioc file... that's never going to work. (did you try -h as I advised?)
can you upload your .ioc file somewhere for me to test it?

Thanks
by mobyfab
Thu May 11, 2017 2:06 pm
Forum: User Projects
Topic: STM32 CubeMX to ChibiOS board file generator
Replies: 28
Views: 11905

Re: STM32 CubeMX to ChibiOS board file generator

Hey, you're doing it wrong ;) -g is used to point to the GPIO file directly, not a folder. In your case it should be "GPIO-STM32F103x8_gpio_v1_0_Modes.xml" (find the file in cubemx folder and paste it in the same folder as the script) use -h to get information about the parameters. I just ...
by mobyfab
Wed May 10, 2017 8:20 pm
Forum: User Projects
Topic: Multi interface USB module
Replies: 3
Views: 1807

Re: Multi interface USB module

It's just a hobby so far, but I'll probably build a few if there's interest, it will always be open source ;)

That would work for cars (anything actually) as well indeed.
As long as you have the software to edit your fuel maps it can be useful.
by mobyfab
Wed May 10, 2017 4:14 pm
Forum: User Projects
Topic: Multi interface USB module
Replies: 3
Views: 1807

Re: Multi interface USB module

Lots of evolutions since the first version.
PCB is not very different, software has been updated, it runs on RT 3.1.x

Full topic is here: http://rusefi.com/forum/viewtopic.php?f=13&t=1240

Since a video is worth a thousand words:
https://www.youtube.com/watch?v=rAnS-8KSQrY
by mobyfab
Mon May 08, 2017 3:04 pm
Forum: User Projects
Topic: STM32 CubeMX to ChibiOS board file generator
Replies: 28
Views: 11905

Re: STM32 CubeMX to ChibiOS board file generator

See post above You will get a .h file with all the gpio configuration and some defines to help use the I/Os. Just include this file in your board.h after deleting the gpio config. I use it here: https://github.com/fpoussin/MotoLink/tree/master/code/common I added the script here: https://github.com/...
by mobyfab
Thu Apr 27, 2017 11:19 pm
Forum: User Projects
Topic: STM32 CubeMX to ChibiOS board file generator
Replies: 28
Views: 11905

Re: STM32 CubeMX to ChibiOS board file generator

Generated an .exe for windows users that don't want to install python:

https://www.dropbox.com/s/6jlsojdmclz61 ... d.exe?dl=0
by mobyfab
Thu Apr 27, 2017 7:36 pm
Forum: User Projects
Topic: STM32 CubeMX to ChibiOS board file generator
Replies: 28
Views: 11905

Re: STM32 CubeMX to ChibiOS board file generator

It's done! https://gist.github.com/fpoussin/3317dc197ef0857294f0 You will need the GPIO definition file from STM32CubeMX and the jinja2 python module. (use pip to install it) I'll try to make an executable for windows users using py2exe. usage: mx2board.py [-h] [-g GPIO] [-b PROJECT] [-o OUTPUT] Gen...
by mobyfab
Thu Apr 20, 2017 3:10 pm
Forum: General Support
Topic: OpenOCD ChibiOS support issues
Replies: 2
Views: 1105

Re: OpenOCD ChibiOS support issues

Update: It works after restarting GDB but keeping OpenOCD running, after successful detection. LTO works as well. So basically you need 0.10.0 in order for it to work, and you need to run GDB twice because it crashes once. Maybe you want to try and update the wiki. https://s23.postimg.org/w0wdiaksn/...
by mobyfab
Thu Apr 20, 2017 2:54 pm
Forum: General Support
Topic: OpenOCD ChibiOS support issues
Replies: 2
Views: 1105

OpenOCD ChibiOS support issues

Hey, I'm trying to use OpenOCD's RTOS support for debugging, here's what I am getting: 0.9.0 Info : Successfully loaded memory map of ChibiOS/RT target running version 3.1.5 Error: ChibiOS registry integrity check failed, double linked list violation Info : Only showing current execution because of ...
by mobyfab
Thu Apr 13, 2017 2:53 pm
Forum: User Projects
Topic: STM32 CubeMX to ChibiOS board file generator
Replies: 28
Views: 11905

Re: STM32 CubeMX to ChibiOS board file generator

I got error, what does it mean ? Missing Peripheral: S_TIM2_CH2 at PA1 Missing Peripheral: S_TIM2_CH2 at PA1 Missing Peripheral: S_TIM2_CH2 at PA1 Missing Peripheral: S_TIM2_CH2 at PA1 Missing Peripheral: S_TIM2_CH2 at PA1 Missing Peripheral: S_TIM2_CH2 at PA1 It means it cannot find the peripheral...

Go to advanced search