Skip to main content
20 events
when toggle format what by license comment
Jul 3, 2018 at 15:03 vote accept Quint van Dijk
Jun 26, 2018 at 16:05 answer added ilg timeline score: 0
Jun 20, 2018 at 15:27 comment added pgvoorhees You can post your top-level project settings. There are a lot of them that need to be checked. But, I would focus on your linker section, make sure the script eclipse is using is the same as what make is using; I would also snapshot any build steps configs you've got and artifact settings. But at this point, your range of possibilities is starting to get wide.
Jun 20, 2018 at 15:20 comment added Quint van Dijk So I just turned on all the warnings (except "Generate errors instead of warnings"). Now the program doesn't compile anymore, get loads of: "linker input file unused because linking not done". Could this be the problem? (Is something I will certainly take a look at, doesn't seem good anyway)
Jun 20, 2018 at 15:06 comment added Quint van Dijk @gregb212 flashing works fine when I use JLinkExe.
Jun 20, 2018 at 15:05 comment added Quint van Dijk @pgvoorhees I have exactly the same settings as you have.
Jun 20, 2018 at 15:01 comment added gregb212 Try using jflash to download the flash contents and verify it is flashing as expected.
Jun 20, 2018 at 14:55 comment added pgvoorhees You may have Eclipse project errors you suppressed. In which case it is possible you are launching and simply attaching to the running program. Go in to eclipse prefs and check to make sure this is set: imgur.com/a/s39aUok
Jun 20, 2018 at 14:49 comment added Quint van Dijk Will look into that, thanks. Just to be sure; when I flash the program with the "original" makefile it works fine (command is shown in the question)
Jun 20, 2018 at 14:48 history edited Quint van Dijk CC BY-SA 4.0
added 36 characters in body
Jun 20, 2018 at 14:40 comment added pgvoorhees Settings look sane. I would check what your flash write protection status is. The relevent Ref Manual section is 8.4.8.3. The TLDR is that you will check the "FSR" (Flash status register: 8.7.3.1) to see if the write protect bits are high (Bits 21, 22, 23). If they are, you'll have to research about unlocking them.
Jun 20, 2018 at 14:14 history edited Quint van Dijk CC BY-SA 4.0
added 70 characters in body
Jun 20, 2018 at 14:14 comment added Quint van Dijk Done; see this album: imgur.com/a/O0np0r7
Jun 20, 2018 at 14:10 comment added Eugene Sh. Actually I see some Verify failed lines
Jun 20, 2018 at 14:05 comment added pgvoorhees Post screenshots of your debugging setup. Take pictures of each tab in the debug configuration
Jun 20, 2018 at 13:50 comment added Quint van Dijk I clarified the question a bit: The old program is still running on the MCU, not the new one. So it looks like it's not flashing correctly
Jun 20, 2018 at 13:49 history edited Quint van Dijk CC BY-SA 4.0
a program runs, only not the right one
Jun 20, 2018 at 13:37 comment added Eugene Sh. Looks OK to me. The control is transferred to the flashed program. What do you expect it to do?
Jun 20, 2018 at 13:34 review First posts
Jun 20, 2018 at 13:43
Jun 20, 2018 at 13:32 history asked Quint van Dijk CC BY-SA 4.0