Hi hopefully you have resolved your issue, but just in case I use :-
Board.h file
#define VAL_GPIODCRL (PIN_INPUT(0) | /* CAN RX. */ \
PIN_ALTERNATE_PP_50(1) | /* CAN TX. */ \
My board also required a remap from the Default pins as below
Init section in Main.c
AFIO->MAPR |= AFIO_MAPR_CAN_REMAP ...
Search found 5 matches
- Thu May 11, 2017 9:37 am
- Forum: ChibiOS/HAL
- Topic: STM32F103 CAN
- Replies: 2
- Views: 2999
- Fri Oct 21, 2016 3:20 pm
- Forum: General Support
- Topic: Changing Oscillator for Flash Programming
- Replies: 1
- Views: 1958
Changing Oscillator for Flash Programming
Hi,
I have the need to store calculated values, I decided I would use a Page of the Flash Memory on the STM32F103VCT
I realise all Threads/Drivers/VTimers etc need to be stopped, I was hoping I could stop, do the Flashing and start the OS and carry on.
After a lot of head scratching I read the ...
I have the need to store calculated values, I decided I would use a Page of the Flash Memory on the STM32F103VCT
I realise all Threads/Drivers/VTimers etc need to be stopped, I was hoping I could stop, do the Flashing and start the OS and carry on.
After a lot of head scratching I read the ...
- Fri Oct 21, 2016 2:59 pm
- Forum: General Support
- Topic: shell halting when code size gets too big
- Replies: 13
- Views: 9860
Re: shell halting when code size gets too big
Hi,
I resolved this issue many weeks ago but have another question on different subject but just to complete this one.
I identified I was actually running out of RAM, I used chCoreGetStatusX() to find out the free Heap size.
I changed the device so I have more RAM 48kb.
Forgive my ignorance but is ...
I resolved this issue many weeks ago but have another question on different subject but just to complete this one.
I identified I was actually running out of RAM, I used chCoreGetStatusX() to find out the free Heap size.
I changed the device so I have more RAM 48kb.
Forgive my ignorance but is ...
- Mon Sep 12, 2016 11:56 am
- Forum: General Support
- Topic: shell halting when code size gets too big
- Replies: 13
- Views: 9860
Re: shell halting when code size gets too big
PS I am using Build 16.1.0
- Thu Sep 08, 2016 12:22 pm
- Forum: General Support
- Topic: shell halting when code size gets too big
- Replies: 13
- Views: 9860
Re: shell halting when code size gets too big
Hi all, I know this is an old thread, but did you resolve the issue ?
As I have a similar issue whereby I have an Array that is used to store values for RGB LED's this is then passed to the
DMA Stream and sent out on a PWM pin.
All is working well until I increase the size of the Array - the size ...
As I have a similar issue whereby I have an Array that is used to store values for RGB LED's this is then passed to the
DMA Stream and sent out on a PWM pin.
All is working well until I increase the size of the Array - the size ...