AnsweredAssumed Answered

No source available for "g_pfnVectors() at 0x0" error when programming MKV11Z64VLH7

Question asked by Zbyšek Voda on Feb 16, 2020
Latest reply on Feb 23, 2020 by Zbyšek Voda

Hi guys,

I am using MCUXpresso (on MacOS) and Multilink FX (Rev. A) to program MKV11Z64VLH7 chip.

My circuit schematics is shown on image bellow.

I have created blank project, using only GPIO drivers. I haven't modified it at all.

The package is set to MKV11Z64VLH7, project type is "C Project". 

I have disabled semihosting.

 

It seems, that I am able to upload code to chip, but it sometimes fails with 

No source available for "g_pfnVectors() at 0x0"

errror. This error seems to occur kind of randomly. Sometimes it occurs after debug session start, sometimes in the middle of program. I can't determine exact spot in program.

I have set breakpoint to "i++" command.

Sometime I am able to run through this line few times (usualy not more than 10x) before mentioned error occurs.

 

Console listing:

Connection from "127.0.0.1" via 127.0.0.1. Connection from port "52839" to 6224
Connection from "127.0.0.1" via 127.0.0.1. Connection from port "52840" to 7224
Searching for FreeRTOS Kernel Symbols...
rsp_qC - qSymbol: 707843757272656E74544342
pxCurrentTCB not found. FreeRTOS analysis not enabled.
Copyright 2018 P&E Microcomputer Systems,Inc.
Command Line :

CMD>RE

Initializing.
Target has been RESET and is active.
CMD>CM /Applications/MCUXpressoIDE_11.1.0_3209/ide/plugins/com.pemicro.debug.gdbjtag.pne_4.4.1.201911122108/osx/gdi/P&E/supportFiles_ARM/NXP/KVx/freescale_kv11z64m7_1x32x16k_pflash.arp

Initializing.
Initialized.

;version 1.03, 05/18/2017, Copyright 2017 P&E Microcomputer Systems, Inc. All rights reserved. www.pemicro.com [kv_10z64_n_pflash_m0]

;device freescale, kv11z64m7, 1x32x16k, desc=pflash

;begin_cs device=$00000000, length=$00010000, ram=$20000000

Loading programming algorithm ...

WARNING - Selected .ARP file has been modified. CRC16 = $DC71
Done.
Programming sequency is : erase, blank check, program, and verify {default}
CMD>VC
Verifying object file CRC-16 to device ranges ...
block 00000000-00000C93 ...
Ok.
Checksum Verification Successful. (Cumulative CRC-16=$3172)
Application verified in memory. No need to reprogram.

CMD>RE

Initializing.
Target has been RESET and is active.
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Could not write breakpoint to hardware.

Error removing BP @fffffffe
Error setting BP @ffffffff
Error Setting Hardware BP @420
Warning - Not all breakpoints could be written.
Error removing BP @420
Error removing BP @fffffffe
Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "52839" from 6224
Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "52840" from 7224
Target Disconnected.

Debugger console listing:

GNU gdb (GNU Tools for Arm Embedded Processors 8-2019-q3-update) 8.3.0.20190703-git

Copyright (C) 2019 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

Type "show copying" and "show warranty" for details.

This GDB was configured as "--host=x86_64-apple-darwin10 --target=arm-none-eabi".

Type "show configuration" for configuration details.

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>.

Find the GDB manual and other documentation resources online at:

    <http://www.gnu.org/software/gdb/documentation/>.

 

For help, type "help".

Type "apropos word" to search for commands related to "word".

monitor preserve0 0

monitor selectcore 0

continue

Continuing.

Note: automatically using hardware breakpoints for read-only addresses.

 

Temporary breakpoint 3, main () at ../source/MKV11Z64xxx7_Project.c:49

49 BOARD_InitBootPins();

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Breakpoint 2, main () at ../source/MKV11Z64xxx7_Project.c:56

56         i++ ;

 

Program received signal SIGTRAP, Trace/breakpoint trap.

0x00000000 in g_pfnVectors ()

 

I am kind of new to the Kinetis world.

I have tried to search for this issue online, but none of the tips helped me.

I have added whole project in attachment.

 

Could you give me some advices, how to solve this issue?

Thank you!

Attachments

Outcomes