[fpc-pascal] Variable alignment in arm-embedded
anton at riecktron.co.za
Wed Jun 13 12:45:54 CEST 2012
Koenraad Lelong-2 wrote
> About that DFU-loader, do you have to do anything special to be able to
> use fpc, besides modifying your start-address ? Any links to read more
> about it ?
> Now I'm using jtag to flash and debug my software.
I'm using "DfuSe USB device firmware upgrade STMicroelectronics extension"
from ST. You can download it from this link.
I compiled the project with IAR, got a HEX file that I uploaded to my
microcontroller using a STLink2 (JTAG).
Now when you hold the button and power up the micro, it will enter bootload
mode and allow you to upload new firmware via the USB. The only requirement
is that your new project will start at 0x08003000 since the bootloader
resides at the beginning.
As from a FPC view, you only need to change the flash stat offset as I had
The link I posted has all the required software, docs and drivers you will
Please ask if you have any other questions.
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Variable-alignment-in-arm-embedded-tp5709962p5710044.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal