I'm a research fellow at Second University of Naples and I have written a ChibiOS based software to control several types of UAV (drones).
Until now, I have used the Stm32F3 Discovery with onboard sensors and the results are very good.
Now, I want to try the sensors on another famous board, called Aeroquad32. This is a STM32F407 based board that I have to flash by using DFU and the maple bootloader. Is it possible with ChibiOS?
I have written a small sample application with only ChibiOS initialization and a thread to turn a led on and off with a delay. As read on other posts, I have added the
Code: Select all
#define CORTEX_VTOR_INIT 0x00010000Code: Select all
MEMORY
{
flash (rx) : org = 0x08010000, len = 960k
ram (rwx) : org = 0x20000C00, len = 112k
}
I think that the address 0x08010000 is correct because to flash the board with the original software I have to use dfu-util with
Code: Select all
--dfuse-address 0x08010000The aeroquad bootloader is flashed at 0x08000000 and at start (when I connect the board) it goes into an infinite loop without starting my code.
What is wrong? I checked my code, by flashing an stm32f4 discovery, changing only the flash (and vector) address to 0x08000000 and it works.
I hope I have been able to explain the problem.
Thank you in advance,
Egidio