Search found 101 matches

by rubenswerk
Sat Jul 06, 2019 8:38 pm
Forum: ChibiOS/RT
Topic: CORTEX_VTOR_INIT
Replies: 15
Views: 2597

Re: CORTEX_VTOR_INIT

This post solved my problem:

http://www.chibios.com/forum/viewtopic.php?t=4767#p33503

After resetting the SysTick, it works!
by rubenswerk
Mon Jul 01, 2019 3:17 pm
Forum: ChibiOS/RT
Topic: CORTEX_VTOR_INIT
Replies: 15
Views: 2597

Re: CORTEX_VTOR_INIT

Hello, I successfully used CORTEX_VTOR_INIT macro in old ChibiOS version to relocate vector table in a bootloader/application project (STM32F4). Now I want to upgrade to actual ChibiOS. According to this thread, it should be enough to set flash location in linker script: flash0 : org = 0x08008000, l...
by rubenswerk
Fri Jun 28, 2019 9:28 pm
Forum: STM32 Support
Topic: ETH RAM region gone?
Replies: 2
Views: 115

Re: ETH RAM region gone?

I checked the RM and tried to understand the matrix picture, well I think at least I understood a part of it :-) Looks like we can avoid concurrent memory access when using this 16kB SRAM2 for MAC buffers. I added the following section to project specific linker script: .eth : { PROVIDE(_eth_start =...
by rubenswerk
Fri Jun 28, 2019 4:23 pm
Forum: STM32 Support
Topic: ETH RAM region gone?
Replies: 2
Views: 115

ETH RAM region gone?

Hello, in my several years old ChibiOS application (STM32F407), there was eth_ram region in the linker script. A 16k block located at 0x2001c000. According to the map file, this block was exclusively used by mac_lld.o, and nearly all of the 16kB were used. In actual ChibiOS linker script, this regio...
by rubenswerk
Sun Jun 23, 2019 10:43 am
Forum: STM32 Support
Topic: Put constant value into interrupt vector table
Replies: 2
Views: 121

Re: Put constant value into interrupt vector table

Hello Giovanni, this is quite close to what I'd like to have. Unfortunately, the assembler does not allow even values as symbol. If I do --defsym=Vector100=0x12345678 the assembler (or linker?) puts 0x12345679 (uneven address) into the vector table. I can disable this behaviour if I remove: Vector10...
by rubenswerk
Sat Jun 22, 2019 11:52 pm
Forum: STM32 Support
Topic: Put constant value into interrupt vector table
Replies: 2
Views: 121

Put constant value into interrupt vector table

Hello, I would like to put a constant value into STM32 interrupt vector table. Usually, the table consists of weak symbols named VectorXXX, which are pointers to the ISR. However, I want to put a constant 32 bit number into an unused vector, for example Vector100. I know from software architecture p...
by rubenswerk
Sun Jun 03, 2018 11:54 am
Forum: General Support
Topic: RT-STM32-LWIP-FATFS-USB demo stuck in LOCK_TCPIP_CORE
Replies: 1
Views: 632

RT-STM32-LWIP-FATFS-USB demo stuck in LOCK_TCPIP_CORE

Hello, it's some time ago that I was working with ChibiOS - it was version 2.6.x :oops: Now I want to start with a new project, and for the first try, I wanted to run the demo RT-STM32-LWIP-FATFS-USB in ChibiOS 18.2.1. Since I do not have one of the supported boards, I created my own board.c/.h base...
by rubenswerk
Fri Jun 19, 2015 8:47 am
Forum: STM32 Support
Topic: DMA priorities
Replies: 2
Views: 803

Re: DMA priorities

Hello, I checked DMA registers at runtime, the priorities seem to be correct. I also moved SPI1 to a higher DMA stream number (lower hardware priority), but it makes no difference. I will try to move SD card to SPI2 or SPI3 which are located on DMA1 instead of DMA2, but this will take some time due ...
by rubenswerk
Thu Jun 18, 2015 3:13 pm
Forum: STM32 Support
Topic: DMA priorities
Replies: 2
Views: 803

DMA priorities

Hello, I'm working on a WS2812 LED project. The LEDs are driven by a STM32F4 which writes to the IO port at 2.4MHz via DMA2, resulting in 2.4MB/s data throughput. I receive the control data for the LEDs via Ethernet. Everything works fine. Now I want to switch from Ethernet to SD card as signal sour...
by rubenswerk
Fri Sep 26, 2014 8:16 am
Forum: STM32 Support
Topic: how to configure 16-bit GPIOE port for DMA access
Replies: 6
Views: 2628

Re: how to configure 16-bit GPIOE port for DMA access

Thanks John, I found it last night somewhere in the ST forum.
You're right, DMA2 is able to access GPIO, but DMA1 is not!
In my case, I use TIM8 as trigger time base - seems to work now.

Yes, I'm feeding several WS2811 datastreams in parallel to have high update rate for LEDs.

Go to advanced search