This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

eclipse include path added, but still can't find nrf_error.h?

I am able to use eclipse to run simple project, but after move the real one, getting lost of errors:

www.dropbox.com/.../Screenshot 2014-04-02 09.10.41.png

I add required include path include/s110, but still complain can't find it,

any helps are appreciated

Parents Reply Children
  • You need to remove gcc_startup and your sections.ld if you want to use mine but not both at same time.

  • very strange, I can only comment, can't reply, reply will not show up

  • after I set back to windows, and switch back, the debugger works now

    SWO disabled succesfully. ERROR: Could not detect CPU clock speed. Verification of test code downloaded into RAM failed.

    Failed to enable SWO. Could not measure target CPU frequency. Read 4 bytes @ address 0x00012B98 (Data = 0x681B4B15) Downloading 16192 bytes @ address 0x00014000 - Verify failed Downloading 15968 bytes @ address 0x00017F40 - Verify failed Downloading 16160 bytes @ address 0x0001BDA0 - Verify failed Downloading 16096 bytes @ address 0x0001FCC0 - Verify failed Downloading 16080 bytes @ address 0x00023BA0 - Verify failed Downloading 16176 bytes @ address 0x00027A70 - Verify failed Downloading 12208 bytes @ address 0x0002B9A0 - Verify failed Downloading 68 bytes @ address 0x0002E950 - Verify failed Downloading 8 bytes @ address 0x0002E994 - Verify failed Downloading 2396 bytes @ address 0x0002E99C - Verify failed Writing register (PC = 0x0002e951) Read 4 bytes @ address 0x0002E950 (Data = 0xFFFFFFFF) Read 4 bytes @ address 0xFFFFFFFF (Data = 0x001C4800) Read 4 bytes @ address 0xFFFFFFFF (Data = 0x001C4800) Resetting target Halting target CPU... ...Target halted (PC = 0x00012B98) R0 = FFFFFFFF, R1 = FFFFFFFF, R2 = FFFFFFFF, R3 = FFFFFFFF R4 = FFFFFFFF, R5 = FFFFFFFF, R6 = FFFFFFFF, R7 = FFFFFFFF R8 = FFFFFFFF, R9 = FFFFFFFF, R10= FFFFFFFF, R11= FFFFFFFF R12= FFFFFFFF, R13= 20001C48, MSP= 20001C48, PSP= FFFFFFFC R14(LR) = FFFFFFFF, R15(PC) = 00012B98 XPSR C1000000, APSR C0000000, EPSR 01000000, IPSR 00000000 CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00 Reading all registers Read 4 bytes @ address 0x00012B98 (Data = 0x681B4B15) Starting target CPU... Debugger requested to halt target... ...Target halted (PC = 0x0000FE3E) Reading all registers Read 4 bytes @ address 0x0000FE3E (Data = 0xBF20BF40) Read 4 bytes @ address 0x0000016A (Data = 0x9801B401) Read 4 bytes @ address 0x0000016A (Data = 0x9801B401)

    however, it can't stop at any break point, the board seems ok to run, just can't stop https://www.dropbox.com/s/v1xe3gvz8hm1w9t/Screenshot%202014-04-10%2017.08.08.png

Related