Matan Hasan

Problem burning program to MCU in KDS

Discussion created by Matan Hasan on Apr 1, 2018
Latest reply on Apr 4, 2018 by Matan Hasan

hi!
I want to burn to my MCU, bootloader + main program from KDS.
I successfully burned my bootloader, but when i tried to burn the program, it failed ("J-Link GDB Server failed: Could not connect to target. Please check if target is powered and if ribbon cable is plugged properly.").

 

i think it might be an error in my MEMORY config (interrupts+text etc..)
my bootloader memory:
    m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x000001E8
   m_text (RX) : ORIGIN = 0x00000410, LENGTH = 0x000FFBF0
   m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000
   m_data_20000000 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00010000
   m_cfmprotrom (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010

my main prog memory:
    m_interrupts (RX) : ORIGIN = 0x00004000, LENGTH = 0x000001E8
   m_text (RX) : ORIGIN = 0x000041E8, LENGTH = 0x000FBE18
   m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000
   m_data_20000000 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00010000
   m_cfmprotrom (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010

 

thank you for your help.

Outcomes