On a STM32G431K8 I'm using the DMA1 to handle SPI1 data transfer (channel 1 for data receiption and channel 2 for data transmission).I'm using STM32CubeMX for code generation, resulting in following SPI1 and DMA1 initialization:/**
* @brief SPI1 In...
Posted on April 24, 2013 at 16:11
Hi together,
I'm writing a application for a STM8S207C8 (64k flash).Currently my code needs 50kB of the flash,
what means that the ''magic'' address 0xFFFF is crossed.
Therefore I use the compile...
> I don't know. Check SCB->VTOR.Thank you for this useful hint.I've checked it and it was 0x00000000.Meanwhile looking for SCB->VTOR, I've found following code snippets in file system_stm32g4xx.c:#if defined(USER_VECT_TAB_ADDRESS)
/*!< Uncomment the ...
The interrupt "sequence" is to start from scratch at power-on.Then I enable DMA1_Channel1_IRQn and DMA1_Channel2_IRQn.Afterwards I enable TansmissionComplete and TransmissionError interrupts for DMA1 Channel 1 & 2.At the end of the configuration phas...
> This is in the system ROM area, a.k.a. bootloader. Check your BOOT0 pin and setting of the relevant option bits.The BOOT0 pin is connected to GND, so the device will boot from flash.What could be the reason, that in my application the bootloader wi...
> Well then probably it is. Where is the program counter?The program counter is at 0x1FFF4B30.What does this mean? It is not a "normal" program address...> Never trust source code - processor executes binary, not the source code. Have a look at the v...