Search found 6 matches

by johnisenglish
Fri May 09, 2014 1:24 am
Forum: STM32 Support
Topic: STM32F303CBT6 ChibiOS support
Replies: 10
Views: 6540

Re: STM32F303CBT6 ChibiOS support

You were, of course, correct. It turns out that my board had the boot0 pin pulled low by default, instead of high. The programming utility would write to flash and verify, but complete process would fail. I fixed this in hardaware, and now everything behaves as it should (including the oscillator ...
by johnisenglish
Tue May 06, 2014 7:10 pm
Forum: STM32 Support
Topic: STM32F303CBT6 ChibiOS support
Replies: 10
Views: 6540

Re: STM32F303CBT6 ChibiOS support

It looks like the STM32F373 eval board does use an external clock. The mcuconf.h files for that demo, and the stm32f303 discovery board demo look very similar. I believe the relevant defines for clock configuration are:

#define STM32_NO_INIT FALSE
#define STM32_PVD_ENABLE FALSE
#define STM32_PLS ...
by johnisenglish
Tue May 06, 2014 6:10 pm
Forum: STM32 Support
Topic: STM32F303CBT6 ChibiOS support
Replies: 10
Views: 6540

Re: STM32F303CBT6 ChibiOS support

It appears that you are correct! I tested the same code, using my work computer, and qstlink2 doesn't have the same "LIBUSB_ERROR_TIMEOUT" that I was experiencing last night. It successfully programs on my work computer, using the syntax: "qstlink2 -cli --write --verify ./build/ch.bin."

Regarding ...
by johnisenglish
Tue May 06, 2014 8:53 am
Forum: STM32 Support
Topic: STM32F303CBT6 ChibiOS support
Replies: 10
Views: 6540

Re: STM32F303CBT6 ChibiOS support

It's taken me a while to get an STLink V2 debugger setup with GDB - I've had final exams with grad school to contend with. Fortunately, I've had some time today to revisit this (I also switched to the STM32F303CCT6, for more flash memory)

I've found that I can get example programs for the F3 ...
by johnisenglish
Sat Apr 19, 2014 6:38 am
Forum: STM32 Support
Topic: STM32F303CBT6 ChibiOS support
Replies: 10
Views: 6540

Re: STM32F303CBT6 ChibiOS support

Thank you for your response.

I've created new board directory with modified versions of board.c, board.h, and board.mk. I've also verified that the clock settings match. So far my changes will still run on the F3-discovery board, but not the F303CBT6.

Perhaps there is a problem in the HAL ...
by johnisenglish
Fri Apr 18, 2014 6:44 pm
Forum: STM32 Support
Topic: STM32F303CBT6 ChibiOS support
Replies: 10
Views: 6540

STM32F303CBT6 ChibiOS support

Hello!

I'm working on a ChibiOS application for the STM32F303CBT6, but thus far I haven't been able to get a binary to run on the microcontroller. The CBT6 is a 48-pin variant of the F303, with 32K of RAM, rather than 40K.

I've begun by using the demo under /ARMCM4-STM32F303-DISCOVERY/, testing on ...