We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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