Hello ARM Community,We are trying to use Keil with GCC toolchain.Compiling, debugging, all is working well.Except 2 things:- code browsing (not the point of this thread)- flash programmingThe target programming is done using a Segger J-Link.
While in normal Keil config (ARMCC) the integrated J-Link driver handle the programming flawlessly, in GCC context the J-Link driver is less able: the flashing sequence is performed by at the wrong address, thus the flashing is not effective.We have not yet figured where the wrong address comes from: the driver try at 0x08055000 instead of the wanted 0x08008000, in our case.Our current workaround is to flash via the option "Use External Tool" with a bit of JLink Commander scripting, but doing this way is less practical in dev/debug situation because we can't use the automated flash-before-debug option, each step must be done manually.Did someone already solved this kind of situation?Any idea is welcome.Thanks
Well, then it is difficult to comment further without being able to reproduce this. Can you send the file you try to flash? You can also open a support case for that if you don't want to share this here.