Q: about start addresses 0x8000000 > 0x08003000

More
24 Sep 2013 00:07 #14024 by SadSack
Well I broke my walkera loader...bugger. Well I have it running fine less loader. I can flash code using STLink to 0x8000000 doing that will not work so flash again @ 0x8003000 without erasing flash. Then i go to Target/MCU core and click 'Reset' that shows running. Disconnect and power TX as normal and will boot up fine.
Now using ST built in bootloader and usb serial i can not do as above. I can download whole flash area and upload that and works fine but unless you have STlink you ain't going to able to do that.

So is it possible to compile code so it runs from 0x08000000 with minor changes ?

This i noticed but no idea if its anything to worry about.
bitbucket.org/PhracturedBlue/deviation/s...o7e/crc.c?at=default

deviation / src / target / devo7e / crc.c
unsigned char __attribute__((section(".crc"))) CRC[] = {
        0x00,0x00,0x00,0x00,
        0x00,0x00,0x00,0x00,
        0x00,0x00,0x00,0x00,
        0x00,0x00,0x00,0x00,
        0x00,0x00,0x00,0x00 };

all other devo's 6/8/10/12 it's this
unsigned char __attribute__((section(".crc"))) CRC[] = {
        0x63,0x4A,0x73,0xC5,
        0x03,0xB4,0x02,0xB9,
        0xB4,0x17,0x53,0xD1,
        0xB2,0xE7,0x22,0xCD,
        0x22,0x7C,0x41,0xAE };
should it be changed ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.040 seconds
Powered by Kunena Forum